diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-02 15:59:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-02 15:59:12 +0000 |
commit | 06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (patch) | |
tree | 8d58c1f4b049da677b33209b072f2b3057268fe0 /dev-ruby/rubypants/rubypants-0.7.0.ebuild | |
parent | 99abbc5e5a6ecd3fc981b45646fd8cb5d320377b (diff) |
gentoo resync : 02.03.2018
Diffstat (limited to 'dev-ruby/rubypants/rubypants-0.7.0.ebuild')
-rw-r--r-- | dev-ruby/rubypants/rubypants-0.7.0.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/rubypants/rubypants-0.7.0.ebuild b/dev-ruby/rubypants/rubypants-0.7.0.ebuild new file mode 100644 index 000000000000..f9412779f74f --- /dev/null +++ b/dev-ruby/rubypants/rubypants-0.7.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +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" +} |