summaryrefslogtreecommitdiff
path: root/dev-ruby/rubygems
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-31 04:49:49 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-31 04:49:49 +0100
commitc8f83ad526fb6b554daf375e0ad65eb2d56e669b (patch)
treecafe57965da48ad47a4e5e88ae7885492f21da6f /dev-ruby/rubygems
parent6cef603bfc4353c863a1a0b460a0aa882d2dc51c (diff)
gentoo auto-resync : 31:08:2022 - 04:49:49
Diffstat (limited to 'dev-ruby/rubygems')
-rw-r--r--dev-ruby/rubygems/Manifest2
-rw-r--r--dev-ruby/rubygems/files/gentoo-defaults-3.rb63
-rw-r--r--dev-ruby/rubygems/files/gentoo-defaults.rb42
3 files changed, 0 insertions, 107 deletions
diff --git a/dev-ruby/rubygems/Manifest b/dev-ruby/rubygems/Manifest
index ec4e7b54beba..fecd009a2242 100644
--- a/dev-ruby/rubygems/Manifest
+++ b/dev-ruby/rubygems/Manifest
@@ -1,10 +1,8 @@
AUX auto_gem.rb 159 BLAKE2B f5091d3df1318606e623a3bde402bb51b693875ba9504e0a48a911de14d904116d62a99eaed64d0cd5cee28c58f3d003e56c78df5c40025594fd7ad22a1eeb1d SHA512 e42e790013d20335ca5319803518102593408d077f22c95dcb08969c69d3a81e49e47cd002715bf760bfcd9a29304002354d8add42fd2415fb10a0a2a323d64c
AUX auto_gem.rb.ruby19 509 BLAKE2B 3aeb669d0dc6c6016091375adf8df8f8a2b810d40e11b3142669098d119369c4294c5d4758d1369fb2479ae3766d8e1421daa0076e2da4f66d00f9e0ed6584c1 SHA512 2b8f4ae00fae383357dd1eb1159ecf1689cb5b79e996688ae091a157b9f27e980761ed8a771d9d3b954d325f817972c4d02f4b5d3c8f4307d2cebce7651af666
AUX conf.d-gem_server 81 BLAKE2B 2019f1b5085a824e1a9e0551a8b224391b1db777f15aea7fa613faa1c7a51f6c0015f92c16a95c0c368ad701c125307c0535ca1029891345476636fe45289fb8 SHA512 71630a0530ec62f4024d9bfc4e6afe1f409f3bcb5d71ee5876d1e190c9e69016571ca8f500fcc7ffea6cbc36a8dab5eef2d0c61f72de99f2776c9137010b9ccd
-AUX gentoo-defaults-3.rb 1899 BLAKE2B 5a0d83e40bae62ce76e1caf609cc931aaa6cd40ff41ccdc68f0bdfd9559b8691dbc7293d72715b0555122c8c87e695660e8ebff326a2b2805fbfde8711318e48 SHA512 5da2b92f6ca56ed3fa9e51258f9e5c13883c8da34236b609c0d43ef8b788b97a6d5fb2ede235340d8ed99c0c09b32ff76bb6a3f190d55b5b2e1832f66af0d3cd
AUX gentoo-defaults-4.rb 1907 BLAKE2B 6e41d5534d47ef7bad5ae798fff81dd8ab928ef97f771150d7d6198e7d10fd5ec8625c044a77a8549d7ebf0947a4578e8cd860b5362f3a8c7352495a14928857 SHA512 86b25f61689044496dbf41424664e0109714abc212a536a75e20146617c55176b9a77edcc2c633de30ecacaf0f48c8f7820007bed1dd2d4c31e004f545fdfb2b
AUX gentoo-defaults-5.rb 1400 BLAKE2B a5dfe38bcb4b366a24e1e03e0bd50a684e29a36fcffb307e478c694056afae9a02a78d9c98b7b48787e0b9a5a214b8a7c7562c6ad86fd4d0dd45acc3bd4c4eab SHA512 1fb092262d3dbfe8f7a05980e6b2a313db0d0283f0842638ad261fe99e168369e49c19a5fff34f49f30b2933d6d5b7147c5c86bad559a1e1d4ec1e7e38d7329b
-AUX gentoo-defaults.rb 972 BLAKE2B 4353b782296ad04f400fbdbd67dcc2f26b23a9bc4a716d107a8f98c5058676c675eb42e1d5e0a7214cd74df9148d54220c0202189938c45f4000301e52a3a73f SHA512 fd5a33c433041efeefba4bb8d550b8db66f31d4c0966188f07943f4f575ee9e13da6ef6fd66f89a4b3b979c5b310d96e2876407b79aee6ed404ca3027859160c
AUX init.d-gem_server2 505 BLAKE2B ea5807a1c8ffdaa61bf37315c71d910bbf2bf4b0b4c62e3cef3b76176e9cc1fc39272f59bd46e55e17427f730315e2c691fa3f471c1cbf697073c45c0c7589a2 SHA512 fc2c57f4deebf479a36e69c3507f109abeda9f73b22bb2e617f56e6be0069af075fa6d66708d7324922f3d8bfaa96bd8c71292d9e388e27217cc7687ab4004e1
DIST rubygems-3.1.6.tgz 996339 BLAKE2B 8dc242a64c6f934b876de841cb6ea86455d7754cbe3902620a10ac40bb97264c03c1002b45a5734d1882617d95e8b390873ed390d00fe7e54b6d8f11a301c2b3 SHA512 730381cf683cd57f7ea7889f63cf21abb699bf28d2a25fa63f510756ece285cb63e4208130c20fa7c0232d6093d869e5d99d5b5fdad9bc68be5e8ead21863d97
DIST rubygems-3.2.14.tgz 987419 BLAKE2B cfd1545f022194f8b7a99b1698a38d4cfae08b8fe25c45fc7b7c935953ec7a66b0b00f21f77eefe757226d80f19a2093f2b85767e5caabfe13f445fbf6dc5508 SHA512 de28bdfdc239cd49bb5a1f78f0a9e3ec432fb70c8326c7899f7ef0a088f60becd99ba81285b20388296f96afb46ca3ca359208621d88a6be68b7388d155a2383
diff --git a/dev-ruby/rubygems/files/gentoo-defaults-3.rb b/dev-ruby/rubygems/files/gentoo-defaults-3.rb
deleted file mode 100644
index 9d499b73f89d..000000000000
--- a/dev-ruby/rubygems/files/gentoo-defaults-3.rb
+++ /dev/null
@@ -1,63 +0,0 @@
-# frozen_string_literal: true
-
-# Gentoo defaults for rubygems 3.x
-#
-# Gentoo policy is to install all manually installed code into
-# /usr/local and to keep /usr managed by Gentoo. This policy file
-# ensures that all manually installed gems using "gem install" are
-# installed in /usr/local. Gentoo gems are installed in /usr.
-
-# TODO: We used to manipulate the default_dir, but this no longer
-# works since this is now the base for the new "default" gems that
-# ruby 2.6 uses with irb. So default_dir should refer to the system
-# default now. rubygems also provides various hooks so we may be able
-# to use those to install gems in /usr/local by default in a less
-# intrusive way.
-module Gem
-
- class << self
- def portage_gems_dir
- ConfigMap[:sitelibdir].gsub('site_ruby', 'gems')
- end
-
- def local_dir
- portage_gems_dir.gsub('@GENTOO_PORTAGE_EPREFIX@/usr',
- '@GENTOO_PORTAGE_EPREFIX@/usr/local')
- end
-
- def install_dir
- Process.euid.zero? ? local_dir : user_dir
- end
-
- undef :default_path
- def default_path
- path = []
- path << user_dir if user_home && File.exist?(user_home)
- path << default_dir
- path << vendor_dir if vendor_dir && File.directory?(vendor_dir)
- path << local_dir
- path << portage_gems_dir
- end
-
- def system_config_path
- '@GENTOO_PORTAGE_EPREFIX@/etc'
- end
-
- # Set Gentoo defaults for gem commands
- begin
- undef :operating_system_defaults
- rescue NameError
- # Avoid either runtime errors or redefinition warnings since
- # this method is not present in all rubygem versions distributed
- # with dev-lang/ruby.
- end
- def operating_system_defaults
- {
- 'install' => "--install-dir #{install_dir}",
- 'uninstall' => "--install-dir #{install_dir}",
- 'update' => "--install-dir #{install_dir}"
- }
- end
-
- end
-end
diff --git a/dev-ruby/rubygems/files/gentoo-defaults.rb b/dev-ruby/rubygems/files/gentoo-defaults.rb
deleted file mode 100644
index a645f4868281..000000000000
--- a/dev-ruby/rubygems/files/gentoo-defaults.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-module Gem
-
- class << self
- def portage_gems_dir
- ConfigMap[:sitelibdir].gsub('site_ruby', 'gems')
- end
-
- def local_dir
- portage_gems_dir.gsub('@GENTOO_PORTAGE_EPREFIX@/usr', '@GENTOO_PORTAGE_EPREFIX@/usr/local')
- end
-
- undef :default_dir
- def default_dir
- Process.euid == 0 ? local_dir : user_dir
- end
-
- undef :default_path
- def default_path
- [user_dir, local_dir, portage_gems_dir]
- end
-
- undef :default_bindir
- def default_bindir
- Process.euid == 0 ? "@GENTOO_PORTAGE_EPREFIX@/usr/local/bin" : File.join(user_dir, 'bin')
- end
-
- undef :ruby_engine
- def ruby_engine
- if defined? RUBY_DESCRIPTION and RUBY_DESCRIPTION =~ /Ruby Enterprise Edition/
- "rubyee"
- else
- # Ruby 1.8 and Ruby 1.9.2_rc2 and later install here, and JRuby
- # rewrites that anyway.
- "ruby"
- end
- end
-
- def system_config_path
- "@GENTOO_PORTAGE_EPREFIX@/etc"
- end
- end
-end