From b6bc8d8c91a0c25687c27c4588e3b215da886fce Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Fri, 24 Jun 2016 06:57:18 +0200 Subject: [PATCH] dev-ruby/rubygems: cleanup Package-Manager: portage-2.2.28 --- dev-ruby/rubygems/Manifest | 3 - dev-ruby/rubygems/rubygems-2.5.1.ebuild | 111 ------------------------ dev-ruby/rubygems/rubygems-2.6.1.ebuild | 111 ------------------------ dev-ruby/rubygems/rubygems-2.6.2.ebuild | 111 ------------------------ 4 files changed, 336 deletions(-) delete mode 100644 dev-ruby/rubygems/rubygems-2.5.1.ebuild delete mode 100644 dev-ruby/rubygems/rubygems-2.6.1.ebuild delete mode 100644 dev-ruby/rubygems/rubygems-2.6.2.ebuild diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest index 26ed0216ed0b5..a9fd1574df912 100644 --- a/dev-ruby/rubygems/Manifest +++ b/dev-ruby/rubygems/Manifest @@ -1,8 +1,5 @@ DIST rubygems-2.2.5.tgz 416772 SHA256 0f015d63ee3f48be2cc440332d992a33f6df113ced25b7a0007372d304bfeaa4 SHA512 eac6d7c4801d7bf65ac8e244ff88677929e491db8c5054a31d936eaf1e1fabfc8c4b560040c01c7d9707758cfbad9a8063144bb37b494dd1b6f66a0222871e03 WHIRLPOOL 6e02359ce84352f39b13c3f59d9fd82788a5a2ae88d069df05642d5349cb33c06c3477de56c937a44742fb6aa6cfdb7b32dbadac131fb12e6387f983564879c6 -DIST rubygems-2.5.1.tgz 469494 SHA256 02d4bb76687983d973ea8700912e798ca23be32bcce7956171254c93a2365273 SHA512 fd333398f9ce3a0c734fc66bf936a8287a64f8dfafe01987cf85497be57f021fc64c1015de9b4f0a36d24ffda152c2b02055a425c05cbd43266f55c0b1d5f052 WHIRLPOOL 8f4a7ee94cb9825ea35606347734e53c95dabfdf458cc6914ca4eb875451314a520a4849c607aff61afb25f29e6e44e7ed0667b0757ea15fe53f9d4a71710e3d DIST rubygems-2.5.2.tgz 475434 SHA256 5171ce6fa04c74606991f9c318a924f095241d7ce18c21a00455c8ebe4aeecca SHA512 43544619799ac6f0b22285954a3b46a2d8aea425ef16a26de4ebb5ea1b3a4f2d3a2031ac53bb890554fe935ca1d03101a5d4d9eae4619aaab72a079650fd8921 WHIRLPOOL 59806bd34ab0bfa66bd770c02054c16bd5c5bb836d0213018151339fda422780e5ace4bfecfad408075ae25d6c74e40d0925dccdc7a46aff545b93cc21faa4b2 -DIST rubygems-2.6.1.tgz 477342 SHA256 c9c4d1a8367a1c05bc568fa0eb5c830974d0f328dd73827cc129c0905aae1f4f SHA512 e854140abb4b8e1d48ee612122818525c92e47871fd26835047fcb968da069c6b259f03ae6ba424f95d667b5a2e7c8afbcc07711a60c73ea7ab64e12ac7ddb63 WHIRLPOOL 3dc87db7f71ce4f3db745b1c5fa0c54220db48cedfee143329ed36c68b24f0e3a0397363390b780829308d4ce324b82e494bee034fa6d7081d264b30a5eb557e -DIST rubygems-2.6.2.tgz 478660 SHA256 fe9bcd5624579215314e8585852d8214e9be48357e9ab6cb70a594c8a25402c8 SHA512 f7887c6385119ea29db1338a84e608b42291ff9d6dfb4c6f8ccaad924d252499ca67007d891d5955d707d8c7b291789b6b075466dc66a4f793402296a32527d8 WHIRLPOOL d4c349a0586040ca952eef8ad8aa2fcd4ef0500e546c18f6ae9b152698a443524713c5c341568a97b6d59a3799fccc2b64767c24b754a1b631cba50331ef235d DIST rubygems-2.6.3.tgz 477766 SHA256 c32a806c31223a2e8061d4bd46f7cd7a17be3773bcccf7ef33b5b7f2d23bbd53 SHA512 e953c796372d8eb93149bebf7d00e7d16e9dc830990a84e651cd5b8b61f38d6d34d2b2fdcc23882d3638a919bd19a34bddeed8739f73418c79d4bc953a40fbb6 WHIRLPOOL 2a56ed4e9231075c0f74c14daf7fb78f46ba8413bc81916b517d0f2144c2386829c810ee7f747afc250774f63369127f0a830558e446bc3a935e11b1c84b4e1c DIST rubygems-2.6.4.tgz 478582 SHA256 94d71f42462e12b31054e8c939374f8314f024b1ae5ec1c68ecfc6290da260e8 SHA512 f90b371865b9ff549bab32aded8fd4b418398ad4532d7eaa301b5522d5436cdcefeeda3bbefc7ac47a8fa13ae59445ea9aacb00eeecd59fb2d57f8c0ef26abd7 WHIRLPOOL 384a6b4e992fd3f5896fabc91f85070a07661a6c8a1255a3038fc29a0d1be0965fc810991df678eca74e1fedbdb1e931565e532bf8214f8257f35d0f3a3015eb DIST rubygems-2.6.6.tgz 730034 SHA256 78e63243fc5a2bfd298276ff98c2b4a29915995e4d9ac4f302ed0893396d1474 SHA512 69d86c5f7c3490e64c3eb9acd9ff542bf3113c001efe8f13b1396fc833de2e8b3d64088c9debe35f98d627674b09ce03078b6337e89613b618d67a329a7d7d9b WHIRLPOOL 8e4c7e2fc0f33b5d7669c3249f82cd6cfc85da46365cc74959630b5c7f1b801d6a67caeac02a83b4a26d5785a04590512523504e6264ddd40a738c9768a326cf diff --git a/dev-ruby/rubygems/rubygems-2.5.1.ebuild b/dev-ruby/rubygems/rubygems-2.5.1.ebuild deleted file mode 100644 index 6928ad4d503c5..0000000000000 --- a/dev-ruby/rubygems/rubygems-2.5.1.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -USE_RUBY="ruby20 ruby21 ruby22 ruby23" - -inherit ruby-ng prefix - -DESCRIPTION="Centralized Ruby extension management system" -HOMEPAGE="https://rubygems.org/" -LICENSE="|| ( Ruby MIT )" - -SRC_URI="https://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 - dev-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_default_path/,/^ end/ s:^:#:' test/rubygems/test_gem.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_default_gem\|test_check_executable_overwrite\|test_require_works_after_cleanup\)/,/^ end/ s:^:#:' \ - test/rubygems/test_{gem_installer,require}.rb || die - sed -i -e '/test_\(load_default_gem\|default_spec_stub\)/,/^ 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 - rm -f test/rubygems/test_gem_indexer.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 --colour=no ruby show | head -n1) - fi - - ewarn - ewarn "To switch between available Ruby profiles, execute as root:" - ewarn "\teselect ruby set ruby(20|21|...)" - ewarn -} diff --git a/dev-ruby/rubygems/rubygems-2.6.1.ebuild b/dev-ruby/rubygems/rubygems-2.6.1.ebuild deleted file mode 100644 index 84e580465ff64..0000000000000 --- a/dev-ruby/rubygems/rubygems-2.6.1.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -USE_RUBY="ruby20 ruby21 ruby22 ruby23" - -inherit ruby-ng prefix - -DESCRIPTION="Centralized Ruby extension management system" -HOMEPAGE="https://rubygems.org/" -LICENSE="|| ( Ruby MIT )" - -SRC_URI="https://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 - dev-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_default_path/,/^ end/ s:^:#:' test/rubygems/test_gem.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_default_gem\|test_check_executable_overwrite\|test_require_works_after_cleanup\)/,/^ end/ s:^:#:' \ - test/rubygems/test_{gem_installer,require}.rb || die - sed -i -e '/test_\(load_default_gem\|default_spec_stub\)/,/^ 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 - rm -f test/rubygems/test_gem_indexer.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 --colour=no ruby show | head -n1) - fi - - ewarn - ewarn "To switch between available Ruby profiles, execute as root:" - ewarn "\teselect ruby set ruby(20|21|...)" - ewarn -} diff --git a/dev-ruby/rubygems/rubygems-2.6.2.ebuild b/dev-ruby/rubygems/rubygems-2.6.2.ebuild deleted file mode 100644 index 84e580465ff64..0000000000000 --- a/dev-ruby/rubygems/rubygems-2.6.2.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -USE_RUBY="ruby20 ruby21 ruby22 ruby23" - -inherit ruby-ng prefix - -DESCRIPTION="Centralized Ruby extension management system" -HOMEPAGE="https://rubygems.org/" -LICENSE="|| ( Ruby MIT )" - -SRC_URI="https://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 - dev-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_default_path/,/^ end/ s:^:#:' test/rubygems/test_gem.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_default_gem\|test_check_executable_overwrite\|test_require_works_after_cleanup\)/,/^ end/ s:^:#:' \ - test/rubygems/test_{gem_installer,require}.rb || die - sed -i -e '/test_\(load_default_gem\|default_spec_stub\)/,/^ 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 - rm -f test/rubygems/test_gem_indexer.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 --colour=no ruby show | head -n1) - fi - - ewarn - ewarn "To switch between available Ruby profiles, execute as root:" - ewarn "\teselect ruby set ruby(20|21|...)" - ewarn -}