summaryrefslogtreecommitdiff
path: root/dev-ruby/liquid
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/liquid')
-rw-r--r--dev-ruby/liquid/Manifest5
-rw-r--r--dev-ruby/liquid/files/liquid-4.0.3-ruby30.patch23
-rw-r--r--dev-ruby/liquid/liquid-4.0.3-r1.ebuild6
-rw-r--r--dev-ruby/liquid/liquid-5.4.0.ebuild4
4 files changed, 32 insertions, 6 deletions
diff --git a/dev-ruby/liquid/Manifest b/dev-ruby/liquid/Manifest
index cf0dfa9a0ce1..ee4b6f2c1ac4 100644
--- a/dev-ruby/liquid/Manifest
+++ b/dev-ruby/liquid/Manifest
@@ -1,7 +1,8 @@
+AUX liquid-4.0.3-ruby30.patch 962 BLAKE2B 7675638e91e5065c35090427a20228c72d6bc06e6bb054e61253b514dfe28c1b7c3e3c9200ca023616897c4c806a0bbc1e793d00518a85137e83670c944cbf2a SHA512 3ea20b69d4b379d583f1d8c3770043d0588a44410786905fa947451aa0e74658b3c123cf21c6b6910ed42f598bae15c757fdc3e3f8fdcdcc7f7988c8600d0e00
DIST liquid-4.0.3.tar.gz 102242 BLAKE2B 4a025fd8501e237f7619ed989e185a6c55a234577c99423857a826b616c40625c1fd205d998a368488306a88c0b84fc3d3ac59bd01c1231055aa9f60a3d14338 SHA512 5aed3b98fa486a00744e0225f7a3b8004be8ded1e3347f9118fd062684fe33b725b84d1f88bdd5e881399e6efa60b4aa32f57cf10f4583aa27ec8c8288b52bf9
DIST liquid-5.3.0.tar.gz 118704 BLAKE2B 3c7670717ea70f971a80a932e8aef24670017e9fceb9164403035a6137b4ba8a3dd77b396037fd52db71e4989a74d89b2ed63150290ba7326d35d0970a014b39 SHA512 bf295a882535b6f70f36adc62dc207ec07222e201c16adf2b56be9decf63f4f262b4e8cd31539eedf4364d6394b0136091eefcf26ee705987e82c2bf1ccf2739
DIST liquid-5.4.0.tar.gz 123661 BLAKE2B 96fbd0d92408e1deecfd198de4ab59287820e4f8d6e8cfeb080163781c82421a1fe5286354136a787db244c3821fd3e470d2ecdcddbde3344aa71be79799894d SHA512 45b394aa945206b200a2aa30e2e0b0f0937e7e59bd213f45f0484f2f6f3d68fca96f93a7ae64ac05249439048842b53e20a58d73be88470ed94cf40cc65c4cfb
-EBUILD liquid-4.0.3-r1.ebuild 989 BLAKE2B 9dd897cb311b8c5b31b635f3805a741f386272646924f8373c79603ddd63a3ff9f44c5078b640c31e801b797d0275a81bbb4063c9af98dab791ea03ba9240c07 SHA512 81eca0eabec34c9427f6d53479fbf5a7d2624800e1c0723e32363b26f044277db2355f2bae17906f3f9c1fe173799ad30de2c3502ee25ca50f46216717408688
+EBUILD liquid-4.0.3-r1.ebuild 1041 BLAKE2B 256a296f706eb76192cca33b0ed12bad11241ccb6b54328eeadd12d778b1929a833796c651b854960c1da9af7a2d4c36ab61bfd79968db73d735166a981437dc SHA512 f06e2c04f99080bd8c859561d2eb6e5cccda24c6036da4734ec6df25fb532fbd503600eaa0c81d368fdcd64cbbb506f3b5b958181ade2731290313800f0cdbcf
EBUILD liquid-5.3.0.ebuild 821 BLAKE2B 45610b481cdcd6be59ca1511c770f7144ee3a0cd2fb31ac222ec371679e11501528dc1eb955a4dca431969cad7c32ce5c6831c90481f064eef1f73447e406d2e SHA512 fc5fecfa13608ee5065472ab840bd5cdb47a6e9d6fb0937a263acac90ba5ec0072ff39114de29561a825f75d82371b0deb90a0dea5e0a88112d3d9778f4a889f
-EBUILD liquid-5.4.0.ebuild 814 BLAKE2B ba06122b3b5355321fcd44426ad1ca8736e15edd8699977438717b8254cc4ef9f28b0ad57b5a4955d5614e0d891f22cec69b465690d9f2368fc7a7449c783f31 SHA512 cb48e89b26a661533eb8d89bde31f920a2193160752e2afa427310b1be00779c60d59a0cb082bc2a50828c22a78f7f4c5042fc1123200b40701b4ce8c04422d0
+EBUILD liquid-5.4.0.ebuild 821 BLAKE2B c49730c9204b2a82cfffefb6dc59c414ead807e2b40138450f56a33b9336cbe75a05866186127d7e1d0df8afb6883cecbf22bbeb0e7dbc181f8bbbe5c4d54bff SHA512 d488a95f8fc2e538442f93cbe4c4a154a6ecfe093d63b902d39637422b63c48c7d11fd8558cecce2d948abde7d0ba07e78f165d44bb3621df67cc2b2feaf79d4
MISC metadata.xml 341 BLAKE2B 2aaabe9ff55bb04232a4eeb648f855c8d1f1da3d4d188e026abcb4177a807fc18767baae11b3450ced3d29f4b6d426661ddb5f09590aa112a6ca63fb9b19eb7e SHA512 7ea38783d82e42c02ec4cef4a0b7af1701fd44eaaefe4df99c98a40ff13827567416163765ac6f4a781cc1224360dc02f2ab2d7cbf346d1a3750ae15261e6b66
diff --git a/dev-ruby/liquid/files/liquid-4.0.3-ruby30.patch b/dev-ruby/liquid/files/liquid-4.0.3-ruby30.patch
new file mode 100644
index 000000000000..a25f4e217929
--- /dev/null
+++ b/dev-ruby/liquid/files/liquid-4.0.3-ruby30.patch
@@ -0,0 +1,23 @@
+From abfcec9a57543d9e1bdda7dab195607f8574d8b4 Mon Sep 17 00:00:00 2001
+From: Dylan Thacker-Smith <Dylan.Smith@shopify.com>
+Date: Tue, 31 Mar 2020 10:19:25 -0400
+Subject: [PATCH] Fix ParseTreeVisitorTest for ruby 3 compatibility
+
+(cherry picked from commit 81149344a5ba53b30e8ab7d77d605dc484a0a3ff)
+---
+ test/integration/parse_tree_visitor_test.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/integration/parse_tree_visitor_test.rb b/test/integration/parse_tree_visitor_test.rb
+index 6ad6a2d00..933dbc3b0 100644
+--- a/test/integration/parse_tree_visitor_test.rb
++++ b/test/integration/parse_tree_visitor_test.rb
+@@ -238,7 +238,7 @@ def test_preserve_tree_structure
+ def traversal(template)
+ ParseTreeVisitor
+ .for(Template.parse(template).root)
+- .add_callback_for(VariableLookup, &:name)
++ .add_callback_for(VariableLookup) { |node| node.name } # rubocop:disable Style/SymbolProc
+ end
+
+ def visit(template)
diff --git a/dev-ruby/liquid/liquid-4.0.3-r1.ebuild b/dev-ruby/liquid/liquid-4.0.3-r1.ebuild
index ab4cb72ca648..639c5768b21c 100644
--- a/dev-ruby/liquid/liquid-4.0.3-r1.ebuild
+++ b/dev-ruby/liquid/liquid-4.0.3-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby26 ruby27"
+USE_RUBY="ruby27 ruby30 ruby31"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="History.md README.md"
@@ -19,6 +19,8 @@ SLOT="4"
KEYWORDS="~amd64 ~arm64"
IUSE=""
+PATCHES=( "${FILESDIR}/${P}-ruby30.patch" )
+
ruby_add_bdepend "test? ( dev-ruby/minitest
dev-ruby/spy )"
diff --git a/dev-ruby/liquid/liquid-5.4.0.ebuild b/dev-ruby/liquid/liquid-5.4.0.ebuild
index 06fc87368cdf..5aacb42b6b6c 100644
--- a/dev-ruby/liquid/liquid-5.4.0.ebuild
+++ b/dev-ruby/liquid/liquid-5.4.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby27 ruby30 ruby31"
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="History.md README.md"