diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-06-11 05:37:17 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-06-11 05:37:17 +0000 |
commit | de208a949135335c35a2b795b98a128d4053c6a2 (patch) | |
tree | 79d4e9dd3e68f0b55cf488e0fee84695b6221b79 /dev-ruby/rubygems | |
parent | Cleanup. (diff) | |
download | historical-de208a949135335c35a2b795b98a128d4053c6a2.tar.gz historical-de208a949135335c35a2b795b98a128d4053c6a2.tar.bz2 historical-de208a949135335c35a2b795b98a128d4053c6a2.zip |
Version bump.
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/rubygems')
-rw-r--r-- | dev-ruby/rubygems/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/rubygems/Manifest | 12 | ||||
-rw-r--r-- | dev-ruby/rubygems/rubygems-2.2.5.ebuild | 121 | ||||
-rw-r--r-- | dev-ruby/rubygems/rubygems-2.4.8.ebuild | 113 |
4 files changed, 250 insertions, 5 deletions
diff --git a/dev-ruby/rubygems/ChangeLog b/dev-ruby/rubygems/ChangeLog index e5cd21aa299c..7ec5b673eb2b 100644 --- a/dev-ruby/rubygems/ChangeLog +++ b/dev-ruby/rubygems/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-ruby/rubygems # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.264 2015/06/07 14:32:37 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/ChangeLog,v 1.265 2015/06/11 05:37:16 graaff Exp $ + +*rubygems-2.4.8 (11 Jun 2015) +*rubygems-2.2.5 (11 Jun 2015) + + 11 Jun 2015; Hans de Graaff <graaff@gentoo.org> +rubygems-2.2.5.ebuild, + +rubygems-2.4.8.ebuild: + Version bump. 07 Jun 2015; Hans de Graaff <graaff@gentoo.org> rubygems-2.2.4.ebuild: Add ruby21. diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest index 9afabb5cff1c..0ce90051de17 100644 --- a/dev-ruby/rubygems/Manifest +++ b/dev-ruby/rubygems/Manifest @@ -9,18 +9,22 @@ AUX gentoo-defaults.rb 972 SHA256 c0f821041391c262754a5caf7314562137218119eb3510 AUX init.d-gem_server2 502 SHA256 b7f7d215bb3dba02150dbdc431a84308010515ad4c5d9776d0dd5b99bf9a2cee SHA512 57af68c884e54c734ca3f3e512e506bb3c2d282162530bcd8c34c477d5b40c253a09b190633f6a86beb863280f67de2b013c2dd75b9b53f09968feee8488ec4f WHIRLPOOL 4fd1dd72365e452803ed7176cc4fe90f387585e3d1f3133552138f681ac3005d5181f6a022d9b8ef7c661ec71537630b0254ec2c97b5c65513231d2f57c9279e DIST rubygems-2.2.2.tgz 414111 SHA256 572dd13baa1dfb9756db9fbfeb629be1634efddb7014c552845c0e9a5a643009 SHA512 574d72436356ae66834ee6991e4a886e37babc98ca5b270086f43b5a85f8fdb50365f5a2109e937163dad5a1b8a4d66f16d2308ed27438c99be036b3e56d3dd1 WHIRLPOOL 442efa9ed4bf4e39802f5c9307e0d4ae55372daf47e7a3d98d55a3d9e79afdb10f8e32e95ea0166d2fa264dc0c8d2bc01b8ec4de31fc022ef950b0cb8794a4bd DIST rubygems-2.2.4.tgz 416708 SHA256 31a9e25a7ce8c4d6547cdd31cb504af8f643bb26c865227a66113673853fa5cb SHA512 f7e345698f09cf6148fc7a3ccedcb4914a234f40baca8e03c9fb37b1209ae7aa0d48e8b20a6868289759df5b5c05b79ff308dd8f1b0de41c916b8550ba7f2978 WHIRLPOOL b561651ed96ac9c525104d6a785f88e19dda475cb38b04687ecdf64f1683659750bc84b85f87bbddd0436710bd0d985641f6417bb249dd9be29317c8fff1ca05 +DIST rubygems-2.2.5.tgz 416772 SHA256 0f015d63ee3f48be2cc440332d992a33f6df113ced25b7a0007372d304bfeaa4 SHA512 eac6d7c4801d7bf65ac8e244ff88677929e491db8c5054a31d936eaf1e1fabfc8c4b560040c01c7d9707758cfbad9a8063144bb37b494dd1b6f66a0222871e03 WHIRLPOOL 6e02359ce84352f39b13c3f59d9fd82788a5a2ae88d069df05642d5349cb33c06c3477de56c937a44742fb6aa6cfdb7b32dbadac131fb12e6387f983564879c6 DIST rubygems-2.4.6.tgz 447588 SHA256 76d3f3b10aa824d23a511f098ab777c6473b98ffa733f7be4222408897b68db9 SHA512 2cf5447e0de8e8f85916e91774eba1f2113397d3ed7147671b74443696574ba0478d8f2aec789d024eabcd5afc1c4910dbe71f389b30045fa50bde14d2bb1cb1 WHIRLPOOL e901f4354c706666b8f85cd0d345c8ad04eecb88914927e9b213bd7a83fd9be42c3d1082da87cafce0cc05deafa70436250a2fee92b62f91e6e113fbfa66c1b0 DIST rubygems-2.4.7.tgz 447941 SHA256 62fabf8b1a3009cf65f0fc9c2bad68754aa229780d7139232c4ca9f4708ad6ec SHA512 28de22094c2815a70484f4362b5fc77ee225362e9736f88b25dceea724c567bc2d4135dcb809f298c9a2f49395995486e6131bde7e502882e27f87f482bce110 WHIRLPOOL a1f008cf54d176199a49134227bd324a0ccec9337f0e03b49a44616a7704a42753ebf34b74bba20679980398c73a7b6179d9dd575185b8d2dc13f117cf1db823 +DIST rubygems-2.4.8.tgz 447712 SHA256 5a4335fef5904ceb76d912a9d4a2464fbbb172df3b2abcb0c67003e77764845e SHA512 1cc2e9e19d665268f475ce90547377d41a4ea5ce9a9afab4979de0247a0dd82b04529c087c899d9ced5564fa9051e1d2fe23ddb764ba411915bab2ce344ac419 WHIRLPOOL e9fa65b3ff24a05082fd6ded221706c45e8d7c6677ccc31e6971991320800d47fef99651fb338c797e20ab4ab7775c7192e09f4575fc815640c4f2a8d5ea273b EBUILD rubygems-2.2.2.ebuild 4466 SHA256 a19f0996d6b25737e0ebfba5bc5afbe5e6903a5ce0505bbe94edad2de477ee9e SHA512 158e021ef5504d086ec8ca88c5eafbf9d8bac60496fd7ee06083d4d177259701a09b55c1a0865432859747d9952c440ad5da72d69b7cb8ed7921b3bcd91cdf3b WHIRLPOOL bce0fc79b35ef9473a4c127dde66454aee484b46c17987a0b8cb33e07a75ab8aaa28069ecc88e4ca55a056f6560c43497a15da869700eb3556abce7543f59978 EBUILD rubygems-2.2.4.ebuild 4481 SHA256 f35c78bd53ebf6de1b979825859c90698fbdd41916d1da0634beb4806293013e SHA512 d371a88c2767fd49db3e2850fdeaeaeed84eb1c5f53fe36a183cc848af76fdc9f95d959e7706e7ccc113c9f5e4eaa8c8c50b6ef5efda1c11758e59cd8f803209 WHIRLPOOL 1427dfcb18cad1409cda1ff7b9228178f6e02e96344db67c4a69693b5d18bac9c9f20ffe1f266b1765b7c5da3443042a242e5f087f5616b6461120e579ecbba1 +EBUILD rubygems-2.2.5.ebuild 4481 SHA256 01533851ccebf69d50bdeaef3f9a7431346d768a09757d148dc459d1a4b7e541 SHA512 f251169541f11f363b02ac1dad42eca0296bd263429aac6e64f53554525deac0339950a0e532cb17a96054c778305302d70fa44bf85d1a15d1300717801f6a4f WHIRLPOOL 82b2f907e18a8af9c7df3c45987f2926a444b4a41f4d23bd32e07885b6c3cdef18a9554911ea73f9fbe8af5dc3edbe4d9379defa218beafbf0bcbdeff2dd3e24 EBUILD rubygems-2.4.6.ebuild 4206 SHA256 ef516a70ffba455494fdbd6b30439832b7d4ef20639af461ae64e9cbdc3dd1e3 SHA512 78e47e7df9c8f05f900a954350c0f4ed31930da3e213c8067a5f803b4f61c1eda0fdc5020b5ad888aa5af89b3a7677e577d2e977887dd63e25b49ac67423a6f2 WHIRLPOOL 985ee3bfd8a6d9778ff8947f9a25ee3db8f54e9bcacd961068877f02604dcb278057bfe2e15a524559ee320f5ea6d51d5b45e5281b9f8dc1557110c88059e823 EBUILD rubygems-2.4.7.ebuild 4206 SHA256 ce26e83975c850dd8786eb71ba66fbab5b12964b609b559f06ad2307435c6cc5 SHA512 fd48e3ba19e6dd21c831e22715a91520827d2047b4d2218ec91d7e4b92ec2f12f4052dffda046dfaac7340b479d923b9467ea7e1c9387bc5190ae2e24e6fa616 WHIRLPOOL 454919cf5047c820e35d8ff02d3ab9db5be85ce27713bb9c990ff22987361d84746af2b87e89c60cb45fa76a7220ead0bc7730c33e96160d67354312735f2e52 -MISC ChangeLog 39656 SHA256 2b8ac643feb5858c848fd68024df27bfb2c7fec931953342edca2e62ec422aac SHA512 166dde0a30187920dbb2b1a54accf67a601c90f44decf437398941ec827c8d87929d33426bbbdc0cdb8d40c61615975ca22054793623a35df89dd6a81f92c141 WHIRLPOOL 88ce063f36b692a4e524662833e2f9b0b12992509dabf91f6bd3c4c03aedcf74afa7e01e4888c6a5610df40f851c08dce5f7e9cca47408af0f9f6e3242221ab6 +EBUILD rubygems-2.4.8.ebuild 4206 SHA256 cd33034a0180a57786daba23f27b2c9406c97e3b38acaa16e710b898d5848d4b SHA512 d2aae1aae94d7a28d28788c16dcdfb5ed4bc6e995188c5a4d5ee27b4e99dfa5ce19a7ed98dc4cf3fa9364c82ea5091e1f04e127adbe0f7307718a51ad86c0e1b WHIRLPOOL 1ea5129732f8f3a3d71557d8a0523d2fff6bf8ab7312e72281b44c4710640c80b49c962299b6281bb2ee1c6a03e86934e00b6c75fd95de8b2747f939bc02cec7 +MISC ChangeLog 39834 SHA256 15c18be73b839d1b4e0f09aaedf0e765edb4c02288213a0e8dd6f8849f27b545 SHA512 aa67bbd7e947b776f105cbe57c5196a703fb85989e152b2804c0d0b04acf3189eb05d20883d26d6679e7646d0ce0f42e440a3be93f7cd3aed1c27d5e752b1598 WHIRLPOOL 11a4cd7bee91d82638a46afbcb6aba1f65943812ae3889d4ffdb95fc980a3ee2151d2f27805408a42532461853318bc25c5610143204f1f6f15ce4b5e89be0ba MISC metadata.xml 318 SHA256 6e5f2eec30e8b7f9b678daf799db43ea56cc4566ca70635677d2cf5f60ebd3dc SHA512 a8036da4d9fd5c22fd71ab1eee6de35c25737616e9cf443786f0a6d9c2ebf1e5f3791f19ebe7693635eeb0bc793931e935ed0f7011fd37b764f7b26c59fde8a4 WHIRLPOOL 4aa04bfa68b9ac28debd59f64629806e100583b05a80edab02f917e9bb7f3b5afd7f0b35b05731580f895a531dcabf8dedf6ce21c43dd1cf44df66a21be6ae26 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iF4EAREIAAYFAlV0VgYACgkQiIP6VqMIqNcmuAD9G7uVGUxtb2fZLqtHFVrPXZn2 -U4wQ4MhcAPYyOsfDFLsA/3fvWRrDpHojvbqsEnpQQX3nr5g7eLFqQG3oUcLaaRQ5 -=MOgy +iF4EAREIAAYFAlV5Ho0ACgkQiIP6VqMIqNegXAD/aIP9dz58Tn+wpmkO9bIR/zY1 +JNdLCExV//c/csNnAjMA/1cvE0pkL7iWGlwwKyLvmgQqU0YTLdUrxSEI2/fN6KR+ +=ovby -----END PGP SIGNATURE----- diff --git a/dev-ruby/rubygems/rubygems-2.2.5.ebuild b/dev-ruby/rubygems/rubygems-2.2.5.ebuild new file mode 100644 index 000000000000..00098ff046a8 --- /dev/null +++ b/dev-ruby/rubygems/rubygems-2.2.5.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-2.2.5.ebuild,v 1.1 2015/06/11 05:37:16 graaff Exp $ + +EAPI=5 + +USE_RUBY="ruby19 ruby20 ruby21" + +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" + +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_check_executable_overwrite_default_bin_dir/,/^ end/ s:^:#:' test/rubygems/test_gem_installer.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 + + # 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/,/^ 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_load_default_gem/,/^ 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 + sed -i -e '/test_alien_default/,/^ end/ s:^:#:' test/rubygems/test_gem_validator.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 --no-color ruby show | head -n1) + fi + + ewarn + ewarn "To switch between available Ruby profiles, execute as root:" + ewarn "\teselect ruby set ruby(19|20|...)" + 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.4.8.ebuild b/dev-ruby/rubygems/rubygems-2.4.8.ebuild new file mode 100644 index 000000000000..4f7fe00ccdb5 --- /dev/null +++ b/dev-ruby/rubygems/rubygems-2.4.8.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-2.4.8.ebuild,v 1.1 2015/06/11 05:37:16 graaff Exp $ + +EAPI=5 + +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +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" + +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_check_executable_overwrite_default_bin_dir/,/^ end/ s:^:#:' test/rubygems/test_gem_installer.rb || die + sed -i -e '/test_default_path/,/^ end/ s:^:#:' test/rubygems/test_gem.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 + + # 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/,/^ 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_load_default_gem/,/^ 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 + sed -i -e '/test_alien_default/,/^ end/ s:^:#:' test/rubygems/test_gem_validator.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 --no-color ruby show | head -n1) + fi + + ewarn + ewarn "To switch between available Ruby profiles, execute as root:" + ewarn "\teselect ruby set ruby(20|21|...)" + ewarn +} |