diff options
author | Hans de Graaff <graaff@gentoo.org> | 2014-12-14 10:02:32 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2014-12-14 10:02:32 +0000 |
commit | 3b01c766bc2417ac1ef1cf9a49bbbd1835b5dd7a (patch) | |
tree | ed8d447156f2def06992f2324304fc64ffb4c6fb /dev-ruby/rubygems | |
parent | Drop ruby21 to create a stable candidate. (diff) | |
download | historical-3b01c766bc2417ac1ef1cf9a49bbbd1835b5dd7a.tar.gz historical-3b01c766bc2417ac1ef1cf9a49bbbd1835b5dd7a.tar.bz2 historical-3b01c766bc2417ac1ef1cf9a49bbbd1835b5dd7a.zip |
Cleanup.
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/rubygems')
-rw-r--r-- | dev-ruby/rubygems/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/rubygems/Manifest | 11 | ||||
-rw-r--r-- | dev-ruby/rubygems/rubygems-2.0.14-r1.ebuild | 128 | ||||
-rw-r--r-- | dev-ruby/rubygems/rubygems-2.4.2.ebuild | 123 |
4 files changed, 9 insertions, 259 deletions
diff --git a/dev-ruby/rubygems/ChangeLog b/dev-ruby/rubygems/ChangeLog index 010801c68f46..5dac0c3303d8 100644 --- a/dev-ruby/rubygems/ChangeLog +++ b/dev-ruby/rubygems/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/rubygems # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.246 2014/12/14 10:01:37 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.247 2014/12/14 10:02:31 graaff Exp $ + + 14 Dec 2014; Hans de Graaff <graaff@gentoo.org> -rubygems-2.0.14-r1.ebuild, + -rubygems-2.4.2.ebuild: + Cleanup. 14 Dec 2014; Hans de Graaff <graaff@gentoo.org> rubygems-2.2.2.ebuild: Drop ruby21 to create a stable candidate. diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest index f0dd4e25a11d..e34c7d312962 100644 --- a/dev-ruby/rubygems/Manifest +++ b/dev-ruby/rubygems/Manifest @@ -9,19 +9,16 @@ AUX gentoo-defaults.rb 972 SHA256 c0f821041391c262754a5caf7314562137218119eb3510 AUX init.d-gem_server2 502 SHA256 b7f7d215bb3dba02150dbdc431a84308010515ad4c5d9776d0dd5b99bf9a2cee SHA512 57af68c884e54c734ca3f3e512e506bb3c2d282162530bcd8c34c477d5b40c253a09b190633f6a86beb863280f67de2b013c2dd75b9b53f09968feee8488ec4f WHIRLPOOL 4fd1dd72365e452803ed7176cc4fe90f387585e3d1f3133552138f681ac3005d5181f6a022d9b8ef7c661ec71537630b0254ec2c97b5c65513231d2f57c9279e DIST rubygems-2.0.14.tgz 337356 SHA256 31d1b2428fb5b42ea610ce538b05bc7fd689d2f486c4f4338a2f54530b48cf44 SHA512 d9c7165ea183afccde7617bf563c0aba7f04e19413feb4d58edd58e8e4acb3bcdb87cccc196b992596d06d72c15586dcf08d6e17498df25b30c6a19908090f36 WHIRLPOOL fa39d215e96209977cdc9033ae3388e95448ce8a6bdb5ffe41fde3784237849f269676dc5abe2a8155853876fb126e3ca466de983d19ef4106ea5e2d45fe854f DIST rubygems-2.2.2.tgz 414111 SHA256 572dd13baa1dfb9756db9fbfeb629be1634efddb7014c552845c0e9a5a643009 SHA512 574d72436356ae66834ee6991e4a886e37babc98ca5b270086f43b5a85f8fdb50365f5a2109e937163dad5a1b8a4d66f16d2308ed27438c99be036b3e56d3dd1 WHIRLPOOL 442efa9ed4bf4e39802f5c9307e0d4ae55372daf47e7a3d98d55a3d9e79afdb10f8e32e95ea0166d2fa264dc0c8d2bc01b8ec4de31fc022ef950b0cb8794a4bd -DIST rubygems-2.4.2.tgz 440555 SHA256 34cf28c3066e7e16a579d087fc2978949b4628f1f9398279f7a5dfb5135da6e8 SHA512 5405a63977cf24b8a046d80ac5a4f6fa8248a810c9a18297ac8cd764abe6baf45d15dd225264d00237b234343373b4021dec9b8bf7740fe36fbd69bfc4e2275c WHIRLPOOL 0d74f7cd25a32cd16ba06440a6c668315c0697d6d5e2caec8b5e3af6e99dfb91797f12d07e4e4d3c67b0a68043e9d1036b3f83a0a7480e688cdddf5141a0271a DIST rubygems-2.4.4.tgz 443652 SHA256 c2658ffc6f9c75b34fea5498defa003f6e4e5df79eeeca84a1d57614ade5d2ab SHA512 8e52bc679a6f0680ebbd285da4330dd2ea8148cb7c526a5ba89d60815caa9b9c183980ea1500978db43c3254963465cc9d0bb8a7ff9b5951ca2b84bb3f9446dc WHIRLPOOL 311eb0880efc8d351dbb2436707e4d102865d97aad5cf43b798839ed041c2c2000d868f6d1774a7216ca3e71ed2bd10c693eddf71619a5217acd7735a0930dd9 -EBUILD rubygems-2.0.14-r1.ebuild 4067 SHA256 af7329f13704398b13c3b35bec146053b59f9a962a4d9c62dfc8870f59834c23 SHA512 b421ccb4a155a54a84f4c1b1504d0066a5fc8436a672d43d6402e352253ee24c00ff6d42fab41e3d060e2c4942d6fcf3c8f45f9dd5448d223a0e190dbe7da81c WHIRLPOOL 7d3b4c40e9ded4d6e0370601812486eb5790ff037759682e031fd6fd28eeecdbde566f05c600e0527e5e3f591a6daf69e030c1610df8336b38e3ead011fd3e4a EBUILD rubygems-2.0.14.ebuild 4049 SHA256 8063643f5358023a20ca7436b088b4e3d64dd188b57310e4734a1150fcb390ba SHA512 2bc56661561343ebfb95cfd538f3863d8e7f9395af61a813b7baa76c53cfd6e26b7f037b81268646d1d7cce88cb23305ebff86a250c0d07a649f8a957bb73f75 WHIRLPOOL 6f99b7d88a126421f63036e49ca4c5d959ebfe627b5566e30a5090e59e59303152e67255eebb49f489fe0227058cf8fb9e975838d19357fe4b478f9b3d369f58 EBUILD rubygems-2.2.2.ebuild 4478 SHA256 93c2eda1b8d79f778af79fc038100edc5f5171d155362c3930004ff4acef452d SHA512 b0e311fe7587329ad0d989a911678dcc504489698444e623e79032a32c0c2d7fd90cd397104a2c86a5fb00e6747a8fa32e129c4c8d69d2060d17f29ea585f8ca WHIRLPOOL ccd33c34d2ad040814816ac779b00835bd32241e8091791d49cf93bfe8aa805469efc5503ccfcaad23fe58ce1a7cf37eb5bf5a74e1f8533ca8d7a408ab43573b -EBUILD rubygems-2.4.2.ebuild 4568 SHA256 80c10e15f808272dbe79db79554d5e5d2ac92f234474911c12c5ae89f2f2d98f SHA512 df34c30563f38745aa91b993a2e1c8800386a3681e23f8092ab6f1655bad190dbe39843ca46ac014bd2f9a76b0abafef3e2bfa8e2e9188e019966326e647c3b7 WHIRLPOOL 46386c299c442ab172379bd71f8a5b431f50556f921e3687489c8205383cc8d3918f2fa2580f5d3bca86974a52ca5bd34af9ba24c3bf3df4bba90ed1ff5e01a1 EBUILD rubygems-2.4.4.ebuild 4568 SHA256 f4839367baea82d85949fd633ec84aac27bcd5caddcc544491401b0cc855a18d SHA512 901b5433a5f6fbcb85ab25f4f3a7670c3cca6e3e2016b3bb2c9be6ad7baca3b278c5bfaa05cc2ddda52b2db15f3f8decaf320da811444a77c5900f6cf63eff67 WHIRLPOOL 2d248c77763842667b5bc29b9d6ff006b1c7dcd1d47cfdb6dffdb5c5493d5c6b893a7072aa315cd75095d0e8795792528a789d041fdccd4f05a59539673bf4fb -MISC ChangeLog 37462 SHA256 6194894eab94420420f2524837cae28ca82e191e9a5ae416352be6d6bba8e431 SHA512 2c511aafbcb3c90e3dffb8c0efc05bf10fde7186af7fc401b7808dc9f8a4b758978f70dc1e77ec5f73321f2fedf86182bf7e940512c3d8300368407e45373d07 WHIRLPOOL f46c066a3f731cb19ef038e2a2d3a75bdfed75d4cc8deb164981b65e1f255fcb68573859ded22d0109fdd8d056600080d3ff3ea5372a7bc58c0760f115cd5a06 +MISC ChangeLog 37578 SHA256 a70157397fb3127c177b2eb388442630c0d4a014897339ed3ab1aa4f17f8ca7f SHA512 47783e89fdd2a1fb6abc37fe2166de9515794e44e34541fbd2655e7a09d2f0fff2212eb6ea735eccf4f0f0724b9f8d65262cf9a9458eb745a8fe88321e09018c WHIRLPOOL fbe5fd78c23f509695b78becc87511994a112b1c3e85c74fb0d58be1af966d1d14c30a3e5113871f2e9522d811b3c65ed8f9eec171a08a55ceeace721d36a924 MISC metadata.xml 318 SHA256 6e5f2eec30e8b7f9b678daf799db43ea56cc4566ca70635677d2cf5f60ebd3dc SHA512 a8036da4d9fd5c22fd71ab1eee6de35c25737616e9cf443786f0a6d9c2ebf1e5f3791f19ebe7693635eeb0bc793931e935ed0f7011fd37b764f7b26c59fde8a4 WHIRLPOOL 4aa04bfa68b9ac28debd59f64629806e100583b05a80edab02f917e9bb7f3b5afd7f0b35b05731580f895a531dcabf8dedf6ce21c43dd1cf44df66a21be6ae26 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iF4EAREIAAYFAlSNYAMACgkQiIP6VqMIqNfnmwD/eNM6HIhEFduUW8Dq2eyrFh4k -//DmLHDT9Ya/Yc6LnB8A/1v4DHOi2DG9IkABiHgdyQgVruhCu5vgWtbfpao5/E/t -=/5qh +iF4EAREIAAYFAlSNYDgACgkQiIP6VqMIqNdm5QD+IO/+dt7eMOmU5gaEgK/A//Z7 +17A7ffzvyxdZgViYapcBAJEB218IVjN2YVqfytTiWSXalsmG6FAfCJp2BkPeFO0E +=2oTa -----END PGP SIGNATURE----- diff --git a/dev-ruby/rubygems/rubygems-2.0.14-r1.ebuild b/dev-ruby/rubygems/rubygems-2.0.14-r1.ebuild deleted file mode 100644 index 51a49bed512b..000000000000 --- a/dev-ruby/rubygems/rubygems-2.0.14-r1.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2014 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-r1.ebuild,v 1.6 2014/11/26 02:20:44 mrueg Exp $ - -EAPI=5 - -USE_RUBY="ruby19 ruby20 ruby21" - -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_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_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 ruby show | head -n1) - fi - - ewarn - ewarn "To switch between available Ruby profiles, execute as root:" - ewarn "\teselect ruby set ruby(19|20|...)" - 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" -} diff --git a/dev-ruby/rubygems/rubygems-2.4.2.ebuild b/dev-ruby/rubygems/rubygems-2.4.2.ebuild deleted file mode 100644 index 96e1fe34123d..000000000000 --- a/dev-ruby/rubygems/rubygems-2.4.2.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-2.4.2.ebuild,v 1.1 2014/11/08 08:38:55 graaff Exp $ - -EAPI=5 - -USE_RUBY="ruby19 ruby20 ruby21" - -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" - -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 '/test_check_executable_overwrite_default_bin_dir/,/^ end/ s:^:#:' test/rubygems/test_gem_installer.rb || die - sed -i -e '/test_default_path/,/^ end/ s:^:#:' test/rubygems/test_gem.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 - - # Skip tests for default gems that all fail - sed -i -e '/test_default_gems_use_full_paths/,/^ end/ s:^:#:' test/rubygems/test_gem.rb || die - sed -i -e '/test_execute_ignore_default_gem_verbose/,/^ end/ s:^:#:' test/rubygems/test_gem_commands_cleanup_command.rb || die - sed -i -e '/test_execute_default_gem/,/^ end/ s:^:#:' test/rubygems/test_gem_commands_contents_command.rb test/rubygems/test_gem_commands_pristine_command.rb || die - sed -i -e '/test_execute_default_details/,/^ end/ s:^:#:' test/rubygems/test_gem_commands_query_command.rb || die - sed -i -e '/test_execute_all/,/^ end/ s:^:#:' test/rubygems/test_gem_commands_uninstall_command.rb || die - sed -i -e '/test_load_default_gem/,/^ end/ s:^:#:' test/rubygems/test_gem_specification.rb || die - sed -i -e '/test_uninstall_default_gem/,/^ end/ s:^:#:' test/rubygems/test_gem_uninstaller.rb || die - sed -i -e '/test_alien_default/,/^ end/ s:^:#:' test/rubygems/test_gem_validator.rb || die - - # Avoid tests playing tricks with ruby engine that don't seem to - # work for us. - rm test/rubygems/test_gem_request_set_gem_dependency_api.rb || die - - # Avoid test requiring network access - sed -i -e '/test_download_to_cache/askip "requires network access"' test/rubygems/test_gem_remote_fetcher.rb || die -} - -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 - - local sld=$(ruby_rbconfig_value 'sitelibdir') - insinto "${sld#${EPREFIX}}" # bug #320813 - newins "${FILESDIR}/auto_gem.rb.ruby19" auto_gem.rb || die - - newbin bin/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') || die -} - -all_ruby_install() { - dodoc History.txt README.rdoc - - 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(19|20|...)" - 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" -} |