From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD5F0139694 for ; Sun, 26 Mar 2017 07:50:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 174DC21C06C; Sun, 26 Mar 2017 07:50:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D96C921C06C for ; Sun, 26 Mar 2017 07:50:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0C55234165F for ; Sun, 26 Mar 2017 07:50:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 323C173E0 for ; Sun, 26 Mar 2017 07:50:01 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1490510964.2c8acc41aa6b02548b515e1cc53acf207c57612b.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rubygems/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rubygems/Manifest dev-ruby/rubygems/rubygems-2.6.10.ebuild X-VCS-Directories: dev-ruby/rubygems/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 2c8acc41aa6b02548b515e1cc53acf207c57612b X-VCS-Branch: master Date: Sun, 26 Mar 2017 07:50:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 59f2fe85-293c-40ae-bc0f-37bd90390121 X-Archives-Hash: 7cf99b152299962d794e375f843ce497 commit: 2c8acc41aa6b02548b515e1cc53acf207c57612b Author: Hans de Graaff gentoo org> AuthorDate: Sun Mar 26 06:49:24 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Mar 26 06:49:24 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c8acc41 dev-ruby/rubygems: cleanup version with regressions Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-ruby/rubygems/Manifest | 1 - dev-ruby/rubygems/rubygems-2.6.10.ebuild | 111 ------------------------------- 2 files changed, 112 deletions(-) diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest index 9a8196f5432..8fb1b35ee98 100644 --- a/dev-ruby/rubygems/Manifest +++ b/dev-ruby/rubygems/Manifest @@ -1,6 +1,5 @@ DIST rubygems-2.2.5.tgz 416772 SHA256 0f015d63ee3f48be2cc440332d992a33f6df113ced25b7a0007372d304bfeaa4 SHA512 eac6d7c4801d7bf65ac8e244ff88677929e491db8c5054a31d936eaf1e1fabfc8c4b560040c01c7d9707758cfbad9a8063144bb37b494dd1b6f66a0222871e03 WHIRLPOOL 6e02359ce84352f39b13c3f59d9fd82788a5a2ae88d069df05642d5349cb33c06c3477de56c937a44742fb6aa6cfdb7b32dbadac131fb12e6387f983564879c6 DIST rubygems-2.5.2.tgz 475434 SHA256 5171ce6fa04c74606991f9c318a924f095241d7ce18c21a00455c8ebe4aeecca SHA512 43544619799ac6f0b22285954a3b46a2d8aea425ef16a26de4ebb5ea1b3a4f2d3a2031ac53bb890554fe935ca1d03101a5d4d9eae4619aaab72a079650fd8921 WHIRLPOOL 59806bd34ab0bfa66bd770c02054c16bd5c5bb836d0213018151339fda422780e5ace4bfecfad408075ae25d6c74e40d0925dccdc7a46aff545b93cc21faa4b2 -DIST rubygems-2.6.10.tgz 765890 SHA256 364c0eee8e0c9e8ab4879c5035832e5a27f0c97292d2264af5ae0020585280f0 SHA512 5f771e26fa57290a7dfb4c50778af4617964bb72141e757f538da2619ac36fa247715fb3f8cff314e5a573b27a38439c9a8a96fd37d806554e6f37d49608f6b7 WHIRLPOOL b7917472b1605a40602163978d66c13c95e63707ed8582b72e06787e2acd077e7b9a908da2f1970ec2f9b47ce91b32345c49c8e187c115a2807065590fe47154 DIST rubygems-2.6.11.tgz 766785 SHA256 aebec768c9010c97830d5ee7f55fa068ea470327fa073a1044f63cd4a341ae55 SHA512 3b0dd38c0aaf313c59e299dcf54f7bfb6e6d84b8b739573ddaf599e584da45ed7b1465f6521131b32f237e31a4796d9ef455b8be685064b3fd77a0355dfff13e WHIRLPOOL 6c16729c7f10ace64bb3d85c3f7614251d5a11384543a7a8ed745b8afc4bc4a3155827f57e3a455cdb737ec54282293c2d92b104ed1931bdedcaf371e8ba4b57 DIST rubygems-2.6.8.tgz 754300 SHA256 81aeb9f14e579c1753c90a8c70c76c3b2d510ee1a12e179cef8016cc9036d6ec SHA512 d676293ac5120b235a58c779ceb518d0052ee0435f06ee3a4e891119a037873c25a233ef82146b9b66f8719012999b61a12ce4f08d982f67b662eedfe6983e27 WHIRLPOOL ee05c9af9edb56681f7c287d955d96e8b8cdcd98a6b1612501ecf9e322704d4949418baac5b0b65e637f6f598ebd261967aa4bdd2cbc612765ebab4cf9c3d24d DIST rubygems-2.6.9.tgz 764277 SHA256 2608a9f8447b3657fd96e3b2d91e1df3f0064efab6db56f00ecba744aba2bef5 SHA512 dd92e03f760c708af1697be98f2d094480c4674ca80ff3d2537906920be06ca2f49efac5261fa36988a0606450d9c07ef81db90684547c0a7983ce20119caacb WHIRLPOOL dc46a16083b1fa18e988c092f3df2bf2a903df954df5c5d8584fdf18b7eee4ce6af6dba0f5a1b6a5ecd69759afd45695f870799012c4bd43909f9fcefa047b02 diff --git a/dev-ruby/rubygems/rubygems-2.6.10.ebuild b/dev-ruby/rubygems/rubygems-2.6.10.ebuild deleted file mode 100644 index cbd76d73c33..00000000000 --- a/dev-ruby/rubygems/rubygems-2.6.10.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby20 ruby21 ruby22 ruby23 ruby24" - -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 ~arm64 ~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" -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\|show_default_gems\)/,/^ 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 - sed -i -e '/test_require_when_gem_defined/,/^ end/ s:^:#:' test/rubygems/test_require.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 -}