summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-12-23 06:36:14 +0100
committerHans de Graaff <graaff@gentoo.org>2020-12-23 06:53:03 +0100
commit25427c682b9afc1b90d7851a6f24abc5efe50d0f (patch)
treee8f56eb0ebab85e0f1c21623cdcc84badf024c33 /dev-ruby
parentdev-ruby/did_you_mean: add 1.5.0 (diff)
downloadgentoo-25427c682b9afc1b90d7851a6f24abc5efe50d0f.tar.gz
gentoo-25427c682b9afc1b90d7851a6f24abc5efe50d0f.tar.bz2
gentoo-25427c682b9afc1b90d7851a6f24abc5efe50d0f.zip
dev-ruby/docile: add 1.3.4
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/docile/Manifest1
-rw-r--r--dev-ruby/docile/docile-1.3.4.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/docile/Manifest b/dev-ruby/docile/Manifest
index 70955e28ea09..40963eebb4b8 100644
--- a/dev-ruby/docile/Manifest
+++ b/dev-ruby/docile/Manifest
@@ -1,2 +1,3 @@
DIST docile-1.3.2.tar.gz 14684 BLAKE2B f24ce3ae857d249ce2fc32bcefa505b272327962755e000e51dd13531ad81a039c1da0e97774752cc03444fc3f44fa12212bbe61ff7886ebf5d44076785db3df SHA512 6bba8e8855e43acc3ad314ca500896b861865e4470618f98e720a11a26e226e30d8748096638027e213eeb54838fd1c3b2c9749701476d26cf8bc55c82c4f3ce
DIST docile-1.3.3.tar.gz 15752 BLAKE2B 290af9553aba4b8b6ab058a1b1dbc4a36e840b3dc11e97db08408230679ab1095a5f6c03b133d9c02d2c1c9be75cf4d5cfa525bf5bd3c0705993df975ef152f3 SHA512 64e4f45616135f2089ecdb7282b7d1bed61cc5a1c8fa37e5ea70d8141d364760c62e06c650359d9cc107088fcfe4837d6bf35b492bd81c0207b037aa67d1d114
+DIST docile-1.3.4.tar.gz 15726 BLAKE2B 93f37266dc7fe80f8d3863ac7c5293dbd0432a5917f4ab134a1ceea4bdfb40a6af2e045db0b690fa3ef2590f2c781ea003ca482521e271e21ee50aa95aa9a30c SHA512 4e191f0cc374a429a1bb3297c1baf1d337918a475c783a12ac4e4c5de8cc941d440c85d31f2d226736c9fe88c52698b54bd9897be9b497e96eaceef73a6f0f56
diff --git a/dev-ruby/docile/docile-1.3.4.ebuild b/dev-ruby/docile/docile-1.3.4.ebuild
new file mode 100644
index 000000000000..41f1cd91fffe
--- /dev/null
+++ b/dev-ruby/docile/docile-1.3.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+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
+}