From: Hans de Graaff Date: Thu, 13 Jun 2019 05:13:30 +0000 (+0200) Subject: dev-ruby/docile: add 1.3.2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bd3e671efcc6b66b46f0b55d1cd451813af5e69c;p=gentoo.git dev-ruby/docile: add 1.3.2 Signed-off-by: Hans de Graaff Package-Manager: Portage-2.3.66, Repoman-2.3.11 --- diff --git a/dev-ruby/docile/Manifest b/dev-ruby/docile/Manifest index e0d9fa34f9a6..b81079f33d8a 100644 --- a/dev-ruby/docile/Manifest +++ b/dev-ruby/docile/Manifest @@ -1 +1,2 @@ DIST docile-1.3.1.tar.gz 14341 BLAKE2B c19b9e3ceb140018b199d9fc59eb64cd94f793a7eadf52562f970dcf302796f59329648506551874fd88c68b4b7da928a7af0cd1a00aa629315feb8d4d54fa2b SHA512 e04c5ad1da3b73b8d5f551a447cd63eb761d6c0c2887a73d0fffcfdd0e5e5d1991184b8d1ba242575708dd2234d96871ecb47fcd7bc6a4986441589cdea07dc2 +DIST docile-1.3.2.tar.gz 14684 BLAKE2B f24ce3ae857d249ce2fc32bcefa505b272327962755e000e51dd13531ad81a039c1da0e97774752cc03444fc3f44fa12212bbe61ff7886ebf5d44076785db3df SHA512 6bba8e8855e43acc3ad314ca500896b861865e4470618f98e720a11a26e226e30d8748096638027e213eeb54838fd1c3b2c9749701476d26cf8bc55c82c4f3ce diff --git a/dev-ruby/docile/docile-1.3.2.ebuild b/dev-ruby/docile/docile-1.3.2.ebuild new file mode 100644 index 000000000000..48f01d833575 --- /dev/null +++ b/dev-ruby/docile/docile-1.3.2.ebuild @@ -0,0 +1,31 @@ +# 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_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md" + +RUBY_FAKEGEM_GEMSPEC="docile.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Turns any Ruby object into a DSL" +HOMEPAGE="https://ms-ati.github.io/docile/" +SRC_URI="https://github.com/ms-ati/docile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/require \"github\/markup\"/d' Rakefile || die + sed -i -e '/^unless on/,/^end/ s:^:#:' spec/spec_helper.rb || die + + sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +}