mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
bundler: make 2.4.x stable
This commit is contained in:
parent
be335a42cc
commit
00cffb0c9a
7 changed files with 3 additions and 94 deletions
|
|
@ -1,2 +0,0 @@
|
|||
DIST bundler-2.2.33.gem 401920 BLAKE2B bfdb62c86449683d479f735ff6d65d33576ff03f1d67f6001c46839111ee3c1307db86c9d02f050c2290b1d2e3133da1010ab9d1012aa0ee4c207148ff913aac SHA512 8ac6bc00eb7a206fbd4e0d0de5d636583f48006b51352e50896230afba1098aeae2418694c8592f73af02612fe8e10dacd71b79804b724fad7633b23c81f1d14
|
||||
DIST bundler-2.3.26.gem 411648 BLAKE2B 5ea0ff86e0e09bf0466e4bb21502a13519515f312b3df62024f0d293a51237eb30a5b3c349fb867e9b8dbf0e50ede5bc12b14c5cc6014a717d55534bf46d18f5 SHA512 03c6310c63ec4d313d48ecb15e784ae9cb2d2cb2cefc75752bbb7c018eeec45d534259646d525e486cd746ee8c179312c167338875e13f826994617622d2330d
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby31 ruby32"
|
||||
|
||||
# The specs require a number of gems to be installed in a temporary
|
||||
# directory, but this requires network access. They also don't work
|
||||
# when run with a path that contains "-".
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
|
||||
# No documentation task
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
|
||||
|
||||
RUBY_FAKEGEM_BINDIR="exe"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An easy way to vendor gem dependencies"
|
||||
HOMEPAGE="https://github.com/carlhuda/bundler"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc test"
|
||||
|
||||
ruby_add_rdepend virtual/rubygems
|
||||
|
||||
RDEPEND+=" dev-vcs/git !<dev-ruby/bundler-1.17.3-r1:0"
|
||||
|
||||
PATCHES=("${FILESDIR}/nosudo.patch")
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby31 ruby32"
|
||||
|
||||
# The specs require a number of gems to be installed in a temporary
|
||||
# directory, but this requires network access. They also don't work
|
||||
# when run with a path that contains "-".
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
|
||||
# No documentation task
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
|
||||
|
||||
RUBY_FAKEGEM_BINDIR="exe"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An easy way to vendor gem dependencies"
|
||||
HOMEPAGE="https://github.com/carlhuda/bundler"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="doc test"
|
||||
|
||||
ruby_add_rdepend virtual/rubygems
|
||||
|
||||
RDEPEND+=" dev-vcs/git"
|
||||
|
||||
PATCHES=("${FILESDIR}/nosudo.patch")
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
--- a/lib/bundler/settings.rb.orig 2021-06-06 07:55:24.585385160 +0800
|
||||
+++ b/lib/bundler/settings.rb 2021-06-06 08:02:30.405361977 +0800
|
||||
@@ -265,9 +265,7 @@
|
||||
end
|
||||
|
||||
def allow_sudo?
|
||||
- key = key_for(:path)
|
||||
- path_configured = @temporary.key?(key) || @local_config.key?(key)
|
||||
- !path_configured
|
||||
+ false
|
||||
end
|
||||
|
||||
def ignore_config?
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ruby@gentoo.org</email>
|
||||
<name>Gentoo Ruby Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">carlhuda/bundler</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
@ -270,3 +270,6 @@ dev-ruby/sprockets:4
|
|||
|
||||
#required by whatweb
|
||||
=dev-ruby/ipaddr-1.2*
|
||||
|
||||
#use 2.4.x with no auto_sudo malicious feature
|
||||
~dev-ruby/bundler-2.4.6
|
||||
|
|
|
|||
|
|
@ -55,10 +55,6 @@ dev-lang/ruby:2.5
|
|||
# must match rails:6.1 and dev-ruby/act*:6.1
|
||||
#dev-ruby/activesupport:6.1
|
||||
|
||||
#disable sudo
|
||||
# https://github.com/rubygems/rubygems/issues/4031
|
||||
>dev-ruby/bundler-2.3.26-r1
|
||||
|
||||
#transition from pycrypto to pycryptodome
|
||||
dev-python/pycrypto
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue