summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2014-07-02 10:04:56 +0000
committerManuel Rüger <mrueg@gentoo.org>2014-07-02 10:04:56 +0000
commit891f303a6721efc4659c8bf5611153b16abbca51 (patch)
treed53fbe95bc7d73e63bfe9f8068b89001b24e168c /dev-ruby/rubygems
parentBump hastache to 0.6.0 (diff)
downloadhistorical-891f303a6721efc4659c8bf5611153b16abbca51.tar.gz
historical-891f303a6721efc4659c8bf5611153b16abbca51.tar.bz2
historical-891f303a6721efc4659c8bf5611153b16abbca51.zip
Cleanup old. Update elog about eselect.
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/rubygems')
-rw-r--r--dev-ruby/rubygems/ChangeLog6
-rw-r--r--dev-ruby/rubygems/Manifest20
-rw-r--r--dev-ruby/rubygems/rubygems-2.0.10.ebuild146
-rw-r--r--dev-ruby/rubygems/rubygems-2.0.14-r1.ebuild4
-rw-r--r--dev-ruby/rubygems/rubygems-2.0.14.ebuild4
-rw-r--r--dev-ruby/rubygems/rubygems-2.0.8.ebuild146
6 files changed, 12 insertions, 314 deletions
diff --git a/dev-ruby/rubygems/ChangeLog b/dev-ruby/rubygems/ChangeLog
index fb7ddd58cedd..1371e97e9a2f 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.232 2014/07/02 09:45:06 klausman Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.233 2014/07/02 10:04:52 mrueg Exp $
+
+ 02 Jul 2014; Manuel Rüger <mrueg@gentoo.org> -rubygems-2.0.10.ebuild,
+ -rubygems-2.0.8.ebuild, rubygems-2.0.14-r1.ebuild, rubygems-2.0.14.ebuild:
+ Cleanup old. Update elog about eselect.
02 Jul 2014; Tobias Klausmann <klausman@gentoo.org> rubygems-2.0.14.ebuild:
Stable on alpha, bug #508996
diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest
index f53ab42492c2..0f7ef2857e14 100644
--- a/dev-ruby/rubygems/Manifest
+++ b/dev-ruby/rubygems/Manifest
@@ -1,27 +1,13 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX 10rubygems 21 SHA256 8c30de9ba7f327237af47f85d8f7f6701d34c9a8780ff7303244667568ca5833 SHA512 230d3b6f2df0b379229e25f6a1e6914d5c1894b0d6763b2db28a0a7133a3e2a6afe09110f6de68c6ca199ca88323742b1adf8bea3005c77806ae48a4541c0264 WHIRLPOOL 5be3c2b12c8b7ad20936ee178fcccdbf712e1c5e630e9936eae69a1991caa4bda8a50d7b75142479e6bff87b1e2059482f28263c5a574109e1b0ae3b98e4fefe
AUX auto_gem.rb 159 SHA256 fe1efe24cd0ba36c55449e9623cd0be394980f37d12468624dad7ffdef72f4dc SHA512 e42e790013d20335ca5319803518102593408d077f22c95dcb08969c69d3a81e49e47cd002715bf760bfcd9a29304002354d8add42fd2415fb10a0a2a323d64c WHIRLPOOL 55931d6c7fa64cd95bb477a9239d058ec6c772e27712d4379372b4d2517dcaa5c15dcde63255065d80ddbd68476abe85ed0507cbfc4fda564c5cee5bd748e82b
AUX auto_gem.rb.ruby19 509 SHA256 f0f7f61b110955325be52d278fcc1d3f3ea395cd9523dba33af37a44fd59666d SHA512 2b8f4ae00fae383357dd1eb1159ecf1689cb5b79e996688ae091a157b9f27e980761ed8a771d9d3b954d325f817972c4d02f4b5d3c8f4307d2cebce7651af666 WHIRLPOOL 18a5d3452a907bf6b6da41c882fb787191c95c2a18c86dedcdcf2077a34b607b6aa91fa8cdcc5cbc12ca32c58269626a786415118b264edaf152fe8d60a29012
AUX conf.d-gem_server 81 SHA256 aa850780bebe0e31da9732d8707a748567ca72716fd91e294dc712e71f82db2f SHA512 71630a0530ec62f4024d9bfc4e6afe1f409f3bcb5d71ee5876d1e190c9e69016571ca8f500fcc7ffea6cbc36a8dab5eef2d0c61f72de99f2776c9137010b9ccd WHIRLPOOL a99d35afa6955ad585d5e2433648130ea50065dd1f2cd1bc3763390bd20740ecd6e144a056da5067190048a9a47de20b6156e6b70c64348663f13391974978ae
AUX gentoo-defaults.rb 972 SHA256 c0f821041391c262754a5caf7314562137218119eb3510b7edfc070462c3ca57 SHA512 fd5a33c433041efeefba4bb8d550b8db66f31d4c0966188f07943f4f575ee9e13da6ef6fd66f89a4b3b979c5b310d96e2876407b79aee6ed404ca3027859160c WHIRLPOOL f31f380016108649bcf64feff752a02f1c464990cee97f89f1bb4017225968d04d684c24142c4123d2ee987783189d318c444b80953f80504c5857b939e88ae4
AUX init.d-gem_server2 502 SHA256 b7f7d215bb3dba02150dbdc431a84308010515ad4c5d9776d0dd5b99bf9a2cee SHA512 57af68c884e54c734ca3f3e512e506bb3c2d282162530bcd8c34c477d5b40c253a09b190633f6a86beb863280f67de2b013c2dd75b9b53f09968feee8488ec4f WHIRLPOOL 4fd1dd72365e452803ed7176cc4fe90f387585e3d1f3133552138f681ac3005d5181f6a022d9b8ef7c661ec71537630b0254ec2c97b5c65513231d2f57c9279e
-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-2.0.10.ebuild 4826 SHA256 338f0d8a6a3edaebe0e9a14b4d57c0b7bb0e566945e2da80372b9ae7f01cb39f SHA512 af801cc92e143c1c6f0068db47969bfb70588b62b9acd1a175635b0a919f55e30179d8c35961947478f84da047611909873ff163ed45bd47cd84fe49a1ce0396 WHIRLPOOL e4efa56057d0935d9b3ad8c966f72d7eff6a659a29d811189006bb02f6bea542f3426bce9e2b6bff3e0b2860c604f3c6ab9401d4fc6cf29d3d7f640eda868bed
-EBUILD rubygems-2.0.14-r1.ebuild 4836 SHA256 3e1fb67e2786ce059ee802cd97680a5ecfa35416feef09f6d8f7aeccb771fbfa SHA512 8aa886e371dc17479213ed8b8de1d07730006302805810d27cb672001763739b64a604c2fdfbe7dbd7799da82d8d6d20c286019b802bced99c6e66fd06b1f9e1 WHIRLPOOL 9f64c27a551ad7937edcfd9f318e99ceece7267ae0aaa59ba292aacbf5d04e150ed7b19ef8b2426fcd8b4dec4348789b911e8c5658dae4e2bc1ae785a3a7273d
-EBUILD rubygems-2.0.14.ebuild 4824 SHA256 af6a8d2c0d0ae06ac2ca7dabc8ee80ac0841397d1d1f574b234beddd3fcbbfd1 SHA512 0b3aff53231126d076b0ac9ada96126633738d0f6b3e905eb8cdbc59390f7ba983b4c6d0108fbde5bf1c1d7b626d466d79c9077585660e058924ba6cf467b0e6 WHIRLPOOL be3b9ee957015fd1fec5385abf2a55b279f4b2627e91da2f946ae694ddfe5ca5cd5f9a05ffbeaa6fd002aef3a541d14083b5ec54343df4bfb6d945a39a57197b
+EBUILD rubygems-2.0.14-r1.ebuild 4835 SHA256 23cf6b736eeb9d8adffa060208485e40ea068ed8bb6aa9e02b03ebc91ea4ad90 SHA512 56d05acda9aaf689c95fd9073939903c48db65fd08ae1250d287adf7d08a7553416f5e66db538da1f498d8666f0f1e97f240e43a69fe77d5a1ba6a191dfdfcc6 WHIRLPOOL a02941f5c946450bb15fc1233117148f6ef9721218facd516f155b150550644d61d0c679119f4b421c87ef62dcc141f92018d80bab270b59073b84ee0c08c991
+EBUILD rubygems-2.0.14.ebuild 4821 SHA256 6b3da9c93f57d720d2b7369e6b73923ea3e3752494acfd7243971ea045506541 SHA512 dfa4a7cc6e42457d7bb4fc732c1c47a970c793106d1e5b54841ac9a354d08ac2d5e4a2096f96259edd1d26c8bc2e541df1e18529c4deaf72c94c3cbd1bf82915 WHIRLPOOL e3a2ef1b3886c4bc780b20e182b1a337988baa87f4b0a8744bf33e331639b521d060180717287dc28c2dc4ca6e8579d235a6045e0e1bcb680db1b71a0fa359c0
EBUILD rubygems-2.0.3.ebuild 4915 SHA256 89e00d55ce3fe73f4f0b12aed2ea4b067c4c76588cfc52f19512a89af4f107a8 SHA512 a0aec9038aa0198f9ee81fda4de05ac61b9a5e2e3dd2947b4eeef4c6e9e503f7661c4c9c188001ccf8a2a281773e2be76ea0361be48621ae8345af7931052bea WHIRLPOOL 44d63fff0a62266fee3f9ed083ea1a30080ff4d8eac9ec1cda9bcaf7ab2f8c2abf8299bf8ab08c800496df1ff72a7348c84276358c79ffb6f5ff0d994f62b1a0
-EBUILD rubygems-2.0.8.ebuild 4825 SHA256 1be5c62f9019a21deb0ce480918837bc5c44d77c19001f60440c509baafb7747 SHA512 9ea07e63dc219034ca815019a3b9c5951e32706b19322e757c845d1a7ccb3a226b81340f07097ba26ab0d49b63bcdc2e0cdb9448b66fe7717069721cc9fbbd9a WHIRLPOOL 84a4ab35b4911d2a458f140f05cfba299b371a2057ecf17d692278a3eda3fded83b0a12af7aa25b5daf3fb6bdc9806d3e6a4be82a2e567d3206efcab80a34b65
-MISC ChangeLog 35499 SHA256 995320200e8ce5c28cdab22af84e4444323d1a191ce0797516897e52b9fe2ae6 SHA512 aefd8edcb75ca00980afbaede95d32f15ccd8a9581ed6ed9be79ef471480d5c6532c512f1f924ce3e3c88b50050bb0dc273db14b264fa195d3634a235eb1e468 WHIRLPOOL debc4c0cd78e30218624556389045281a50fc0e7de30c0a49d6ad430f5d8f93381deeed8413e0f75f768642956e1c1e2dda6eaa43a81a9731c2a32a16775642f
+MISC ChangeLog 35689 SHA256 cfd3faec386393cee6e5e6941e7523d0948c4acb891874f83ed24afae1dd7437 SHA512 be22a198600c2cf329e4670ada39a0e5244d4d9888bb918493233906aa09c74c0f8ee24cd01b5e1dd71a2db1f91990faa572fe3ec16c8382da00b58498c306ca WHIRLPOOL b2104a534b30fd40ce079ab71d3c5a294d83f91ddf11e9ea9e2bfe142102eaa82a44086fd93ac8a7294e2e7b3d508a07edb8fc2f9966d56b621ac756b36b7645
MISC metadata.xml 318 SHA256 6e5f2eec30e8b7f9b678daf799db43ea56cc4566ca70635677d2cf5f60ebd3dc SHA512 a8036da4d9fd5c22fd71ab1eee6de35c25737616e9cf443786f0a6d9c2ebf1e5f3791f19ebe7693635eeb0bc793931e935ed0f7011fd37b764f7b26c59fde8a4 WHIRLPOOL 4aa04bfa68b9ac28debd59f64629806e100583b05a80edab02f917e9bb7f3b5afd7f0b35b05731580f895a531dcabf8dedf6ce21c43dd1cf44df66a21be6ae26
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2
-
-iEYEAREIAAYFAlOz1KMACgkQA+4Doc5dVOiyBgCfUcoMbkbiKq7wmctQCx9IQUao
-TW8AnimLvgHm4b8vJEqYazU+RAaV39vD
-=BqOQ
------END PGP SIGNATURE-----
diff --git a/dev-ruby/rubygems/rubygems-2.0.10.ebuild b/dev-ruby/rubygems/rubygems-2.0.10.ebuild
deleted file mode 100644
index 5ad7d9ac5136..000000000000
--- a/dev-ruby/rubygems/rubygems-2.0.10.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# 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.10.ebuild,v 1.1 2013/10/03 05:32:22 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"
-}
diff --git a/dev-ruby/rubygems/rubygems-2.0.14-r1.ebuild b/dev-ruby/rubygems/rubygems-2.0.14-r1.ebuild
index bdf1f91c59cb..14364ab78522 100644
--- a/dev-ruby/rubygems/rubygems-2.0.14-r1.ebuild
+++ b/dev-ruby/rubygems/rubygems-2.0.14-r1.ebuild
@@ -1,6 +1,6 @@
# 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.1 2014/04/28 18:24:20 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-2.0.14-r1.ebuild,v 1.2 2014/07/02 10:04:52 mrueg Exp $
EAPI=5
@@ -131,7 +131,7 @@ pkg_postinst() {
ewarn
ewarn "To switch between available Ruby profiles, execute as root:"
- ewarn "\teselect ruby set ruby(18|19|...)"
+ ewarn "\teselect ruby set ruby(19|20|...)"
ewarn
}
diff --git a/dev-ruby/rubygems/rubygems-2.0.14.ebuild b/dev-ruby/rubygems/rubygems-2.0.14.ebuild
index 784b7800fd08..c044a38e6c53 100644
--- a/dev-ruby/rubygems/rubygems-2.0.14.ebuild
+++ b/dev-ruby/rubygems/rubygems-2.0.14.ebuild
@@ -1,6 +1,6 @@
# 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.ebuild,v 1.10 2014/07/02 09:45:06 klausman Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-2.0.14.ebuild,v 1.11 2014/07/02 10:04:52 mrueg Exp $
EAPI=5
@@ -131,7 +131,7 @@ pkg_postinst() {
ewarn
ewarn "To switch between available Ruby profiles, execute as root:"
- ewarn "\teselect ruby set ruby(18|19|...)"
+ ewarn "\teselect ruby set ruby(19|20|...)"
ewarn
}
diff --git a/dev-ruby/rubygems/rubygems-2.0.8.ebuild b/dev-ruby/rubygems/rubygems-2.0.8.ebuild
deleted file mode 100644
index 9e042558856b..000000000000
--- a/dev-ruby/rubygems/rubygems-2.0.8.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# 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.8.ebuild,v 1.1 2013/09/10 18:21:48 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"
-}