From a345755b711b0a105aa014d8d880fb5858fd59a2 Mon Sep 17 00:00:00 2001 From: Nguyen Thai Ngoc Duy Date: Fri, 26 Jan 2007 15:39:28 +0000 Subject: [PATCH] #163536 and cleanup for 0.9.1 Package-Manager: portage-2.1.2_rc4-r5 --- dev-ruby/rubygems/Manifest | 60 +++++++++---------- .../rubygems/files/digest-rubygems-0.8.11 | 3 - dev-ruby/rubygems/files/digest-rubygems-0.9.0 | 3 - .../rubygems/files/digest-rubygems-0.9.0-r1 | 3 - dev-ruby/rubygems/rubygems-0.8.11.ebuild | 31 ---------- dev-ruby/rubygems/rubygems-0.9.0-r1.ebuild | 49 --------------- dev-ruby/rubygems/rubygems-0.9.0.ebuild | 48 --------------- 7 files changed, 27 insertions(+), 170 deletions(-) delete mode 100644 dev-ruby/rubygems/files/digest-rubygems-0.8.11 delete mode 100644 dev-ruby/rubygems/files/digest-rubygems-0.9.0 delete mode 100644 dev-ruby/rubygems/files/digest-rubygems-0.9.0-r1 delete mode 100644 dev-ruby/rubygems/rubygems-0.8.11.ebuild delete mode 100644 dev-ruby/rubygems/rubygems-0.9.0-r1.ebuild delete mode 100644 dev-ruby/rubygems/rubygems-0.9.0.ebuild diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest index 1eef8532b9d5..7245204c6581 100644 --- a/dev-ruby/rubygems/Manifest +++ b/dev-ruby/rubygems/Manifest @@ -1,3 +1,7 @@ +AUX 0.8.11-install.rb.extract_files.patch 1397 RMD160 1a204e3555318b9d83ef8d1a8fe3dff185ef8aed SHA1 b7cac69eeed99e43e99bbb2c6920987de0429ba1 SHA256 d46ef2483352a162742f111e1c378442b03d7dc87b186ac6139cf87249c99872 +MD5 31e3bacd1821de0272864c153b7c0dca files/0.8.11-install.rb.extract_files.patch 1397 +RMD160 1a204e3555318b9d83ef8d1a8fe3dff185ef8aed files/0.8.11-install.rb.extract_files.patch 1397 +SHA256 d46ef2483352a162742f111e1c378442b03d7dc87b186ac6139cf87249c99872 files/0.8.11-install.rb.extract_files.patch 1397 AUX 10rubygems 21 RMD160 02441be7de6307bbb859fbc2bf5891809fe9ecf8 SHA1 3f98150bfb39a3f3f1dfabcf2d9bf80051960d81 SHA256 8c30de9ba7f327237af47f85d8f7f6701d34c9a8780ff7303244667568ca5833 MD5 15ffbd574f0d1b8f0e79d060c92749b4 files/10rubygems 21 RMD160 02441be7de6307bbb859fbc2bf5891809fe9ecf8 files/10rubygems 21 @@ -6,6 +10,10 @@ AUX auto_gem.rb 159 RMD160 fbf261e5cf0a8450c51c33a7ad4dafbab21bd518 SHA1 8dde3d7 MD5 fafe3ad43fd0c53f7f10ec7736a90c4f files/auto_gem.rb 159 RMD160 fbf261e5cf0a8450c51c33a7ad4dafbab21bd518 files/auto_gem.rb 159 SHA256 fe1efe24cd0ba36c55449e9623cd0be394980f37d12468624dad7ffdef72f4dc files/auto_gem.rb 159 +AUX no-manage_gems.patch 472 RMD160 e70f8c939f4e35a5fb7e0ccc3935cda8089fd569 SHA1 eca009a56418bf076c1153d2a71ab4fe3a576f8a SHA256 36a4a5cca5c32185f5057934f10c28704f64ba1cb586120f20473875413b9f93 +MD5 9905636361088bee5e56beb6c94cf106 files/no-manage_gems.patch 472 +RMD160 e70f8c939f4e35a5fb7e0ccc3935cda8089fd569 files/no-manage_gems.patch 472 +SHA256 36a4a5cca5c32185f5057934f10c28704f64ba1cb586120f20473875413b9f93 files/no-manage_gems.patch 472 AUX no_post_install.patch 204 RMD160 e903ea665032f9695b7a05ec4b7b46f1351afcc2 SHA1 ba6f291af9552df9d134d5e4ef76c70ca0a0419a SHA256 85fb8720c63c3b3ff5257acd7b3be9a370f13364c800189006f7b9d4954ad536 MD5 664d3edb96dfbb4c5e2a3f6cbb12d566 files/no_post_install.patch 204 RMD160 e903ea665032f9695b7a05ec4b7b46f1351afcc2 files/no_post_install.patch 204 @@ -29,50 +37,36 @@ SHA256 2bd1d7637843b66148f50a8bb9b2c6ea55c6f19a7d25413bc978f3aac18ebcba files/ru DIST rubygems-0.8.11.tgz 160265 RMD160 381ef7f088b3b439f28797d6d7a3257b3e28d6e4 SHA1 6a7d047349a073f24621e589f50a6a6548f943be SHA256 6ad2b857248aef0e9a5297f708f9988fbade78e16d670109937a73e56fdbae6d DIST rubygems-0.9.0.tgz 174321 RMD160 7d2a4ec1a615f608e75c68ee346d957efbb34ed1 SHA1 90d2193e9bb91dbbfbb81ce749abcd827e3b6b53 SHA256 6e90baff5ec951939ffcec569b9e1829e46da56cd320b1de1c8e2f5be828fef0 DIST rubygems-0.9.1.tgz 190688 RMD160 49bbe6d686b7183784cb4e5f351933e9a68911e0 SHA1 b6ee8c4266d023dcf28a2ad9cd97f513d59cc280 SHA256 960c858e5fbea2d52f913349103e827398e71fdb76f05820927acd48e41f71aa -EBUILD rubygems-0.8.11-r5.ebuild 1592 RMD160 11be58813dcfece133d7ece7edad84bf4dcf97bd SHA1 b741fd25a6445cb9a7ac1b2578c16f17dcd940ba SHA256 7cce208d2cabd5ef1b67ad54180fe3b97147edc2349678bbfefa180238857a97 -MD5 59a72f0032391bcefac7450cc1653069 rubygems-0.8.11-r5.ebuild 1592 -RMD160 11be58813dcfece133d7ece7edad84bf4dcf97bd rubygems-0.8.11-r5.ebuild 1592 -SHA256 7cce208d2cabd5ef1b67ad54180fe3b97147edc2349678bbfefa180238857a97 rubygems-0.8.11-r5.ebuild 1592 -EBUILD rubygems-0.8.11.ebuild 929 RMD160 0537a1b2ae670de1de391961c19f1a71d1bd7ad9 SHA1 cd41a43498092eb8aeaf6e3c1aee572bf8af0a27 SHA256 81f7ebed88c532e3b7d0b4d96890025e65813d18873fc5b40ac16c5a3e93d2f4 -MD5 f3dea366912372d3b0fae0e524517abe rubygems-0.8.11.ebuild 929 -RMD160 0537a1b2ae670de1de391961c19f1a71d1bd7ad9 rubygems-0.8.11.ebuild 929 -SHA256 81f7ebed88c532e3b7d0b4d96890025e65813d18873fc5b40ac16c5a3e93d2f4 rubygems-0.8.11.ebuild 929 -EBUILD rubygems-0.9.0-r1.ebuild 1579 RMD160 b59e68aa73915ef6cec1f38b14c2f62efe1e7254 SHA1 55cc14dd38560903d29d10379f235ffed0ba37df SHA256 e298c2d3ff2ac1735a3eccc814171e7d27b90cfb6e386e96d2f7e47a9247a7df -MD5 4ae06fa13cda1151440948d7b38448d5 rubygems-0.9.0-r1.ebuild 1579 -RMD160 b59e68aa73915ef6cec1f38b14c2f62efe1e7254 rubygems-0.9.0-r1.ebuild 1579 -SHA256 e298c2d3ff2ac1735a3eccc814171e7d27b90cfb6e386e96d2f7e47a9247a7df rubygems-0.9.0-r1.ebuild 1579 -EBUILD rubygems-0.9.0-r2.ebuild 1929 RMD160 26e256c980f5110587dbdd8a1cdbbdfec733a003 SHA1 8e9bd20a4adf41535deca4df25ca0ba116008d62 SHA256 e325edb077b50ffbfab066d97b683d1a952288f9a952ff702082072979ccb14e -MD5 ee2ed84e52c72cd5aa134e82ce3169ee rubygems-0.9.0-r2.ebuild 1929 -RMD160 26e256c980f5110587dbdd8a1cdbbdfec733a003 rubygems-0.9.0-r2.ebuild 1929 -SHA256 e325edb077b50ffbfab066d97b683d1a952288f9a952ff702082072979ccb14e rubygems-0.9.0-r2.ebuild 1929 -EBUILD rubygems-0.9.0.ebuild 1533 RMD160 72d428973c212ebac1647a024e7230dc62537a3a SHA1 a4dc1a5eb4b7c69e3f7888f3743da321c7e971b1 SHA256 9d2ac76dc48391113aff30cbfa10fa9aef859320ac43a205f583a555785e38ed -MD5 f940aebc1d6ddfb2598d5cfbe5f2a9bc rubygems-0.9.0.ebuild 1533 -RMD160 72d428973c212ebac1647a024e7230dc62537a3a rubygems-0.9.0.ebuild 1533 -SHA256 9d2ac76dc48391113aff30cbfa10fa9aef859320ac43a205f583a555785e38ed rubygems-0.9.0.ebuild 1533 +EBUILD rubygems-0.8.11-r5.ebuild 1625 RMD160 e9e83bd0c5a6a42f193a83c9fd28f970f18ee800 SHA1 e99c0df6f6dc8bf11ddca868e665df765196fdf8 SHA256 8ce94857fe3fd1cc1fa5d1503ee302ff6d54655cea7334be4b4360f8fa4796b1 +MD5 0e346ed8cb63cd0e81b63650dfe1165e rubygems-0.8.11-r5.ebuild 1625 +RMD160 e9e83bd0c5a6a42f193a83c9fd28f970f18ee800 rubygems-0.8.11-r5.ebuild 1625 +SHA256 8ce94857fe3fd1cc1fa5d1503ee302ff6d54655cea7334be4b4360f8fa4796b1 rubygems-0.8.11-r5.ebuild 1625 +EBUILD rubygems-0.8.11-r6.ebuild 1681 RMD160 20e51961dc671c6d3c7cf792b3b74c6e039d7c5a SHA1 85e135b2ed68d699ed1d034328e4a2ee2ef98d5b SHA256 3d0a6fac0386c500066c43e2d00acac40193f466e20af7a059052075c2453963 +MD5 557f03742256536bc28f9bf143274c53 rubygems-0.8.11-r6.ebuild 1681 +RMD160 20e51961dc671c6d3c7cf792b3b74c6e039d7c5a rubygems-0.8.11-r6.ebuild 1681 +SHA256 3d0a6fac0386c500066c43e2d00acac40193f466e20af7a059052075c2453963 rubygems-0.8.11-r6.ebuild 1681 +EBUILD rubygems-0.9.0-r2.ebuild 1928 RMD160 9222e4c8ee0dbf65446ba03605e7b2cc797436ba SHA1 fe2bf8bb668b216d694948c2f4e1d26f54aa2162 SHA256 6fe113437ee4bb13a6c697a49e2a4e36ee2958037081ab2baf2b0ee2c9ae010a +MD5 96c7200c689910f457ca075cd5a1845a rubygems-0.9.0-r2.ebuild 1928 +RMD160 9222e4c8ee0dbf65446ba03605e7b2cc797436ba rubygems-0.9.0-r2.ebuild 1928 +SHA256 6fe113437ee4bb13a6c697a49e2a4e36ee2958037081ab2baf2b0ee2c9ae010a rubygems-0.9.0-r2.ebuild 1928 EBUILD rubygems-0.9.1.ebuild 2173 RMD160 827cb6319d5907f5c79c5dcc79c26e491f256c41 SHA1 253126b1590a2f8a3ef9f7c2aa61a1280ea59a23 SHA256 39626bf1d15994d9b50ef8ce6906e1e8b17f83c6702a3902033fadfc0f6ac50e MD5 ca006563f3b416b5c5f8d81af548e82a rubygems-0.9.1.ebuild 2173 RMD160 827cb6319d5907f5c79c5dcc79c26e491f256c41 rubygems-0.9.1.ebuild 2173 SHA256 39626bf1d15994d9b50ef8ce6906e1e8b17f83c6702a3902033fadfc0f6ac50e rubygems-0.9.1.ebuild 2173 -MISC ChangeLog 6428 RMD160 7e3599b6ecf588c3dec5e4f221273784385589fc SHA1 7bb01a9dd8e46b43ffc0f1d364979e081852fb14 SHA256 c99eb252ffb75d1669fbdda902e0d8291f539d84db5a700287db8b8c26164bb6 -MD5 60797c67b0a14dd347e01cdc7f43ed7d ChangeLog 6428 -RMD160 7e3599b6ecf588c3dec5e4f221273784385589fc ChangeLog 6428 -SHA256 c99eb252ffb75d1669fbdda902e0d8291f539d84db5a700287db8b8c26164bb6 ChangeLog 6428 +MISC ChangeLog 6894 RMD160 1eafe88711b2466ef97f4337ad4eb56ad6e170b8 SHA1 3f0deee3c15374535aaca6e9cab8a80f52875fcf SHA256 2a281942c63e0faf67a97c927cf0c232386bab8d51caacf047be64ab65d7dbb4 +MD5 6f471c7d7aaf476e4e54d27bbc5cb0d9 ChangeLog 6894 +RMD160 1eafe88711b2466ef97f4337ad4eb56ad6e170b8 ChangeLog 6894 +SHA256 2a281942c63e0faf67a97c927cf0c232386bab8d51caacf047be64ab65d7dbb4 ChangeLog 6894 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c metadata.xml 157 -MD5 0e906a2c3de4ace9bd223e521501d86e files/digest-rubygems-0.8.11 238 -RMD160 0924f6a1ce7439f950514224be9a41a421db4221 files/digest-rubygems-0.8.11 238 -SHA256 e671d8919c23100c53c004393e4e030ff284ee0fef8021d6611db28fd8a90da3 files/digest-rubygems-0.8.11 238 MD5 0e906a2c3de4ace9bd223e521501d86e files/digest-rubygems-0.8.11-r5 238 RMD160 0924f6a1ce7439f950514224be9a41a421db4221 files/digest-rubygems-0.8.11-r5 238 SHA256 e671d8919c23100c53c004393e4e030ff284ee0fef8021d6611db28fd8a90da3 files/digest-rubygems-0.8.11-r5 238 -MD5 4c7cb65883b2c77de5ec840e74eca652 files/digest-rubygems-0.9.0 235 -RMD160 14cda89d31f6391477c71b22c23c9a4ade30e301 files/digest-rubygems-0.9.0 235 -SHA256 70a1185b3b03d3e319df2082ac691e533568859a4f8ee26de4898a35806aa378 files/digest-rubygems-0.9.0 235 -MD5 4c7cb65883b2c77de5ec840e74eca652 files/digest-rubygems-0.9.0-r1 235 -RMD160 14cda89d31f6391477c71b22c23c9a4ade30e301 files/digest-rubygems-0.9.0-r1 235 -SHA256 70a1185b3b03d3e319df2082ac691e533568859a4f8ee26de4898a35806aa378 files/digest-rubygems-0.9.0-r1 235 +MD5 0e906a2c3de4ace9bd223e521501d86e files/digest-rubygems-0.8.11-r6 238 +RMD160 0924f6a1ce7439f950514224be9a41a421db4221 files/digest-rubygems-0.8.11-r6 238 +SHA256 e671d8919c23100c53c004393e4e030ff284ee0fef8021d6611db28fd8a90da3 files/digest-rubygems-0.8.11-r6 238 MD5 4c7cb65883b2c77de5ec840e74eca652 files/digest-rubygems-0.9.0-r2 235 RMD160 14cda89d31f6391477c71b22c23c9a4ade30e301 files/digest-rubygems-0.9.0-r2 235 SHA256 70a1185b3b03d3e319df2082ac691e533568859a4f8ee26de4898a35806aa378 files/digest-rubygems-0.9.0-r2 235 diff --git a/dev-ruby/rubygems/files/digest-rubygems-0.8.11 b/dev-ruby/rubygems/files/digest-rubygems-0.8.11 deleted file mode 100644 index 337bb332079b..000000000000 --- a/dev-ruby/rubygems/files/digest-rubygems-0.8.11 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 aa363b428c4c1fc2e076a4ff77b957d7 rubygems-0.8.11.tgz 160265 -RMD160 381ef7f088b3b439f28797d6d7a3257b3e28d6e4 rubygems-0.8.11.tgz 160265 -SHA256 6ad2b857248aef0e9a5297f708f9988fbade78e16d670109937a73e56fdbae6d rubygems-0.8.11.tgz 160265 diff --git a/dev-ruby/rubygems/files/digest-rubygems-0.9.0 b/dev-ruby/rubygems/files/digest-rubygems-0.9.0 deleted file mode 100644 index 5b13f741f2b3..000000000000 --- a/dev-ruby/rubygems/files/digest-rubygems-0.9.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 5d496e1f415b8b4033ab867f01d1161f rubygems-0.9.0.tgz 174321 -RMD160 7d2a4ec1a615f608e75c68ee346d957efbb34ed1 rubygems-0.9.0.tgz 174321 -SHA256 6e90baff5ec951939ffcec569b9e1829e46da56cd320b1de1c8e2f5be828fef0 rubygems-0.9.0.tgz 174321 diff --git a/dev-ruby/rubygems/files/digest-rubygems-0.9.0-r1 b/dev-ruby/rubygems/files/digest-rubygems-0.9.0-r1 deleted file mode 100644 index 5b13f741f2b3..000000000000 --- a/dev-ruby/rubygems/files/digest-rubygems-0.9.0-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 5d496e1f415b8b4033ab867f01d1161f rubygems-0.9.0.tgz 174321 -RMD160 7d2a4ec1a615f608e75c68ee346d957efbb34ed1 rubygems-0.9.0.tgz 174321 -SHA256 6e90baff5ec951939ffcec569b9e1829e46da56cd320b1de1c8e2f5be828fef0 rubygems-0.9.0.tgz 174321 diff --git a/dev-ruby/rubygems/rubygems-0.8.11.ebuild b/dev-ruby/rubygems/rubygems-0.8.11.ebuild deleted file mode 100644 index 2471f0de313e..000000000000 --- a/dev-ruby/rubygems/rubygems-0.8.11.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-0.8.11.ebuild,v 1.5 2007/01/21 08:15:04 pclouds Exp $ - -RUBY_BUG_145222=yes -inherit ruby - -DESCRIPTION="Centralized Ruby extension management system" -HOMEPAGE="http://rubyforge.org/projects/rubygems/" -LICENSE="Ruby" - -# The URL depends implicitly on the version, unfortunately. Even if you -# change the filename on the end, it still downloads the same file. -SRC_URI="http://rubyforge.org/frs/download.php/5207/${P}.tgz" - -KEYWORDS="~amd64 ppc ~ppc-macos sparc x86" -SLOT="0" -IUSE="examples" - -USE_RUBY="ruby18" -DEPEND="virtual/ruby" - -src_compile() { - return -} - -src_install() { - ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["MAJOR"] + "." + Config::CONFIG["MINOR"]') - GEM_HOME=${D}/usr/lib/ruby/gems/$ver ruby_src_install - keepdir /usr/lib/ruby/gems/$ver/doc -} diff --git a/dev-ruby/rubygems/rubygems-0.9.0-r1.ebuild b/dev-ruby/rubygems/rubygems-0.9.0-r1.ebuild deleted file mode 100644 index d7adaa1c3e33..000000000000 --- a/dev-ruby/rubygems/rubygems-0.9.0-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-0.9.0-r1.ebuild,v 1.2 2007/01/21 08:15:04 pclouds Exp $ - -RUBY_BUG_145222=yes -inherit ruby - -DESCRIPTION="Centralized Ruby extension management system" -HOMEPAGE="http://rubyforge.org/projects/rubygems/" -LICENSE="Ruby" - -# The URL depends implicitly on the version, unfortunately. Even if you -# change the filename on the end, it still downloads the same file. -SRC_URI="http://rubyforge.org/frs/download.php/11289/${P}.tgz" - -KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc-macos ~ppc64 ~sparc ~x86 ~x86-fbsd" -SLOT="0" -IUSE="examples" -DEPEND=">=dev-lang/ruby-1.8" - -PATCHES="${FILESDIR}/no_post_install.patch - ${FILESDIR}/${P}-build-c-extensions.patch" -USE_RUBY="ruby18" - -src_compile() { - return -} - -src_install() { - ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["MAJOR"] + "." + Config::CONFIG["MINOR"]') - GEM_HOME=${D}/usr/lib/ruby/gems/$ver ruby_src_install - cp "${FILESDIR}/auto_gem.rb" "${D}"/$(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]') - keepdir /usr/lib/ruby/gems/$ver/doc - doenvd "${FILESDIR}/10rubygems" -} - -pkg_postinst() -{ - ewarn "If you have previously switched to using ruby18_with_gems using ruby-config, this" - ewarn "package has removed that file and makes it unnecessary anymore. Please use ruby-config" - ewarn "to revert back to ruby18." -} - -pkg_postrm() -{ - # If we potentially downgraded, then getting rid of RUBYOPT from env.d is probably a smart idea. - env-update - source /etc/profile -} diff --git a/dev-ruby/rubygems/rubygems-0.9.0.ebuild b/dev-ruby/rubygems/rubygems-0.9.0.ebuild deleted file mode 100644 index e9f108d1b5ec..000000000000 --- a/dev-ruby/rubygems/rubygems-0.9.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-0.9.0.ebuild,v 1.3 2007/01/21 08:15:04 pclouds Exp $ - -RUBY_BUG_145222=yes -inherit ruby - -DESCRIPTION="Centralized Ruby extension management system" -HOMEPAGE="http://rubyforge.org/projects/rubygems/" -LICENSE="Ruby" - -# The URL depends implicitly on the version, unfortunately. Even if you -# change the filename on the end, it still downloads the same file. -SRC_URI="http://rubyforge.org/frs/download.php/11289/${P}.tgz" - -KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc-macos ~ppc64 ~sparc ~x86 ~x86-fbsd" -SLOT="0" -IUSE="examples" -DEPEND=">=dev-lang/ruby-1.8" - -PATCHES="${FILESDIR}/no_post_install.patch" -USE_RUBY="ruby18" - -src_compile() { - return -} - -src_install() { - ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["MAJOR"] + "." + Config::CONFIG["MINOR"]') - GEM_HOME=${D}/usr/lib/ruby/gems/$ver ruby_src_install - cp "${FILESDIR}/auto_gem.rb" "${D}"/$(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]') - keepdir /usr/lib/ruby/gems/$ver/doc - doenvd "${FILESDIR}/10rubygems" -} - -pkg_postinst() -{ - ewarn "If you have previously switched to using ruby18_with_gems using ruby-config, this" - ewarn "package has removed that file and makes it unnecessary anymore. Please use ruby-config" - ewarn "to revert back to ruby18." -} - -pkg_postrm() -{ - # If we potentially downgraded, then getting rid of RUBYOPT from env.d is probably a smart idea. - env-update - source /etc/profile -} -- 2.26.2