From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A6464138334 for ; Mon, 4 Nov 2019 18:34:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65392E08BF; Mon, 4 Nov 2019 18:34:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3880FE0919 for ; Mon, 4 Nov 2019 18:34:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ACD1234C889 for ; Mon, 4 Nov 2019 18:34:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AA02F8A8 for ; Mon, 4 Nov 2019 18:34:01 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1572892386.29a00452987a7b9b52cd4876e3f9cf462d664962.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/slim/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/slim/slim-3.0.9-r1.ebuild dev-ruby/slim/slim-4.0.1-r1.ebuild X-VCS-Directories: dev-ruby/slim/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 29a00452987a7b9b52cd4876e3f9cf462d664962 X-VCS-Branch: master Date: Mon, 4 Nov 2019 18:34:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c84984a1-6698-464b-9769-9f9fce490f4c X-Archives-Hash: 1c875648ec44ec8a56fc3a7f18f835e1 commit: 29a00452987a7b9b52cd4876e3f9cf462d664962 Author: Hans de Graaff gentoo org> AuthorDate: Mon Nov 4 18:32:45 2019 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Nov 4 18:33:06 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29a00452 dev-ruby/slim: fix file collision Fixes: https://bugs.gentoo.org/665714 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/slim/slim-3.0.9-r1.ebuild | 52 ++++++++++++++++++++++++++++++++++++++ dev-ruby/slim/slim-4.0.1-r1.ebuild | 51 +++++++++++++++++++++++++++++++++++++ 2 files changed, 103 insertions(+) diff --git a/dev-ruby/slim/slim-3.0.9-r1.ebuild b/dev-ruby/slim/slim-3.0.9-r1.ebuild new file mode 100644 index 00000000000..28b1bf6d333 --- /dev/null +++ b/dev-ruby/slim/slim-3.0.9-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_TASK_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A template language aiming to reduce the syntax to the essential parts" +HOMEPAGE="http://slim-lang.com/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +SLOT="0" +IUSE="doc" + +ruby_add_rdepend ">=dev-ruby/tilt-1.3.3:* =dev-ruby/temple-0.7.6:0.7" + +ruby_add_bdepend "doc? ( dev-ruby/yard dev-ruby/redcarpet )" + +ruby_add_bdepend "test? ( dev-ruby/redcarpet dev-ruby/sass )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # This sinatra code expects tests to be installed but we strip those. + sed -i -e "s/require 'sinatra'/require 'bogussinatra'/" Rakefile || die + + # Avoid tests for things we don't have. The builder test does not pass with tilt 2.x + sed -i -e '/test_wip_render_with_asciidoc/,/^ end/ s:^:#:' \ + -e '/test_render_with_wiki/,/^ end/ s:^:#:' \ + -e '/test_render_with_creole/,/^ end/ s:^:#:' \ + -e '/test_render_with_builder/,/^ end/ s:^:#:' \ + -e '/test_render_with_org/,/^ end/ s:^:#:' test/core/test_embedded_engines.rb || die + + sed -i -e '/s\.files/ s/git ls-files/find . -type f -print/' \ + -e '/s\.executables/ s:git ls-files -- bin/\*:find bin -type f -print:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + sed -i -e '/Open3/ s:ruby:'${RUBY}':' test/core/test_commands.rb || die +} diff --git a/dev-ruby/slim/slim-4.0.1-r1.ebuild b/dev-ruby/slim/slim-4.0.1-r1.ebuild new file mode 100644 index 00000000000..4e71e1931b4 --- /dev/null +++ b/dev-ruby/slim/slim-4.0.1-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_TASK_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit eapi7-ver ruby-fakegem + +DESCRIPTION="A template language aiming to reduce the syntax to the essential parts" +HOMEPAGE="http://slim-lang.com/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +SLOT="$(ver_cut 1)" +IUSE="doc" + +ruby_add_rdepend ">=dev-ruby/tilt-2.0.6:* =dev-ruby/tilt-2.0*:* + >=dev-ruby/temple-0.7.6:0.7 + !!