diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-06-29 08:19:48 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-06-29 08:19:48 +0000 |
commit | 4f7473f392736fc40b6c35256a7075eb7e5b0aa5 (patch) | |
tree | 65e8057631ecb3297eef841caa95c07833802974 /dev-ruby/minitest | |
parent | Respect arguments when checking for test targets. This becomes helpful if one... (diff) | |
download | historical-4f7473f392736fc40b6c35256a7075eb7e5b0aa5.tar.gz historical-4f7473f392736fc40b6c35256a7075eb7e5b0aa5.tar.bz2 historical-4f7473f392736fc40b6c35256a7075eb7e5b0aa5.zip |
Version bump. Add back jruby support.
Package-Manager: portage-2.1.12.2/cvs/Linux x86_64
Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/minitest')
-rw-r--r-- | dev-ruby/minitest/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/minitest/Manifest | 22 | ||||
-rw-r--r-- | dev-ruby/minitest/minitest-5.0.6.ebuild | 58 |
3 files changed, 71 insertions, 16 deletions
diff --git a/dev-ruby/minitest/ChangeLog b/dev-ruby/minitest/ChangeLog index 55b0add654dd..d45731b7faa1 100644 --- a/dev-ruby/minitest/ChangeLog +++ b/dev-ruby/minitest/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/minitest # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/ChangeLog,v 1.120 2013/06/26 11:59:16 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/ChangeLog,v 1.121 2013/06/29 08:19:23 graaff Exp $ + +*minitest-5.0.6 (29 Jun 2013) + + 29 Jun 2013; Hans de Graaff <graaff@gentoo.org> +minitest-5.0.6.ebuild: + Version bump. Add back jruby support. 26 Jun 2013; Agostino Sarubbo <ago@gentoo.org> minitest-4.7.4.ebuild: Stable for arm, wrt bug #472904 diff --git a/dev-ruby/minitest/Manifest b/dev-ruby/minitest/Manifest index 0e25ab859359..744d6ba97a21 100644 --- a/dev-ruby/minitest/Manifest +++ b/dev-ruby/minitest/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 DIST minitest-2.12.1.gem 48128 SHA256 e370691de6026cd7c0f7a11d0942ee29502cbed4316983d52819484e2abc4e9c SHA512 38e9d8e962bfa32620d0fb6721b4e298ecf247c0931561c0538ce2bca9cd6c6c4207fdda34db67f06a8c6af0db620a06f90225659b30ed5eec93dd0afa0267b1 WHIRLPOOL 3d4cfc713a0bf4d43c80770ab7e4bf1f2bbffa2d7225dde52b53ca5d017ddca7ebe3e112136e7783f7622ff48dfa5fb644acd76fd41182e3d4374de976f0a0d1 DIST minitest-2.8.1.gem 43008 SHA256 1c265730228f63030c136058d6eb15b0bd05edd1e2f0daaf40dbebc4d187de02 SHA512 b08a2cc21cb8d779366964710097582d386bd9eb8d608c4609896f0d1fc2b98eacecdc4142d879c7256824b6c00972b2a2d8f77693d2fea1dea2b05dcd8d5fe4 WHIRLPOOL c394bc7400c97a6d22862740929e0f38e09e713e50f698dddd33f3585fac40345524d9a28cada79c1776f82bd1439cc1a74acf1403e32290c4ff5ddf86073e51 @@ -8,6 +8,7 @@ DIST minitest-4.5.0.gem 56320 SHA256 a26df2d95efbbac38b4a534f2a293ff45b2205e22ec DIST minitest-4.7.0.gem 56320 SHA256 b25ea9dceea6de921331ae7ca74158e9878ef5acce05ff3bc3ae1d293f02ccc0 SHA512 fc602a0becb9f90e3e77177fd761f8d305d037ed6070430bc1687ce7d162a35d62895f271702e06521e039594a97b830130e16847c269e9c5c2c2790eed436bb WHIRLPOOL 1e3c7335d4bbf228028d046d1a46d1ff2a966a84cc417653898ee82a0b94b1646cc44e986f48c70a6b9e79c5f8594476bceb7f1b77d13d336fbe51605cceb2b9 DIST minitest-4.7.4.gem 57856 SHA256 0b75963a72a08a60a71f0fd06337e2eea1aaede37961b02305a3b23e1727c662 SHA512 d78cea8a7350127d2c606b98a8695cd866f31a6ff2486385ad16321797363931c5d4b1ead0ac3205c991d4583272cea7c15eee6c31915bf1d46690ed0749f12d WHIRLPOOL 7cbb0ece4264d885cbf8de1c0400a378e159868f52d1022ad9193c38586af418a32278b8795713adfd500c171d2f5271d53b93536ea551f18ada8c79e0672dee DIST minitest-5.0.3.gem 61440 SHA256 1d170038c4efd1bb41699b32e62126a35e032edeca9c6dddb0f3ad23d11dfeef SHA512 173b823856f17b2e721bb23dc8e2ed027923722f8ff24e1b2d1d3cd3054cec652928a37b445ebb996dba3f1157c3f4788b7a0e047757ff78c54ef7b48df56c2c WHIRLPOOL c94ba5d7afa289a8d2f436df48855ea09a63e0479907fc8a6b3c45c9ca9523a982bc30e139f54ac307af5e4e327bca49c13c70ebb77cf892e7557a2d65407619 +DIST minitest-5.0.6.gem 63488 SHA256 fbcbad8af9fea0e642e40f21a99f61a0c69c561b7a909ac8adce79af3c615d16 SHA512 005e551aef577fd37afd20086301512463a5b216a80285bee7a205cd655f5cd3d8a9c6b085333340138b87d7407f919e9f2d861970bbdf197aa2716b4b8dd909 WHIRLPOOL 31d3ba644c5865a2931b1edbeb9c6a519efa3bb41bfe1f50d901c7ea8b53d2df35717afe40a6cf812a2c4fc4fca5330727aa67db57c260287a106a34af2de9d6 EBUILD minitest-2.12.1.ebuild 1545 SHA256 d17c3570d92ab6813c78462ed87d369fe7340151206f6a72d5f9919dca45a745 SHA512 6b779e8f36e2d4e6cc015093d0415c412bbcc339d134ea415577a37721aa88d48925e5c9cdd8fb6d466c58d9ac7b8c524e25ce900414b9a0d4b875c469740c34 WHIRLPOOL c4e685083ceec2e1b205d3dedce94ebe3f1b64bc7f0cfd9ce534aa37753b64f0d31d0bc861d24d4ad7dc171506f763cce985a04e81e24cd98023434ce99b2c54 EBUILD minitest-2.8.1.ebuild 1315 SHA256 710a00e63c47d1c2d079f5457753b3b55d492f79cd6f347324b6c71a0e230648 SHA512 d1d0a3fe5cf55032f7b85f1dcb211c62f2c2e43c14634928a398ba0b1c992efd4a68dd53b757853f030b0d41d458d123eff8ab0c8a10910f139854f5ec3e4f26 WHIRLPOOL 8cfc0b915e07a7fdfbbc19cbf02819b72c94afc3e9d6acd0e506f041ffee261f05f6993748c993da6fa95a69c89be8d4d3a5eb586c0e7a1d5d9d3ea8511dbe4e EBUILD minitest-3.5.0.ebuild 1574 SHA256 56f0c51b69cf47012e6e00dc8256898c9e9bd00d782a037910f28e88611c0b3b SHA512 b6ff11960be8ad48225c2f22c72420465269e9d5625ccfa32372de962f99e10cb47c189bc2be58a2b11c556a32fa9354ae7f3cdd8ac529225d068bc66c180d22 WHIRLPOOL 10dcac83e637080dfd9c902ed2d4ad6a11cb5d23720f0a4fd6597b265a6fa07fbb7a2a572ae8ac531675d14c1dfc09812843368aa00fa4946bcdf419b76cd845 @@ -15,22 +16,13 @@ EBUILD minitest-4.5.0.ebuild 1865 SHA256 789ec4ea1b2acd71e9486aab6a615f9b1da1048 EBUILD minitest-4.7.0.ebuild 1872 SHA256 ff15b9d1e26ed1265cad80158e9496d21ccedb9042d54c39d4a9fd8f65bd701f SHA512 f6efbde74570d6b58eaebf122a1059af34019ec3e336bad1f3df8269e8e9392705008b0aa892b9d4e5fabecfc1ab9b8c59d952dae1cc0a1f27adf6b78e9a9816 WHIRLPOOL a0bb759f5256becd55d681e8e8ea383b4955bae75b910e92c7f94fabcf74263730c7049a15d442b1d36aa88d5ff155718bd125aab59383e2ca478f43df911aaf EBUILD minitest-4.7.4.ebuild 1732 SHA256 b060f3a9a8efcc06cfe5d85c3c73c04223d7085040436e2940bde98029bf851d SHA512 d2bd9ad4bbe4f936d7fa698459f986209a0d6191e5c83ae51be1170899c5b7ce52d1806a2b92d83303030c4c9abbdf90303fd10d85d57e2958222a2be75fa96d WHIRLPOOL 7fbace0f04e77d5aa1a20ef12121e35fc7583d73bbc47a21aa044fe714eea39db4e3e4c5470fd353e0c5b8c701eec4ab3a0176d72c6e9f76269847eda2f48305 EBUILD minitest-5.0.3.ebuild 1108 SHA256 ae52924645fb89a96d3f89814b17bc843f4d2bb1630eb0fb48ed13ab352b491b SHA512 2ece7555e18f5a75f8bf60afd07005f68ce6dd18a5b5d2ca8d4666d17e47801692a9e7023460f111fb922141b245f85d87cba7413def0257c0e841f946df17e9 WHIRLPOOL fc7f7fd8544ce10db73d332d91f1c14ba1721a44fb0e4f74fcaa09778c226d409b733dc42264a6df2a458f57b6d773ad2d2d5d77718ac110ce3439f3632b5853 -MISC ChangeLog 14632 SHA256 2b4f55438f1bedec00443c0ff932d918648846648da9835e3c7bea9b0b59bd2e SHA512 54c27ec7a5744c055617866193531a2292b53daaabdc0bcafaf1e595d2efb3edf4418e56f99a9fd74e4bc475b00452de6af84ba125913beb2ef678bc89a26442 WHIRLPOOL e82a79dee3ff92f41715eeeafc6248d56d71d9acb27763aadb0638c03ef0457fa95daea83c5c2cd89978a546f040fe880ac5766605e296c8e37b961cdbc28a6c +EBUILD minitest-5.0.6.ebuild 2428 SHA256 ae2cb05b01e9a04313fd1ad5697105aa789f2306548c4216c8dd7a2299a07cd1 SHA512 6133f98784500b437593a99823faa8a5a84dd024460f6c867a77c13ba892068ffa3f84d158bf1f55ed4d323f17f5a0f7bdcde3872ef89ca25f5419ab32ff0982 WHIRLPOOL 6934e8e19900396ee0ece980bee50eb48b514c3744a48bfd375cba0da05ff994088114e440e62e6e8c13693c0d5c1cc19869b7f8a19223a56f6a209f1472ae52 +MISC ChangeLog 14781 SHA256 369877df337e4c6e3daf5b7aaea87f3151c988b436743dbf5eb26d96d8da00c3 SHA512 8a41676263303c6eb84a53cc2efdfe746885fbaa085a4502230bc36ab7f919b450a7e9905eb87c44d4d27edf83c817bf86b38be18410b27036c4f36af77bed14 WHIRLPOOL 928c7425449c414bfa33c23ffea125c255a71c73a5c10e69ef5e3e3a03679ca2370c9945429e93b2e911ab525a5c5666a7327e8bcce12a6928ee188f0910ecc2 MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iQIcBAEBCgAGBQJRytbiAAoJELp701BxlEWfnSoP/RHmUe/yxwDAFGWbSVYNC9pe -Z0U+PxOcaReGeb3V6qcXo6xbj3YqUf4zHBvHSHebUc4zFJyqoGDKImT5KCpzrGVY -syfu9rV29CaCjBfKZYPdH927okvzKHoJUf9PUOWyo2OkTy0BjVCEUseXH8i3d17M -OrAUZdaG1lDIXJzA31IL2STyvVLdyxtqgx1wS+D/nMcAUVKHdRx8Nbdu1O845gln -Cf4Co1pUI1j9/Cvkg7uPU157GErHjjMYWNr+SndU9szh6knB8KYb1GzB3xokGPKH -5bTA2jVqEULoyiBCf+dTkz4rXJQjquyokWNTlh890B6U9T58Ofnoj7vX2s194zhv -kl+W2/H0N7BBsEw2ZWeVdG3cW8EpZUtpg8hYc3GuPaK/9JvfvyrCudZLTw9Ll1gL -7OOO4/zPn8JNHkrTivzPNFtd6oU+mnigDQ659mUBMlAw/Z3UOYusrTGMhlilZDoq -X7DnJO8SIYiNpW7FkCaq4yLGopeQPv6dW4tQfuxoVfd+HrGfKtKij2Bx/GqgpCXJ -fcLZm/F48b94gBmv2U23gVfjCFA+de8Ef2gebtu2JcAkHs11OMSB8TlTaoAO15+A -Hu8hoLnyJZIT4sVhOFltx61M7yvZh34Fc3JiUkAnbfF5v8F7JvtvPaIvn1AlEb4v -tlj2RPo5TbEvSBabz3FH -=5KPC +iF4EAREIAAYFAlHOmKQACgkQiIP6VqMIqNdfaQD8D0mdCVp/d69lc6ZINvycg4qb +SFWYrt1TMSRW6eMT7pYBAIGaJiGB34tLfG+YTAxR1/WW5dFs1MkoXdTPB5e6VQ1L +=NW4h -----END PGP SIGNATURE----- diff --git a/dev-ruby/minitest/minitest-5.0.6.ebuild b/dev-ruby/minitest/minitest-5.0.6.ebuild new file mode 100644 index 000000000000..88a2b429d19b --- /dev/null +++ b/dev-ruby/minitest/minitest-5.0.6.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/minitest-5.0.6.ebuild,v 1.1 2013/06/29 08:19:23 graaff Exp $ + +EAPI=5 +USE_RUBY="ruby18 ruby19 jruby" + +# Rake is the easiest way to go through this unfortunately. +RUBY_FAKEGEM_RECIPE_TEST="rake" + +RUBY_FAKEGEM_TASK_DOC="docs" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="minitest/unit is a small and fast replacement for ruby's huge and slow test/unit." +HOMEPAGE="https://github.com/seattlerb/minitest" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_bdepend " + doc? ( dev-ruby/hoe dev-ruby/rdoc ) + ruby_targets_ruby18? ( !!dev-ruby/minitest[ruby_targets_ruby18] )" + +# There is a nasty bug that tests fail if minitest is loaded already +# from the system. + +each_ruby_prepare() { + case ${RUBY} in + *jruby) + # Make sure __jtrap is available in all threads. This should + # be fixed in jruby 1.7.x + sed -i -e '8i trap :INFO do ; end' lib/minitest/parallel_each.rb || die + + # Avoid failures. Most of these look like low-level jruby + # differences and it looks like these were not run properly + # in previous versions. + for t in test_return_mock_does_not_raise test_mock_args_does_not_raise test_stub_block test_stub_value ; do + command="/${t}/,/^ end/ s:^:#:" + sed -i -e "${command}" test/minitest/test_minitest_mock.rb || die + done + for t in test_run_failing test_run_skip test_run_error test_run_skip_verbose test_run_error_teardown test_runnable_methods_random test_assert_throws_different test_to_s_error_in_test_and_teardown test_run_filtered_including_suite_name_string test_run_filtered_string_method_only test_run_filtered_including_suite_name ; do + command="/${t}/,/^ end/ s:^:#:" + sed -i -e "${command}" test/minitest/test_minitest_unit.rb || die + done + for t in test_name2 "needs to verify throw" ; do + command="/${t}/,/^ end/ s:^:#:" + sed -i -e "${command}" test/minitest/test_minitest_spec.rb || die + done + sed -i -e '/test_report_error/,/^ end/ s:^:#:' test/minitest/test_minitest_reporter.rb || die + ;; + esac +} |