summaryrefslogtreecommitdiff
path: root/dev-ruby/rubygems
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-ruby/rubygems
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-ruby/rubygems')
-rw-r--r--dev-ruby/rubygems/Manifest12
-rw-r--r--dev-ruby/rubygems/rubygems-2.7.10.ebuild2
-rw-r--r--dev-ruby/rubygems/rubygems-3.0.3.ebuild4
-rw-r--r--dev-ruby/rubygems/rubygems-3.0.4-r1.ebuild4
-rw-r--r--dev-ruby/rubygems/rubygems-3.0.6.ebuild4
-rw-r--r--dev-ruby/rubygems/rubygems-3.0.8.ebuild96
-rw-r--r--dev-ruby/rubygems/rubygems-3.1.2.ebuild6
7 files changed, 114 insertions, 14 deletions
diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest
index dee88847250d..2d3d8be8f5c9 100644
--- a/dev-ruby/rubygems/Manifest
+++ b/dev-ruby/rubygems/Manifest
@@ -9,10 +9,12 @@ DIST rubygems-2.7.10.tgz 863618 BLAKE2B 26a453d2808cbf03caa6f2ef4a829418de58f4ed
DIST rubygems-3.0.3.tgz 904175 BLAKE2B d99de4bdd51779ab214bc4a81f55483341a2c193d4304b8eeb6105cb95877e0a33fe03d93c47433ad3c6bdc8d3e453e33ffb799fd36164feac31616f95eeced4 SHA512 1dd585243341901c7b4cc60a4902000c10ce57fe2cc9c28e27e274a2e6029f936cde1c99d7097c93c2c5b2c8bcee5d692c8fe5cc00c996a040e4954b674e330e
DIST rubygems-3.0.4.tgz 883664 BLAKE2B d5ec493657c055561aa9c0c09719529857706db197bf266ef4c51e48e6f97c08d85a8923b0c6fd72b3fd6ecb584533ff8ca56515c555e9c5b786b0d99ad2a16e SHA512 887c64226ec0b32d33f2ea331936683406d54dc74d19e658a23521e25ab50aa23534fe9eecaf696154247ad1df1d24c233d8900b9aabc79096eebd6afef3f775
DIST rubygems-3.0.6.tgz 887156 BLAKE2B 685cfb108cc684ecbbcee6fe341baa429ac28f331b3db444c5ed3557bc169147dddc8d226780a85842bf1de2e24f6a60b0464820afa2a6838221c22543a36daa SHA512 1ef1822a2b19790a36a6d242b7d4584222617baa27787ec58961a9cfeb2733f19f9085490ffc72ee375d3153c7114e050c42e68fc8039e727fe5961b09365ee5
+DIST rubygems-3.0.8.tgz 888058 BLAKE2B e5cf7985fb67f2d4647fffa7679241a8722d5b7c3262432cfb06ba36716d8acaca6df3704a85e24d2f14c56f260f507067f31c3ccdd9321b922e8f13d085398c SHA512 ac8906360bea6e089c987308b1ee661d2f1c68e1ed66dcb7c5afd7ebfe5bef81c5a01ab6113c5eb5b0738129105f3176e0c595a0883a952082a048b7f20a5dbf
DIST rubygems-3.1.2.tgz 995386 BLAKE2B bddf5dfc3568402257a2218642e6a15fe904b837114b9ce3a1aad155b235e42d96b1b0d4c6be1ee2e71712b8f1876902c343afdcb6d191ae0a6560f582cb282c SHA512 707525a98d14d46e69922e1deecd3b6c4caa090ee8113ba43b3912dc615cd2b1e0a083ecd0876a08b69c209bc05bba67d179f70d65aca45a92ac543170f13d39
-EBUILD rubygems-2.7.10.ebuild 4532 BLAKE2B 717e148dea5154afb96ffe709198cb88f4854afbf88792e986ff71347cda5a0e40d5a12aa6f8833d21ea619335efd5684a485e4d53a119f979c99d92ee27f36f SHA512 97552f768a7f8a0281a2ee10d481162e1470aabb5edcd978b4acac1c8a4387108221aaf0b52c2912c08277fe88e281680d97c9866669b4607312761a0bd3f642
-EBUILD rubygems-3.0.3.ebuild 4674 BLAKE2B 836befdf9cf603635699fd75566d2158776b4921001706a7697df8889dc5e666ee24a29c5f5cae7db9d51d7a0b6980fb5ef30c3b6347b343ea7bdca6ead2fc78 SHA512 0918075a568834cc55bc616b147eb08926de6e28aed916f06eee857788eebf5912bee6fc76f510ca8d4d0d1b99f51af365f22853c81a22a5acc55c7e640c55a2
-EBUILD rubygems-3.0.4-r1.ebuild 2529 BLAKE2B 9097b5cc04d2fa5b22a30e7dfd7135eca6731aa98a76081165f8d0d39ab6d8a03013615cdb362ad4031c90680729bbaecac9d6b65d429796023e1b2b402a2a7c SHA512 b206a48a22c249e9b1f8212866c9ca989999c7a5460ab6ed0e8d5974e724270ed5defa7fcf284e6794ddba347ec28e1ec985561b04f73e638a02b368fe35bd59
-EBUILD rubygems-3.0.6.ebuild 2530 BLAKE2B f1ae60373637d6bf8033da863f78a144228b37362355916fda7efff53011adff3c230f2431daeab2f712bb5568f3b9f7ecca87a5c6852150e0233fc34c5f42c1 SHA512 8be7c73d249ff534b601b301108007e1ee172ade982bd4c66bae551684b97d07f424b2ad646f5f663deba44b8cbc22e82ef9864604a7925e5d0bdaea356c7b49
-EBUILD rubygems-3.1.2.ebuild 2839 BLAKE2B 56a37bbb42f24c64a0e231d48240c012e559475e67cef6db334a98227cec97c0b5a2ab453c7fe376547e2bce8410d38affe634f49b9fc3ed56e7d5edd2c14b53 SHA512 b5f404e0716ab7f241228818ffc287468a45905cf6e91face721e85e16230fca485199e60856b060adc6fa1735acea06f77e573a4f2b2e41e16fde9974dc82a8
+EBUILD rubygems-2.7.10.ebuild 4529 BLAKE2B 2706f44a89982e7977b806f262f8bec92ed3170d65514bb7530eed324fd2af51b223bbfa77f4d49c1ae09ff97d85d414a276ae069cfd94a138478ca414aaee29 SHA512 13e8f13f207319da0ccd38187eae049fa727a5aadc1a0d1045f67003bff3914812fc0c46549f698c829740d3ed6b555b6b096fb5d101204514ffd4a4395076ca
+EBUILD rubygems-3.0.3.ebuild 4670 BLAKE2B 1713f3a153613eee17e90eb393fc1ce524ed2df45e6cd0764dbc96b58da1880d3662fc6e46f7fe03ad7119781e34ea7f46e890b2762a646b95460fcc52e54abe SHA512 d4b72767c5ffc77fd752b51f4812c70c8d6d04b4a370989e30b1b6c8dd0cbb47794261f65938255e7fec24e34e85f23c5bda99e88282783dc6968fdd31df2821
+EBUILD rubygems-3.0.4-r1.ebuild 2525 BLAKE2B d6fc3f301a0a9440553fdbc6e56a6b9959a39630f02da59b1a89eadc69580832a6b45fc9c69441bfbe26b8ef0345208e9b041ffa77c1647edf32324029f722ea SHA512 fb1bae75c222cc24c789c930fbd10b5c9e97b99147e4f291479328d5196b8450649c5ed71372050b070e71dd89899a803c6e7d733804af983fd7243ae190f159
+EBUILD rubygems-3.0.6.ebuild 2526 BLAKE2B 1923c71e8c1e2bc211d27bc3e3c92693928243d9ddb20266931a8f3a17e06341fecce7a435925fb5b0fdc42f04f792d2f061f9c7417756c9d3288296789fd446 SHA512 a19a4be3f8fee3fccc449a083a58fb4ebdc9c16761e872634098abd57442c3b3558c621e05efdb5a9491d55fe916551502e6c3b2c1564f9fdb604c419c38b0d9
+EBUILD rubygems-3.0.8.ebuild 2660 BLAKE2B 0db6a1c95e674d1f6c65b386ea0853d006cd7ecef836cb52c19353f64dafa2c67467fe2f1f981c408b899bd8fa62e07457766000d3f0532d60210cc1511bee01 SHA512 b070b0e0a2f2514b980888e24a4fde8ff67f12fa8b12a4262d5b54fcec5f317192809f5752e95b1179857d605d0508f66f89fa86099b4a2cbd9b3eee94ee2992
+EBUILD rubygems-3.1.2.ebuild 2871 BLAKE2B 6968fd968123a189c0be0a4b6620f351992dc1335079bc5586e28195474659a2a43f7740b01b6ee87df0fbec645092a3b73740951b3ebbca56b25989f041d954 SHA512 b4b28b1dd41c3347e1c96e6bc080557ccc50b58ac8e38107963c7679b3427839c47a8da9936a82250be5922183d05ba834f98792207ca2acfeebe9d1b4252def
MISC metadata.xml 335 BLAKE2B c86eaf3d37fad025b8f6ca0b03e65b1b472716b4fda4ca4d08b415b29a63405d8e7b2684d309091c90411c5fe809e5129c6e0c0c4e7a982b4aa062ffdd0ca7fb SHA512 fd7bf880ad68fe5f1fe8eb79f9662af87831ed499517d5a97e22f18a4ddafc69d53118f020e15c3b8b171fe144bf6cb0ce799beaa6e4e4bdc01c984ab582388e
diff --git a/dev-ruby/rubygems/rubygems-2.7.10.ebuild b/dev-ruby/rubygems/rubygems-2.7.10.ebuild
index 68cba4a60dfb..f44569a04299 100644
--- a/dev-ruby/rubygems/rubygems-2.7.10.ebuild
+++ b/dev-ruby/rubygems/rubygems-2.7.10.ebuild
@@ -13,7 +13,7 @@ LICENSE="GPL-2 || ( 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-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT="0"
IUSE="server test"
RESTRICT="!test? ( test )"
diff --git a/dev-ruby/rubygems/rubygems-3.0.3.ebuild b/dev-ruby/rubygems/rubygems-3.0.3.ebuild
index ad752396332e..e82a8f5e2d9c 100644
--- a/dev-ruby/rubygems/rubygems-3.0.3.ebuild
+++ b/dev-ruby/rubygems/rubygems-3.0.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,7 +13,7 @@ LICENSE="GPL-2 || ( 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-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT="0"
IUSE="server test"
RESTRICT="!test? ( test )"
diff --git a/dev-ruby/rubygems/rubygems-3.0.4-r1.ebuild b/dev-ruby/rubygems/rubygems-3.0.4-r1.ebuild
index 26cc98a87d52..4ec315ffe548 100644
--- a/dev-ruby/rubygems/rubygems-3.0.4-r1.ebuild
+++ b/dev-ruby/rubygems/rubygems-3.0.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,7 +13,7 @@ LICENSE="GPL-2 || ( 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-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT="0"
IUSE="server test"
RESTRICT="!test? ( test )"
diff --git a/dev-ruby/rubygems/rubygems-3.0.6.ebuild b/dev-ruby/rubygems/rubygems-3.0.6.ebuild
index e4bbbd3eb423..f65e8be1f84d 100644
--- a/dev-ruby/rubygems/rubygems-3.0.6.ebuild
+++ b/dev-ruby/rubygems/rubygems-3.0.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,7 +13,7 @@ LICENSE="GPL-2 || ( 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-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT="0"
IUSE="server test"
RESTRICT="!test? ( test )"
diff --git a/dev-ruby/rubygems/rubygems-3.0.8.ebuild b/dev-ruby/rubygems/rubygems-3.0.8.ebuild
new file mode 100644
index 000000000000..2c78bdb6bd4b
--- /dev/null
+++ b/dev-ruby/rubygems/rubygems-3.0.8.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+inherit ruby-ng prefix
+
+DESCRIPTION="Centralized Ruby extension management system"
+HOMEPAGE="https://rubygems.org/"
+LICENSE="GPL-2 || ( Ruby MIT )"
+
+SRC_URI="https://rubygems.org/rubygems/${P}.tgz"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="0"
+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/rdoc
+ )"
+
+all_ruby_prepare() {
+
+ mkdir -p lib/rubygems/defaults || die
+ cp "${FILESDIR}/gentoo-defaults-3.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 -i -e '/test_env_shebang_flag/askip' test/rubygems/test_gem_commands_setup_command.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} --disable-gems -I.:lib:test:bundler/lib \
+ -e 'require "rubygems"; gem "minitest", "~>5.0"; 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
+
+ newbin bin/gem $(basename ${RUBY} | sed -e 's:ruby:gem:')
+}
+
+all_ruby_install() {
+ dodoc History.txt 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(23|24|...)"
+ ewarn
+}
diff --git a/dev-ruby/rubygems/rubygems-3.1.2.ebuild b/dev-ruby/rubygems/rubygems-3.1.2.ebuild
index 090abfea7b7c..ce3c96bea35d 100644
--- a/dev-ruby/rubygems/rubygems-3.1.2.ebuild
+++ b/dev-ruby/rubygems/rubygems-3.1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,13 +13,15 @@ LICENSE="GPL-2 || ( 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-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT="0"
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