diff options
Diffstat (limited to 'dev-ruby/rubygems')
-rw-r--r-- | dev-ruby/rubygems/Manifest | 6 | ||||
-rw-r--r-- | dev-ruby/rubygems/rubygems-3.5.9.ebuild | 116 | ||||
-rw-r--r-- | dev-ruby/rubygems/rubygems-3.6.3.ebuild (renamed from dev-ruby/rubygems/rubygems-3.5.3.ebuild) | 19 |
3 files changed, 15 insertions, 126 deletions
diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest index df07c0cb7ec8..9d9ee3bd8394 100644 --- a/dev-ruby/rubygems/Manifest +++ b/dev-ruby/rubygems/Manifest @@ -9,15 +9,13 @@ DIST rubygems-3.4.22.tar.gz 15054005 BLAKE2B 856b60bf3a2f477b6e0aeaa4522f17934a6 DIST rubygems-3.5.11.tar.gz 13541588 BLAKE2B 3cc349776955d1666d67f7e4021c3237cbe16928c60842a334f928dd018e31ddc40a94862ae6e760adf377ff41161445c96151fe07ccbffa58b426d37777a5ad SHA512 611096b4776176d9f166786d2d050c53c1d6284f635a9521b391f11304654b947a7a27b0eb40af0bfa80bc20b21abe8f189f8b60764eb4234c7ccb1e8fbebfef DIST rubygems-3.5.21.tar.gz 13169518 BLAKE2B dc0bac435903d84633ac5560f4739d0123bc8a4d8afb70ce47b4503bbe759f3de7642ad9e8d5f9f42cc4c715792edd24cfbe9474b5ae4cf7e642173cd9f26812 SHA512 9739799b020b8e11362f4892ec404fdf16661ff0166193b0130b2433f5a5c1d24db9792d490f448dcbb37cb31298d9ae0e06caa48953c7f48b36eec1d044bd68 DIST rubygems-3.5.23.tar.gz 13176890 BLAKE2B 45fa342eb10e4ea19122bef523771bcc7864d302e87f967e7048359bc8ff84e824caf18b4b5d07c5708e481153efba70a93e9446ed7bffa790d1fb00c0603009 SHA512 423e112551e85459a713a3ce89568341894075c63645a65d4efc81f2534d1d713c74c8405848417216b8c21f3428187c2411296bc5ef8eb034b2f155bf1b4020 -DIST rubygems-3.5.3.tar.gz 13495997 BLAKE2B 1c9e01cc15a7afb0dfeaf61d14cea43fa19844a901cf6337f542b14da608dfa016ba438807276018b372f9c6ce8a44df2ea491f08a1217bd9f3fd04cd1ec57a7 SHA512 50f6ccd9f47c6d56c20c2bc23a35f0ca0edb2d55ae9904749bf03d1181acee499cce668df6a8847a5a59b37de0efb884acf028df6b768cb7cd2f1993ca4f8db2 -DIST rubygems-3.5.9.tar.gz 13538062 BLAKE2B db8b3c17381572f53df222b7fed53c6c16e2d6bfd6a74a21aa18ee4bc43c7824c5918956076ccc15b93e4ed669d9e58bda8b9736b3435c736c8da726161634a6 SHA512 c1de5b5744665590179efb5389829ace8345703007d880ff99dc55a230482aa696c960add4c2e2d5c290f2a762c3a7a469668158c95cdf4acb4afa82c0d67ecb DIST rubygems-3.6.2.tar.gz 12945336 BLAKE2B 68e3637c78c2ac2f59eb58c26cb47c021fda5e0a6fc93e601731cf56ef81ef7f1829a1488074c8535869edf1566a71fdafe3a44bda379c896fc6872a6d660c6d SHA512 0a7a7a44656ebb717b0bd805a27c18a92e391589a36838e4abecc6c9643192ab9e2a63cd56e113716e635169fa659fcdd1157fa1e394a37c7de7081774365db2 +DIST rubygems-3.6.3.tar.gz 12949599 BLAKE2B 43dfba92af2507a69a939b6c0ffd8642de06b179f4aecfd2df772975c32651828533dda7130089729e2f92f9b87806f0cdf0195b378b3ce398cc4f30e47d5683 SHA512 a8252e661727f86ca3a6dacaf7a882316e236199a9f4cd2fc852e5ec1d0f694803273b97f489d7c55470174812f3a37618002f282c8f7188dc9cbaf92392c3f4 EBUILD rubygems-3.3.26.ebuild 3399 BLAKE2B 39478cde41adb8998b8d999cdfef01b813f3542e345a9c367aba8050a641807e38e5e9da828f8d98b9664b4ed77c702eb1151af73ca02067e731888a687750db SHA512 f86a08651f9aadc5be968ffdf830fd85641adff0b9470a605fc16ec993ac53b5a1033b63084ecb1b9fffd5cf2e0b189c59946461f804451e357b9c9ac737a7bb EBUILD rubygems-3.4.22.ebuild 3542 BLAKE2B 0c60668905bdc2bc2bf2a54b1725957926d7d21ee3c04277b187b8e67ca49a0206e7a782488bfcedec7e02197f963b8f4bf92074db5a0312a7ef0fd1770f1311 SHA512 5321fb1aa5802fb2ec2a88ae351d53158c90c7d67d485c31b0c1e6d0bd5680f1a28affacf1565dd31d46a2f595a3fd5af6ff1b9586a6a16f0e65053ef84e903f EBUILD rubygems-3.5.11.ebuild 3603 BLAKE2B 528473223a3c2224e93e0406bedb0666efc6c6dc88e06a8f7bdcbed124253d06168d518fdf41d5ce594f4583dfbd190df27eb955d22ab0fcb467c93c764aa819 SHA512 9e20b5b84c3fb4492642b10e79de31862e2b63ac88780254d844381a2b495066797320859433078fad5c29264a364456e8a5b81d178594dcfdd0fb63f6a6e587 EBUILD rubygems-3.5.21.ebuild 3830 BLAKE2B 8d61fc09ba42df48bb2591863013d8e8037a79a6ce39a6cc6bdc266d178a91a3b3cff8d9d216a6ad33533b62e95f598c2bbcaa8c129d9c980019cd229a43f8f6 SHA512 ce841c99bab7a05430df9d307c27f6fadc42991c5f68e627083e465b16726428fc4da76d02299b0d8fc67576bc8318eddc76391e3433855a08deb283157f7d6a EBUILD rubygems-3.5.23.ebuild 3947 BLAKE2B 016673ab84c1d00cf023c48983622888064f54b806c774f56a8e03df8f75cfb6d65e7cde6418576930cfb797352421cd29ce409ef9f3a3aa35ace5a61c79cb33 SHA512 9d1713006b3fadef0a9be22d96623bbd8d5c6b03bcf7501a5b6286db1ee4bf52651bfdc665c580eb82f27b825ebc9d6905a5a40eba4b9cc46b35efc5deae7e4e -EBUILD rubygems-3.5.3.ebuild 3556 BLAKE2B 9fd757bb4d3eac87ea6a2a39b3b484138f4185b8b4d635eba57cc2ad1c4d45c17410f46b62dc435c25172010fb5197061804a0fa2297c0c85a8b7740d1eae18c SHA512 f9cd964bda7e97bd5844f9bcbae832c2ec8294db5fd868d75b5e850471d41328404ec4ff64629a3a956c5fd76267f92e972ac4c80c12d2a5b35358de964c95d7 -EBUILD rubygems-3.5.9.ebuild 3556 BLAKE2B 7c7f6a1ed5c6b1eddf1e857d49c29dc6fe535cdb3f3f873cc6d3a2a733b935982ab2efe580f66eaad1304a6d996042a6ca6a3875c12187f3be0276e3801cb580 SHA512 c30a720d14e05c6109db45931689d553a7848bf0badc289c236b58e3e6251806773e0c3fa3667144ea1f8a83c2ce3d78c610a022eac83b98099dfe92c155e380 EBUILD rubygems-3.6.2.ebuild 3928 BLAKE2B 56cc5c1a14038f57f2b0d13a8476a6b338a2fc542bd2157354bafcdf757982555d1fbca30fb3c4e4c1c033af188dffcf8e4d7d0319ce5e742d7ed229f703de63 SHA512 10c699b2ce1b43650d8733c6e5b78e939a6f0a8252bcb2164d317ee2fb7a78d07446e579057f9e86be9b04e4c6b1292f629520847ff1ee6d4de29d12c9b951d4 +EBUILD rubygems-3.6.3.ebuild 3928 BLAKE2B 82a8f668a3a837b667bc47b0a65f57a094be5757e476531fdad8d480120b414f47665abc1adbee6e37e2593ceb7cc3bc369423cd0e59c70a8988a8cd269bbab8 SHA512 bbee1464b35d66b116c96f469f69cb85db2b5f27fefc8947a6ff9c56c1ee1f87229f98ba62559ada29c5c74b8d287f6117c55545c748815d965b0808e64ecb3a MISC metadata.xml 432 BLAKE2B c63e6f07840e2764fda3c1270275351adef92a243292b67181cc06a0fdbb76ee02e64069149c082d33d75f9407ced54156423b023fc1eb34a800282f0aead9ca SHA512 67ce708fa9f5532770b83481d4b33bb1e21be994dd7c5342c4abcd084b5cbfe544ee692e25a468e99e22174fe685312a3f42bb80f01120fcfe138046fb0a54b8 diff --git a/dev-ruby/rubygems/rubygems-3.5.9.ebuild b/dev-ruby/rubygems/rubygems-3.5.9.ebuild deleted file mode 100644 index d0c9d9d059fc..000000000000 --- a/dev-ruby/rubygems/rubygems-3.5.9.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32 ruby33" - -inherit ruby-ng prefix - -DESCRIPTION="Centralized Ruby extension management system" -HOMEPAGE="https://rubygems.org/" - -SRC_URI="https://github.com/rubygems/rubygems/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="|| ( Ruby MIT )" - -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="server test" -RESTRICT="!test? ( test )" - -PDEPEND="server? ( =dev-ruby/builder-3* )" - -ruby_add_depend "virtual/ruby-ssl" - -ruby_add_bdepend " - test? ( - dev-ruby/json - dev-ruby/minitest:5 - dev-ruby/rake - dev-ruby/rdoc - dev-ruby/webrick - )" - -all_ruby_prepare() { - # Remove unpackaged automatiek from Rakefile which stops it from working - sed -i -e '/automatiek/ s:^:#:' -e '/Automatiek/,/^end/ s:^:#:' Rakefile || die - - mkdir -p lib/rubygems/defaults || die - cp "${FILESDIR}/gentoo-defaults-5.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 - sed -e '/test_initialize_\(path_with_defaults\|regexp_path_separator\)/aomit "gentoo"' \ - -i test/rubygems/test_gem_path_support.rb || die - # Avoid test that won't work as json is also installed as plain ruby code - sed -i -e '/test_realworld_\(\|upgraded_\)default_gem/aomit "gentoo"' test/rubygems/test_require.rb || die - - # Avoid test that requires additional utility scripts - rm -f test/test_changelog_generator.rb || die - - # Avoid tests that require a network connection (for crates.io or other downloads) - rm -f test/rubygems/test_gem_ext_cargo_builder.rb || die - sed -e '/test_gem_exec_gem_uninstall/aomit "requires network"' \ - -i test/rubygems/test_gem_commands_exec_command.rb || die - - # Update manifest after changing files to avoid a test failure - if use test; then - rake update_manifest || die - fi -} - -each_ruby_compile() { - # Not really a build but... - sed -i -e 's:#!.*:#!'"${RUBY}"':' exe/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} --disable-gems -I.:lib:test:bundler/lib \ - -e 'require "rubygems"; gem "minitest", "~>5.0"; Dir["test/**/test_*.rb"].each { require _1 }' || 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 - - newbin exe/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') -} - -all_ruby_install() { - dodoc CHANGELOG.md README.md - - if use server; then - newinitd "${FILESDIR}/init.d-gem_server2" gem_server - newconfd "${FILESDIR}/conf.d-gem_server" gem_server - 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(30|31|...)" - ewarn -} diff --git a/dev-ruby/rubygems/rubygems-3.5.3.ebuild b/dev-ruby/rubygems/rubygems-3.6.3.ebuild index d1f12abbe3fc..2b846e6171b3 100644 --- a/dev-ruby/rubygems/rubygems-3.5.3.ebuild +++ b/dev-ruby/rubygems/rubygems-3.6.3.ebuild @@ -1,20 +1,20 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby31 ruby32 ruby33" +USE_RUBY="ruby31 ruby32 ruby33 ruby34" inherit ruby-ng prefix DESCRIPTION="Centralized Ruby extension management system" HOMEPAGE="https://rubygems.org/" -LICENSE="|| ( Ruby MIT )" SRC_URI="https://github.com/rubygems/rubygems/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="|| ( Ruby MIT )" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="server test" RESTRICT="!test? ( test )" @@ -28,6 +28,7 @@ ruby_add_bdepend " dev-ruby/minitest:5 dev-ruby/rake dev-ruby/rdoc + dev-ruby/test-unit dev-ruby/webrick )" @@ -55,9 +56,15 @@ all_ruby_prepare() { sed -e '/test_gem_exec_gem_uninstall/aomit "requires network"' \ -i test/rubygems/test_gem_commands_exec_command.rb || die - # Update manifest after changing files to avoid a test failure + # Avoid tests with newer rdoc versions. These tests have been disabled upstream. + sed -e '/test_execute_rdoc/aomit "no longer needed with rdoc 6.9.0"' \ + -i test/rubygems/test_gem_commands_{install,update}_command.rb || die + + # Update manifest after changing files to avoid a test failure. Set + # RUBYLIB to ensure that we consistently use the new code for + # rubygems and the bundled bundler. if use test; then - rake update_manifest || die + RUBYLIB=lib rake update_manifest || die fi } |