summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-03-16 07:33:19 +0100
committerHans de Graaff <graaff@gentoo.org>2022-03-16 07:41:46 +0100
commit641748c44b371488a7f0c1c4315ab5aa5e19f1a9 (patch)
tree89c5ba2f2ab13fc1866b23be4837b0bd0614d91d /dev-ruby/liquid
parentdev-ruby/letter_opener: add 1.8.0 (diff)
downloadgentoo-641748c44b371488a7f0c1c4315ab5aa5e19f1a9.tar.gz
gentoo-641748c44b371488a7f0c1c4315ab5aa5e19f1a9.tar.bz2
gentoo-641748c44b371488a7f0c1c4315ab5aa5e19f1a9.zip
dev-ruby/liquid: add 5.2.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3 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.2.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/liquid/Manifest b/dev-ruby/liquid/Manifest
index 6bbdb691d168..208d0a059444 100644
--- a/dev-ruby/liquid/Manifest
+++ b/dev-ruby/liquid/Manifest
@@ -1,3 +1,4 @@
DIST liquid-4.0.3.tar.gz 102242 BLAKE2B 4a025fd8501e237f7619ed989e185a6c55a234577c99423857a826b616c40625c1fd205d998a368488306a88c0b84fc3d3ac59bd01c1231055aa9f60a3d14338 SHA512 5aed3b98fa486a00744e0225f7a3b8004be8ded1e3347f9118fd062684fe33b725b84d1f88bdd5e881399e6efa60b4aa32f57cf10f4583aa27ec8c8288b52bf9
DIST liquid-5.0.1.tar.gz 115523 BLAKE2B 52194481aef296785812a76979ee215e5adffbb73c4dd80de8f8dfb6995757d22a698a6acb950281f69cec32c2c06ba51fe273ba54c7454f308f5547faa9e1cf SHA512 e82fe4b67c338ef2e13652d2c5ba5d52e968c368aff724516a8ed2c157d149441fe73c66be866c0283fbd3472aeb83fec710f77afa1a92dca3206b5c8059ccf4
DIST liquid-5.1.0.tar.gz 117155 BLAKE2B 93c609e71773b3e002134bb6caf75b43f57428aa71a9181d0a986d920490dc7246fe89cb48d54e6ac880cb28b70fd9cdf8e1a81c7df9061803880eee82ff3cf2 SHA512 27ff4392ffcd05cd11c3f104b0ee875e6043dcf057ae06fe7037dcaef528b01c3aba31df65dc4d7b41f89afeee322d3045d09fe7d1e4ec9dafe52a17b6cad672
+DIST liquid-5.2.0.tar.gz 117804 BLAKE2B bf9027265ea9e31cdb029032384ad7078f28f0aebad21538c8271d7b44aade95bb2be642443b84a0ab35907a81b30dacdfc51c0593226eb9e37b85738c4bb9d8 SHA512 69297fb5cc3ea86b47c24a0ae1f3f7ae7d4e377b0909531362fdda298c5dbc2fd4a8666baf5b462cef04278b1ed6758312f93ebb5d5b266fcbbdbc82a8288047
diff --git a/dev-ruby/liquid/liquid-5.2.0.ebuild b/dev-ruby/liquid/liquid-5.2.0.ebuild
new file mode 100644
index 000000000000..dc56f982f6bc
--- /dev/null
+++ b/dev-ruby/liquid/liquid-5.2.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+
+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=""
+
+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
+}