summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-12-11 08:15:01 +0100
committerHans de Graaff <graaff@gentoo.org>2018-12-11 09:40:39 +0100
commit5d36014c52164dc49734fd3fc1c824f00174371e (patch)
tree451328076ea15f28604893b66930122849aae32a /dev-ruby/liquid/liquid-4.0.1.ebuild
parentx11-wm/herbstluftwm: version bump to 0.7.1 (diff)
downloadgentoo-5d36014c52164dc49734fd3fc1c824f00174371e.tar.gz
gentoo-5d36014c52164dc49734fd3fc1c824f00174371e.tar.bz2
gentoo-5d36014c52164dc49734fd3fc1c824f00174371e.zip
dev-ruby/liquid: add 4.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/liquid/liquid-4.0.1.ebuild')
-rw-r--r--dev-ruby/liquid/liquid-4.0.1.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/liquid/liquid-4.0.1.ebuild b/dev-ruby/liquid/liquid-4.0.1.ebuild
new file mode 100644
index 000000000000..c5ad63f1730b
--- /dev/null
+++ b/dev-ruby/liquid/liquid-4.0.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="History.md README.md"
+
+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="4"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/minitest
+ dev-ruby/spy )"
+
+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/unit/context_unit_test.rb
+}