diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-12-25 19:32:45 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-12-25 19:32:45 +0000 |
commit | e6db72684cd6ca807a908c472786c1e901b4959c (patch) | |
tree | f2f5718b4d5ed95d55c64233918bb38976001efa /dev-ruby | |
parent | amd64/x86 stable wrt bug #495444; Drop old. (diff) | |
download | historical-e6db72684cd6ca807a908c472786c1e901b4959c.tar.gz historical-e6db72684cd6ca807a908c472786c1e901b4959c.tar.bz2 historical-e6db72684cd6ca807a908c472786c1e901b4959c.zip |
Version bump.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rubygems/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/rubygems/Manifest | 10 | ||||
-rw-r--r-- | dev-ruby/rubygems/rubygems-2.0.14.ebuild | 146 |
3 files changed, 158 insertions, 5 deletions
diff --git a/dev-ruby/rubygems/ChangeLog b/dev-ruby/rubygems/ChangeLog index f93e8ae12f88..d3d9042a0036 100644 --- a/dev-ruby/rubygems/ChangeLog +++ b/dev-ruby/rubygems/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/rubygems # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.217 2013/12/20 15:52:38 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.218 2013/12/25 19:32:44 graaff Exp $ + +*rubygems-2.0.14 (25 Dec 2013) + + 25 Dec 2013; Hans de Graaff <graaff@gentoo.org> +rubygems-2.0.14.ebuild: + Version bump. 20 Dec 2013; Akinori Hattori <hattya@gentoo.org> rubygems-2.0.3.ebuild: ia64 stable wrt bug #483254 diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest index f5e2651ddabb..5580ef8aa0a4 100644 --- a/dev-ruby/rubygems/Manifest +++ b/dev-ruby/rubygems/Manifest @@ -10,19 +10,21 @@ AUX init.d-gem_server2 502 SHA256 b7f7d215bb3dba02150dbdc431a84308010515ad4c5d97 DIST rubygems-1.8.24.tgz 380101 SHA256 4b61fa51869b3027bcfe67184b42d2e8c23fa6ab17d47c5c438484b9be2821dd SHA512 f055ecf76f624cba747e2f841eb44b89bd28419b0a44973c6442d22233644fbe6babee7dea89a71f17deefaaa4e4e5e9ebeb6fd3abb58dafb63f313b1c3d60c9 WHIRLPOOL 0374cca1e38e3132d10ef43a47155b9e41b7c91f84f10d73a21f4b88a9811d9e1a7674c23414760c9c725bd75ca79257d57c8591dbe37112e784cd46251e80fd DIST rubygems-1.8.25.tgz 380540 SHA256 649348ddf8746887fb1ee79c55dc508f0627d3d0bfa7fcdbcd4edb24908f1cc8 SHA512 8df500dd313b915b7769a6b5b9fd11e3841b23a8dcebdcf0676f70e8ee958306fab269008922c9d903b1d0ddda49b5c0387e431f1d3ef91920c43e666b282615 WHIRLPOOL 639ae8d85c28a267b8eb2e3a6e3a950a79aeb9424b20cc43641bb5d8ff83110b73b801d3b668ba61be030879797e2cc95785e79b8b5667caca15d3d4d35c699d DIST rubygems-2.0.10.tgz 338280 SHA256 ab37d321fcbd35d2d58e2183d7ae7031cb5bc5ef662976ba3f2e51a193868f89 SHA512 0df888ee46221fa926506dc9477f881d383a7d9ad9ef97c224723c337415bcbc5e834168080c10588617a4758820a46a933b42590f2e1277c50449d46250b271 WHIRLPOOL 5691ee437319e36bf5bcb3fbf63b0f9a639aa848ce51d7c96e835fefcf4e17bf8b1e66e7d1a646e10eee201b820ce406034fc23991c04eb2712bd2aa67eb322e +DIST rubygems-2.0.14.tgz 337356 SHA256 31d1b2428fb5b42ea610ce538b05bc7fd689d2f486c4f4338a2f54530b48cf44 SHA512 d9c7165ea183afccde7617bf563c0aba7f04e19413feb4d58edd58e8e4acb3bcdb87cccc196b992596d06d72c15586dcf08d6e17498df25b30c6a19908090f36 WHIRLPOOL fa39d215e96209977cdc9033ae3388e95448ce8a6bdb5ffe41fde3784237849f269676dc5abe2a8155853876fb126e3ca466de983d19ef4106ea5e2d45fe854f DIST rubygems-2.0.3.tgz 334203 SHA256 fcaf558640303d22ee44fa6d966b3b0dd243c4b56df47437414b5172639bcca8 SHA512 24913635956c42796f30027f20d30727e40afc4018a94f585b15143fa64af0399bb877992fb48e77fdbd8aa54cd4cba1f248993fb48ce7330d97196e3ed21a4d WHIRLPOOL 3480ceaafa4f3857251d9afc05d41fa1f34498a0c95596aac659bec9dd57a96db6ec16ac5d36a1372730da253d25c09c553b4164e9e842035d8ff1d8ec76acae DIST rubygems-2.0.8.tgz 337735 SHA256 8e1d3d1c22132e173a51b6d5abae1f64a16904b746673e231e720ab6856f07a2 SHA512 62142ec2dd5e4cb08bdcc2a27220dfc48d9a28b53c45d51447b5d91119def97cabc7343a0ae485471db21d61fc570fb3a42452e1ffc32c57192bf6932434f96b WHIRLPOOL bec0b032d84068b7a5ba4cecd350db163c0b0296fbf56eb870c3f8227cd7cdfc8b492c7dbc06e63f9dfeef9033ed9d9bfdf41a1a84633849bec4df2f2ac2e186 EBUILD rubygems-1.8.24.ebuild 3737 SHA256 4ad6a67f5a55e14a9b5f6a2008d4c1aade125e4db56026e1472c4ca973e8ba5d SHA512 d7983d0e9b58ac29fb89dac8c8c35376c03e49d6a01a5f8a2f0ea38d727ec89f9ec062098effbcc55d1012a207c346dadd72d5cadab04fc2af9b2e11d843487b WHIRLPOOL 21a5f76990635355f406637ab78c4f5ae53f117b4d5b958291452d5313749f7212deff4a24f3f92fbeca4438eecdbc65ffbe5ad2a521df7053e164eb9d473030 EBUILD rubygems-1.8.25.ebuild 3743 SHA256 decc4a8f804777ccf230e7f3f98e0bd8e7130fdaa7e73019984cebf3d0e7dece SHA512 b0711999f316bdde6092565d0ffc5da7b048e348a98037e38bb68857ea8b6ecd48dec4dbeb98cb7753e9ce759ffd30fb34e339f7b250753367aa18702eafa22a WHIRLPOOL 9c078386430c0ca04ce52b3e850647e0d9fd5cf21cfd22fc7ad68caf63a1ecaacc0107245833ee8b88d09d7b10e171fd9a5e4d3b1fa721008abef99fb1895a77 EBUILD rubygems-2.0.10.ebuild 4826 SHA256 338f0d8a6a3edaebe0e9a14b4d57c0b7bb0e566945e2da80372b9ae7f01cb39f SHA512 af801cc92e143c1c6f0068db47969bfb70588b62b9acd1a175635b0a919f55e30179d8c35961947478f84da047611909873ff163ed45bd47cd84fe49a1ce0396 WHIRLPOOL e4efa56057d0935d9b3ad8c966f72d7eff6a659a29d811189006bb02f6bea542f3426bce9e2b6bff3e0b2860c604f3c6ab9401d4fc6cf29d3d7f640eda868bed +EBUILD rubygems-2.0.14.ebuild 4826 SHA256 e5dc505290e122bc9995b4f95a66f1ed10d64ceaca820b52f8207627b0abff73 SHA512 9d42fa5be0c93aeafa7d6b281d2d59fcc4517b5ddfe83c6e2858365b7bc04a88fb8afb96355292a12cef52b2948743616325448abeaf5cfb05d5be9db53bee2b WHIRLPOOL 7a296dbf76659786a983234379fb0b4beb9910fa6da09a05665de540dea5c684859aee870d025d80d6543885c1b5eb7cabba68ec932e50ca65722d8175105181 EBUILD rubygems-2.0.3.ebuild 4920 SHA256 a271c8a1f8942144108d507ccf5492e16c0961278bd43b78f2a6de75e5d5dfe3 SHA512 1c803735c68bfbe9ff615f55e5a31d92ffc4110d0473c27ef5cfe12326e352f6e919f12d4417247709f84bec51bda1682dc1e8b9d9d8c0c245da0fdf111229ef WHIRLPOOL 6c4a57bd6a356169a948c9649381b4ca5e81a39f3da2411a5514ac244d40095ed9bd7772453c4ce025af6df4240c0bfe6ea8dab2305be37c1c669ec7b419538b EBUILD rubygems-2.0.8.ebuild 4825 SHA256 1be5c62f9019a21deb0ce480918837bc5c44d77c19001f60440c509baafb7747 SHA512 9ea07e63dc219034ca815019a3b9c5951e32706b19322e757c845d1a7ccb3a226b81340f07097ba26ab0d49b63bcdc2e0cdb9448b66fe7717069721cc9fbbd9a WHIRLPOOL 84a4ab35b4911d2a458f140f05cfba299b371a2057ecf17d692278a3eda3fded83b0a12af7aa25b5daf3fb6bdc9806d3e6a4be82a2e567d3206efcab80a34b65 -MISC ChangeLog 33801 SHA256 b7a7bdb2f28b4d6d49846543e9db4bca25003ee8f9749de7dca70f0b206cd13e SHA512 de6a8d9aa01084282b10407c85189783eee2a0ee0124bc3d2870f276e9c2bc5978cfbd3a60cb302543cf9435e3998b5cafa3726820a3ffad44e2dc70611d0f33 WHIRLPOOL a13d529ea9d6b8b101894556681f35ded73c0698648bd6fab7b57c9c8488719a96b9a520b5098450876f65117cae6d0671274c5919bb42f8d3f02bc6ff17454c +MISC ChangeLog 33925 SHA256 3d3bccbee701608ae1de9886d8da92901e053898a154445b0230944160d4961b SHA512 0da0316c21503e18b6deb8d580f6e1c1e31fd664c94152cd229999cdca62973b07de15d35b48cdd213c0e066d1c0bc5f1c7f0adc1e2e229438fa495b8170289f WHIRLPOOL 10efff891e534078548e728148d095e6f6859003dbed6a9b0e2a678d146f672a21642cdaf2e2c206547b4b9871be05a350f46ff0a126a1a4c063e1deb1a2ed0c MISC metadata.xml 318 SHA256 6e5f2eec30e8b7f9b678daf799db43ea56cc4566ca70635677d2cf5f60ebd3dc SHA512 a8036da4d9fd5c22fd71ab1eee6de35c25737616e9cf443786f0a6d9c2ebf1e5f3791f19ebe7693635eeb0bc793931e935ed0f7011fd37b764f7b26c59fde8a4 WHIRLPOOL 4aa04bfa68b9ac28debd59f64629806e100583b05a80edab02f917e9bb7f3b5afd7f0b35b05731580f895a531dcabf8dedf6ce21c43dd1cf44df66a21be6ae26 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iEYEAREIAAYFAlK0Z9QACgkQL46suuyRem1Y6QCeOy5aGEJxxygVQocQ8j21Mo1I -vSwAnjuhnjzy6xvqicH/iOUfq14bTXkG -=emTy +iF4EAREIAAYFAlK7Mt0ACgkQiIP6VqMIqNcECwD/dPkHGXD3cQrDwXzpkkonfnXh +6tII7GyKyNdHCoQw0LoA/2l1s1RtoZHW+iD2Z8QqtNn54N7FOPBAZqIK2THdFVkY +=WU/i -----END PGP SIGNATURE----- diff --git a/dev-ruby/rubygems/rubygems-2.0.14.ebuild b/dev-ruby/rubygems/rubygems-2.0.14.ebuild new file mode 100644 index 000000000000..06245b3d7d9d --- /dev/null +++ b/dev-ruby/rubygems/rubygems-2.0.14.ebuild @@ -0,0 +1,146 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-2.0.14.ebuild,v 1.1 2013/12/25 19:32:44 graaff Exp $ + +EAPI=5 + +USE_RUBY="ruby18 ruby19 ruby20 jruby" + +inherit ruby-ng prefix + +DESCRIPTION="Centralized Ruby extension management system" +HOMEPAGE="http://rubyforge.org/projects/rubygems/" +LICENSE="|| ( Ruby MIT )" + +SRC_URI="http://production.cf.rubygems.org/rubygems/${P}.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="server test" + +RDEPEND=" + ruby_targets_jruby? ( >=dev-java/jruby-1.5.6-r1 ) + ruby_targets_ruby19? ( >=dev-lang/ruby-1.9.3_rc1 )" + +PDEPEND="server? ( >=dev-ruby/builder-2.1 )" + +ruby_add_bdepend " + test? ( + >=dev-ruby/minitest-4:0 + virtual/ruby-rdoc + )" + +all_ruby_prepare() { + mkdir -p lib/rubygems/defaults || die + cp "${FILESDIR}/gentoo-defaults.rb" lib/rubygems/defaults/operating_system.rb || die + + eprefixify lib/rubygems/defaults/operating_system.rb + + # Disable broken tests when changing default values: + sed -i -e '/^ def test_self_bindir_default_dir/, /^ end/ s:^:#:' \ + -e '/^ def test_self_default_dir/, /^ end/ s:^:#:' \ + test/rubygems/test_gem.rb || die + sed -i -e '/test_check_executable_overwrite_default_bin_dir/,/^ end/ s:^:#:' test/rubygems/test_gem_installer.rb || die + + # Remove tests that want to write to /usr/local/bin + rm test/rubygems/test_gem_uninstaller.rb test/rubygems/test_gem_install_update_options.rb || die + + # Remove a test that fails when yard is installed. + sed -i -e '/test_self_attribute_names/,/^ end/ s:^:#:' test/rubygems/test_gem_specification.rb || die + + # Remove tests that try to load from an unsafe path + rm test/rubygems/test_gem.rb || die + + # Remove tests that seem to have trouble loading from the /tmp test + # path. This should be narrowed down more... + rm test/rubygems/test_gem_commands_{cleanup_command,contents_command,pristine_command}.rb test/rubygems/test_gem_specification.rb || die +} + +each_ruby_prepare() { + case ${RUBY} in + *ruby18) + # Remove test failing on ruby18. According to travis.yml + # upstream no longer cares. + sed -i -e '/test_install_location_extra_slash/,/^ end/ s:^:#:' test/rubygems/test_gem_package.rb || die + ;; + *jruby) + sed -i -e '/test_install_location_extra_slash/,/^ end/ s:^:#:' test/rubygems/test_gem_package.rb || die + # Remove failing tests. Before we did not run any tests at + # all so this is actually an improvement. Should be + rm test/rubygems/test_gem_security{,_policy}.rb test/rubygems/test_gem_{remote_fetcher,package_tar_reader_entry,package,installer,ext_ext_conf_builder}.rb || die + # investigated further. + esac +} + +each_ruby_compile() { + # Not really a build but... + sed -i -e 's:#!.*:#!'"${RUBY}"':' bin/gem +} + +each_ruby_test() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + #unset RUBYOPT + + if [[ "${EUID}" -ne "0" ]]; then + RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} -I.:lib:test \ + -e 'Dir["test/**/test_*.rb"].each { |tu| require tu }' || die "tests failed" + else + ewarn "The userpriv feature must be enabled to run tests, bug 408951." + eerror "Testsuite will not be run." + fi +} + +each_ruby_install() { + # Unset RUBYOPT to avoid interferences, bug #158455 et. al. + unset RUBYOPT + export RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" + + pushd lib &>/dev/null + doruby -r * + popd &>/dev/null + + case "${RUBY}" in + *ruby19) + local sld=$(ruby_rbconfig_value 'sitelibdir') + insinto "${sld#${EPREFIX}}" # bug #320813 + newins "${FILESDIR}/auto_gem.rb.ruby19" auto_gem.rb || die + ;; + *) + doruby "${FILESDIR}/auto_gem.rb" || die + ;; + esac + + newbin bin/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') || die +} + +all_ruby_install() { + dodoc History.txt README.rdoc + + doenvd "${FILESDIR}/10rubygems" + + if use server; then + newinitd "${FILESDIR}/init.d-gem_server2" gem_server || die "newinitd failed" + newconfd "${FILESDIR}/conf.d-gem_server" gem_server || die "newconfd failed" + fi +} + +pkg_postinst() { + if [[ ! -n $(readlink "${ROOT}"usr/bin/gem) ]] ; then + eselect ruby set $(eselect --brief --no-color ruby show | head -n1) + fi + + ewarn + ewarn "To switch between available Ruby profiles, execute as root:" + ewarn "\teselect ruby set ruby(18|19|...)" + ewarn +} + +pkg_postrm() { + ewarn "If you have uninstalled dev-ruby/rubygems, Ruby applications are unlikely" + ewarn "to run in current shells because of missing auto_gem." + ewarn "Please run \"unset RUBYOPT\" in your shells before using ruby" + ewarn "or start new shells" + ewarn + ewarn "If you have not uninstalled dev-ruby/rubygems, please do not unset " + ewarn "RUBYOPT" +} |