dev-ruby/docile: add 1.3.2
authorHans de Graaff <graaff@gentoo.org>
Thu, 13 Jun 2019 05:13:30 +0000 (07:13 +0200)
committerHans de Graaff <graaff@gentoo.org>
Thu, 13 Jun 2019 05:13:30 +0000 (07:13 +0200)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

dev-ruby/docile/Manifest
dev-ruby/docile/docile-1.3.2.ebuild [new file with mode: 0644]

index e0d9fa34f9a6f854517c81f8be889052cfd8e6fa..b81079f33d8ac001d3116d72b70107b3e3dffaeb 100644 (file)
@@ -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 (file)
index 0000000..48f01d8
--- /dev/null
@@ -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
+}