summaryrefslogtreecommitdiff
path: root/dev-ruby/haml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-08 14:01:34 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-08 14:01:34 +0100
commit4645b6f17f0da81e9fe84081fb126a37102ba153 (patch)
treee6c48cf3db2213af38cf528a5364fffd5c74c6d6 /dev-ruby/haml
parentebce8994fe3cc4ca9fbc96ca837cb4c4e98adcbd (diff)
gentoo resync : 08.05.2018
Diffstat (limited to 'dev-ruby/haml')
-rw-r--r--dev-ruby/haml/Manifest2
-rw-r--r--dev-ruby/haml/haml-5.0.4.ebuild57
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-ruby/haml/Manifest b/dev-ruby/haml/Manifest
index 4ae368e3db96..cd1408165763 100644
--- a/dev-ruby/haml/Manifest
+++ b/dev-ruby/haml/Manifest
@@ -1,5 +1,7 @@
DIST haml-4.0.7.gem 121856 BLAKE2B e2598df73b9bf7337c06f60b30fcf7925fa5948f4643051aabbbdf600d25dbc2f614c4cf2054a916f69ef431847279eee1fbdf02e9bf2811369f2c195ed00413 SHA512 5736ded231bb10a0c0932453294604075e24a9020c2658e703c13ebf7a8d148327188157f982a3aea5db6d6938beb372c0167dfbc4ff06325517b2c8bd71a568
DIST haml-5.0.2.tar.gz 124000 BLAKE2B 852a674d0519ca785fdd448295c402f203d21e627e9dccbbbfe835ed51fe19d4110c908e14cb40c18644e758d609d3651dddd750df7208627e108832c2f06cc9 SHA512 c266a48424db4c9949d29bdb72f2c96ef5878a78ae98867b9259b0e2e2f581cb9fecf4c51091e6bce3ba4d86c60b44e8c7e95759a8aec8c95d59b9707903032e
+DIST haml-5.0.4.tar.gz 124580 BLAKE2B c22e464be26f65bd94b202b21604bb9fe3d740865832c9299d93606293794316a5262504e15583fdc2628a3015ea58f9924a9b3aab2f46340b305ad5af7968ac SHA512 125ae514f800b2dd58f7f339ef3bf8c15114c5738813d911985182d4e4b1e8551c92a89149427aa8bf3326f45c8f71f4f13f37ecb7e2bee5cb75163538f6a3a8
EBUILD haml-4.0.7-r1.ebuild 1243 BLAKE2B 58a5b3eb31abf8a1d7587f42a2f2b1eef5a4f82bfb3c92d524b77bc29caccb571cf01495c688dc6cfe5bfa942d2e8fea344e07c8d5e6bd53852fd3116c803e54 SHA512 6d3187990262735c7ad65c2fec793f5b9faa347e9c2233e389632c7263a4a7853de261da820056488cf9d227efae6e5af4c41a6449f0581b10271a5f938ab805
EBUILD haml-5.0.2.ebuild 1575 BLAKE2B efa40e6be7a11f7640d7a25a5b67b72131809e91f51cc918992aad4c0f50596d1231e83316041bff2c1abe49932a956edc9eb2ded785bff9aa49c230a66c22e7 SHA512 2e94b46ec7568a777ebb0f868b03aca76bf4fde9a9e1765188b0805829fc8d4896821b5de4d501b4333e38874ab6963c3752f0a2746fbf481982ad83da7a378e
+EBUILD haml-5.0.4.ebuild 1595 BLAKE2B a605eb11ee910e654c8e54c2afb6cc26c3ee755e346801a57b8b173cbc1835de107092023c75692185b5bde534b6308554e3bfdef19b11648794060a26ba353d SHA512 f79db1b94355b04637be52140eff00071e714a24d846e8d9437e456ed48076e936d922340f324bff3bbd39fcff027814c3bedccb46ccda5f99942f864c7f075f
MISC metadata.xml 247 BLAKE2B 7717702c51c35b2a20983332abc6218047b2b5036e6b4c09d3d58b4339e8f9e776879cd116cfda60d3bcf4188859993fb9f3f779aaf595f155d53e85288f3dcc SHA512 ea4c044637b751a2c28c6ac226121e74ef18196af4b594e60413fec907bbab29c6b0c7735c3f503485df16dcfb36ddb86038394d92e2cd18c8f04626628e9f09
diff --git a/dev-ruby/haml/haml-5.0.4.ebuild b/dev-ruby/haml/haml-5.0.4.ebuild
new file mode 100644
index 000000000000..ce8c9daeef31
--- /dev/null
+++ b/dev-ruby/haml/haml-5.0.4.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24"
+
+RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true test"
+RUBY_FAKEGEM_TASK_DOC="-Ilib doc"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md REFERENCE.md"
+RUBY_FAKEGEM_DOCDIR="doc"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A ruby web page templating engine"
+HOMEPAGE="http://haml.info/"
+SRC_URI="https://github.com/haml/haml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+IUSE="doc test"
+
+RDEPEND="${RDEPEND} !!<dev-ruby/haml-3.1.8-r2"
+
+ruby_add_rdepend ">=dev-ruby/temple-0.8.0 dev-ruby/tilt:*"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/minitest:5
+ dev-ruby/nokogiri
+ dev-ruby/railties:4.2
+ dev-ruby/activemodel:4.2
+ dev-ruby/actionpack:4.2
+ )
+ doc? (
+ dev-ruby/yard
+ >=dev-ruby/maruku-0.7.2-r1
+ )"
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ sed -i -e '/bundler/I s:^:#:' \
+ -e 's/gem "minitest"/gem "minitest", "~>5.0"/'\
+ -e '1igem "actionpack", "~>4.2"'\
+ -e '1igem "activesupport", "~>4.2"; gem "activemodel", "~>4.2"'\
+ -e '1igem "railties", "~>4.2"'\
+ test/test_helper.rb || die
+ # Remove test that fails when RedCloth is available
+ sed -i -e "/should raise error when a Tilt filters dependencies are unavailable for extension/,/^ end/ s/^/#/"\
+ test/filters_test.rb || die
+}