summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-12-31 07:50:47 +0100
committerHans de Graaff <graaff@gentoo.org>2019-12-31 07:50:47 +0100
commitee17e88a731c248e847bd85bc1e8a711a23e74ec (patch)
treeeda7c24246054b44f9a8c5e8757502d76012c0ff /dev-ruby/rubypants
parentdev-ruby/parser: add 2.7.0.1 (diff)
downloadgentoo-ee17e88a731c248e847bd85bc1e8a711a23e74ec.tar.gz
gentoo-ee17e88a731c248e847bd85bc1e8a711a23e74ec.tar.bz2
gentoo-ee17e88a731c248e847bd85bc1e8a711a23e74ec.zip
dev-ruby/rubypants: add 0.7.1
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rubypants')
-rw-r--r--dev-ruby/rubypants/Manifest1
-rw-r--r--dev-ruby/rubypants/rubypants-0.7.1.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/rubypants/Manifest b/dev-ruby/rubypants/Manifest
index 0530af09ede9..2978d0a3801c 100644
--- a/dev-ruby/rubypants/Manifest
+++ b/dev-ruby/rubypants/Manifest
@@ -1 +1,2 @@
DIST rubypants-0.7.0.gem 13824 BLAKE2B c132b3c60390b712c08ec54b10a14255e21d9622399b9ddba8d2359915411c604052569e5713fdb4b1a3fefcc3416f4d5af16baca19063a0b79203838b8f3066 SHA512 cacd05e0cc87389b5513c83fe085db39202c2789b882b564caaded6b84b1ecb1acbde8232462dadf501c68c1c881ee7b7f4e640feec47c9c0f7a08758b5f5724
+DIST rubypants-0.7.1.gem 14336 BLAKE2B 6a2fd50f07e6eca0ee76a3f653fd378b9c389349a23bfa98cbf1be42e46a58cb76769e4f653bf83d72faa318be81b60920d0dbd900053f85489fe2c6a1a69a23 SHA512 48f04e621cefecb9911ee346ea9b4f185ee52a603f9a307d5424d314d3be88d0efda959a5654b5f532dfdd5af9ce2c0c6baceca4e09ad6d1471bf31c990e79bb
diff --git a/dev-ruby/rubypants/rubypants-0.7.1.ebuild b/dev-ruby/rubypants/rubypants-0.7.1.ebuild
new file mode 100644
index 000000000000..8b18df58341a
--- /dev/null
+++ b/dev-ruby/rubypants/rubypants-0.7.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_EXTRADOC="README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby port of the SmartyPants PHP library"
+HOMEPAGE="http://chneukirchen.org/repos/rubypants/README"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e '/ecov/I s:^:#:' test/helper.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -I. test/rubypants_test.rb || die "tests failed"
+}