dev-ruby/activesupport: upperbounds for dalli-5

Not supported yet

Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1527
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate
2026-07-24 23:19:53 +03:00
committed by Sam James
parent eb33125503
commit 78f9ca4ea0
6 changed files with 17 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -47,6 +47,7 @@ ruby_add_rdepend "
# memcache-client, nokogiri, builder, and redis are not strictly needed,
# but there are tests using this code.
ruby_add_bdepend "test? (
<dev-ruby/dalli-5
>=dev-ruby/dalli-3.0.1
>=dev-ruby/nokogiri-1.8.1
>=dev-ruby/builder-3.1.0
@@ -68,6 +69,7 @@ all_ruby_prepare() {
-e '/^group :test/,/^end/ s:^:#:' \
-e '/^\s*group :\(db\|doc\|rubocop\|job\|cable\|lint\|mdl\|storage\|ujs\|test\|view\) do/,/^\s*end/ s:^:#:' \
-e 's/gemspec/gemspec path: "activesupport"/' \
-e '/gem "dalli",/ s/$/, "< 5"/' \
-e '5igem "builder"' ../Gemfile || die
rm ../Gemfile.lock || die

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -47,6 +47,7 @@ ruby_add_rdepend "
# memcache-client, nokogiri, builder, and redis are not strictly needed,
# but there are tests using this code.
ruby_add_bdepend "test? (
<dev-ruby/dalli-5
>=dev-ruby/dalli-3.0.1
>=dev-ruby/nokogiri-1.8.1
>=dev-ruby/builder-3.1.0
@@ -68,6 +69,7 @@ all_ruby_prepare() {
-e '/^group :test/,/^end/ s:^:#:' \
-e '/^\s*group :\(db\|doc\|rubocop\|job\|cable\|lint\|mdl\|storage\|ujs\|test\|view\) do/,/^\s*end/ s:^:#:' \
-e 's/gemspec/gemspec path: "activesupport"/' \
-e '/gem "dalli",/ s/$/, "< 5"/' \
-e '5igem "builder"' ../Gemfile || die
rm ../Gemfile.lock || die

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -45,6 +45,7 @@ ruby_add_rdepend "
# memcache-client, nokogiri, builder, and redis are not strictly needed,
# but there are tests using this code.
ruby_add_bdepend "test? (
<dev-ruby/dalli-5
>=dev-ruby/dalli-3.0.1
>=dev-ruby/nokogiri-1.8.1
>=dev-ruby/builder-3.1.0
@@ -66,6 +67,7 @@ all_ruby_prepare() {
-e '/^group :test/,/^end/ s:^:#:' \
-e '/^\s*group :\(db\|doc\|rubocop\|job\|cable\|lint\|mdl\|storage\|ujs\|test\|view\) do/,/^\s*end/ s:^:#:' \
-e 's/gemspec/gemspec path: "activesupport"/' \
-e '/gem "dalli",/ s/$/, "< 5"/' \
-e '5igem "builder"' ../Gemfile || die
rm ../Gemfile.lock || die

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -46,6 +46,7 @@ ruby_add_rdepend "
# memcache-client, nokogiri, builder, and redis are not strictly needed,
# but there are tests using this code.
ruby_add_bdepend "test? (
<dev-ruby/dalli-5
>=dev-ruby/dalli-3.0.1
>=dev-ruby/nokogiri-1.8.1
>=dev-ruby/builder-3.1.0
@@ -67,6 +68,7 @@ all_ruby_prepare() {
-e '/^group :test/,/^end/ s:^:#:' \
-e '/^\s*group :\(db\|doc\|rubocop\|job\|cable\|lint\|mdl\|storage\|ujs\|test\|view\) do/,/^\s*end/ s:^:#:' \
-e 's/gemspec/gemspec path: "activesupport"/' \
-e '/gem "dalli",/ s/$/, "< 5"/' \
-e '5igem "builder"' ../Gemfile || die
rm ../Gemfile.lock || die

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -46,6 +46,7 @@ ruby_add_rdepend "
# memcache-client, nokogiri, builder, and redis are not strictly needed,
# but there are tests using this code.
ruby_add_bdepend "test? (
<dev-ruby/dalli-5
>=dev-ruby/dalli-3.0.1
>=dev-ruby/nokogiri-1.8.1
>=dev-ruby/builder-3.1.0
@@ -67,6 +68,7 @@ all_ruby_prepare() {
-e '/^group :test/,/^end/ s:^:#:' \
-e '/^\s*group :\(db\|doc\|rubocop\|job\|cable\|lint\|mdl\|storage\|ujs\|test\|view\) do/,/^\s*end/ s:^:#:' \
-e 's/gemspec/gemspec path: "activesupport"/' \
-e '/gem "dalli",/ s/$/, "< 5"/' \
-e '5igem "builder"' ../Gemfile || die
rm ../Gemfile.lock || die

View File

@@ -46,6 +46,7 @@ ruby_add_rdepend "
# memcache-client, nokogiri, builder, and redis are not strictly needed,
# but there are tests using this code.
ruby_add_bdepend "test? (
<dev-ruby/dalli-5
>=dev-ruby/dalli-3.0.1
>=dev-ruby/nokogiri-1.8.1
>=dev-ruby/builder-3.1.0
@@ -68,6 +69,7 @@ all_ruby_prepare() {
-e '/^group :test/,/^end/ s:^:#:' \
-e '/^\s*group :\(db\|doc\|rubocop\|job\|cable\|lint\|mdl\|storage\|ujs\|test\|view\) do/,/^\s*end/ s:^:#:' \
-e 's/gemspec/gemspec path: "activesupport"/' \
-e '/gem "dalli",/ s/$/, "< 5"/' \
-e '5igem "builder"' ../Gemfile || die
rm ../Gemfile.lock || die