diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-ruby/rubypants/rubypants-0.7.1.ebuild | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-ruby/rubypants/rubypants-0.7.1.ebuild')
-rw-r--r-- | dev-ruby/rubypants/rubypants-0.7.1.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
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..9f766aea0c21 --- /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="https://leahneukirchen.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" +} |