summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-03-22 07:24:54 +0100
committerHans de Graaff <graaff@gentoo.org>2024-03-22 07:26:23 +0100
commitc64659499d3ecd7837ff82244e4e74e9b55a9626 (patch)
tree1aea42f9dcee32d57aff26c19edafa646b809677 /dev-ruby/liquid
parentdev-ruby/ox: add 2.14.18 (diff)
downloadgentoo-c64659499d3ecd7837ff82244e4e74e9b55a9626.tar.gz
gentoo-c64659499d3ecd7837ff82244e4e74e9b55a9626.tar.bz2
gentoo-c64659499d3ecd7837ff82244e4e74e9b55a9626.zip
dev-ruby/liquid: add 5.5.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/liquid')
-rw-r--r--dev-ruby/liquid/Manifest1
-rw-r--r--dev-ruby/liquid/liquid-5.5.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/liquid/Manifest b/dev-ruby/liquid/Manifest
index 0fc0cd2b067a..5a4897c0df9d 100644
--- a/dev-ruby/liquid/Manifest
+++ b/dev-ruby/liquid/Manifest
@@ -1,2 +1,3 @@
DIST liquid-4.0.3.tar.gz 102242 BLAKE2B 4a025fd8501e237f7619ed989e185a6c55a234577c99423857a826b616c40625c1fd205d998a368488306a88c0b84fc3d3ac59bd01c1231055aa9f60a3d14338 SHA512 5aed3b98fa486a00744e0225f7a3b8004be8ded1e3347f9118fd062684fe33b725b84d1f88bdd5e881399e6efa60b4aa32f57cf10f4583aa27ec8c8288b52bf9
DIST liquid-5.4.0.tar.gz 123661 BLAKE2B 96fbd0d92408e1deecfd198de4ab59287820e4f8d6e8cfeb080163781c82421a1fe5286354136a787db244c3821fd3e470d2ecdcddbde3344aa71be79799894d SHA512 45b394aa945206b200a2aa30e2e0b0f0937e7e59bd213f45f0484f2f6f3d68fca96f93a7ae64ac05249439048842b53e20a58d73be88470ed94cf40cc65c4cfb
+DIST liquid-5.5.0.tar.gz 129799 BLAKE2B d46c93ca0d968b080d1bda363badb629499fa3db6aeec0c73dc7c60ba82e70f478cf136ceddb3d600dae4e2645e9a6d61521695515f0cf5253c99d3e006bce98 SHA512 6afa798052371356100a22936ba716e285302080111e833ba48927bc63b358e6d6d8fe027ad6410d2171bef59f71e30f7ddd414bda3e45c91a0e2e459aa4919e
diff --git a/dev-ruby/liquid/liquid-5.5.0.ebuild b/dev-ruby/liquid/liquid-5.5.0.ebuild
new file mode 100644
index 000000000000..5db3f91925e7
--- /dev/null
+++ b/dev-ruby/liquid/liquid-5.5.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="History.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="liquid.gemspec"
+
+inherit ruby-fakegem
+
+SRC_URI="https://github.com/Shopify/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+DESCRIPTION="Template engine for Ruby"
+HOMEPAGE="https://shopify.github.io/liquid/"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+all_ruby_prepare() {
+ # liquid-c is not packaged
+ sed -i -e '/LIQUID_C/ s:^:#:' Rakefile || die
+
+ # Avoid test requiring unpackaged stackprof
+ sed -i -e '/assert_no_object_allocations/askip "unpackaged stackprof"' test/integration/context_test.rb || die
+}