diff options
Diffstat (limited to 'dev-ruby/test_declarative')
-rw-r--r-- | dev-ruby/test_declarative/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/test_declarative/test_declarative-0.0.5-r2.ebuild | 2 | ||||
-rw-r--r-- | dev-ruby/test_declarative/test_declarative-0.0.6.ebuild | 38 |
3 files changed, 42 insertions, 2 deletions
diff --git a/dev-ruby/test_declarative/Manifest b/dev-ruby/test_declarative/Manifest index b378ab639cc0..7756767650b0 100644 --- a/dev-ruby/test_declarative/Manifest +++ b/dev-ruby/test_declarative/Manifest @@ -1,3 +1,5 @@ DIST test_declarative-0.0.5.tgz 2114 BLAKE2B 6856e3bb734354f75298107e243bc461143176797e98d69f5c67a6d121a6556310d46d4676d32bbc5317d39e0c48fa4f4cff1cbeb3e31ec5834ed406d7cba33b SHA512 69641a56c38403a86a8562910aa5ab433476351cc0e5a1f2a640030bfb4f82b96bf724d911ce46ff75dfe934de50d6549304088ee85d5689990e0ce5d263c160 -EBUILD test_declarative-0.0.5-r2.ebuild 866 BLAKE2B 4c4233706bc20cd49f4644e148bc53813c13e80c149e775f7eae97ba746cfad149409e41f6afca95b3c3792d4b3df645b42043dfb60535c996000224b196137a SHA512 ea4e071866c1f19508acca569b6320abb36582fa15cb04e6a484ac9eaa8057fa119475750816527997790d837a4863dbd7419e8b7a8c611ac1875161e883553f +DIST test_declarative-0.0.6.tgz 3586 BLAKE2B de8e4b011de9ce0773e2c76887d6cf7d888c2f799a07e6dda024b301594edc37ccf2c386c366c0a13d81a1f0697fe7be92932db7d66e5ed482d529fac4b9ce78 SHA512 f147fef7f3ac912c7b1cb2826cfc7cb5abf4cba92ea4f7accc2b1ba3a4f0775bff5ae06e80370144b7b1e7d03e2f3129e268c5d7056ee2aca9d77047a1b5a1c3 +EBUILD test_declarative-0.0.5-r2.ebuild 865 BLAKE2B 4555627506c9e5be4f5cd85999074f300f78f6f1306897ea25cd8f91fb7b528931f3c89fe7a9fa4cd4157861635dab5b99ca8366bf20c372943b736d1cba0f71 SHA512 d3799f44dc81cd34373daa9504f4f971c774432042776310a4c3170d2cb2d1fe955614d53661646557b99da6dc5af4e7937dddf822b2c34e9afd6dfb6a39da33 +EBUILD test_declarative-0.0.6.ebuild 1032 BLAKE2B bbf31652f8eb638e907e0ebf1bf577117a22f2d280791394c1eadeff0eac7e3e3c6f7ed0c2dec7e9cc73bfdc0fde1ec9db19f39fa3e541e18cded7a976133a8f SHA512 e1020e28261c8a500e096b2f4be2504968ed90c7ba4e02d34c4303b922da9d20432dba272ce9e3854000c9e23bb364aa280789838fb0a6c26b9807695760b0b3 MISC metadata.xml 352 BLAKE2B 16e19458cea4c942f4676b8a345f5f4bcdd56bf265cc1408c4cc46210530cc12798b8f30065c054f7ca03b308d545d1aa41e682818aaaaca94912c2c47fb64b6 SHA512 dd27572c54207401b8dbcac74242521733d31f6c7e3822b1ecb4809047a067a58cc8bd654f146d10e3f7c9e01c130d56af039c9c91da298942a6fce02c994a12 diff --git a/dev-ruby/test_declarative/test_declarative-0.0.5-r2.ebuild b/dev-ruby/test_declarative/test_declarative-0.0.5-r2.ebuild index b20fcfc1e462..338f473cbc6a 100644 --- a/dev-ruby/test_declarative/test_declarative-0.0.5-r2.ebuild +++ b/dev-ruby/test_declarative/test_declarative-0.0.5-r2.ebuild @@ -20,7 +20,7 @@ RUBY_S="svenfuchs-test_declarative-*" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" IUSE="" each_ruby_test() { diff --git a/dev-ruby/test_declarative/test_declarative-0.0.6.ebuild b/dev-ruby/test_declarative/test_declarative-0.0.6.ebuild new file mode 100644 index 000000000000..970e137404c4 --- /dev/null +++ b/dev-ruby/test_declarative/test_declarative-0.0.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ruby22, ruby23: fails due to minitest incompatabilities. +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Simply adds a declarative test method syntax to test/unit" +HOMEPAGE="https://github.com/svenfuchs/test_declarative" +SRC_URI="https://github.com/svenfuchs/test_declarative/tarball/v${PV} -> ${P}.tgz" +RUBY_S="svenfuchs-test_declarative-*" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/minitest:5 )" + +all_ruby_prepare() { + sed -i -e '/rake/ s/12.0.0/12/' Gemfile || die +} + +each_ruby_test() { + # There are other gemfiles but their setup seems broken atm. + for gemfile in Gemfile ; do + einfo "Running tests with ${gemfile}" + BUNDLE_GEMFILE=${gemfile} ${RUBY} -S bundle exec rake test || die + done +} |