summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-05-04 06:19:21 +0200
committerHans de Graaff <graaff@gentoo.org>2017-05-04 06:30:50 +0200
commit94c05f932610f76b10f49509a4150124e23b33a9 (patch)
treeb53782ef699b75cd1e0a5c3d49793525e9fa0aa6 /dev-ruby/html2haml
parentdev-ruby/html2haml: cleanup (diff)
downloadgentoo-94c05f932610f76b10f49509a4150124e23b33a9.tar.gz
gentoo-94c05f932610f76b10f49509a4150124e23b33a9.tar.bz2
gentoo-94c05f932610f76b10f49509a4150124e23b33a9.zip
dev-ruby/html2haml: add 2.2.0
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/html2haml')
-rw-r--r--dev-ruby/html2haml/Manifest1
-rw-r--r--dev-ruby/html2haml/html2haml-2.2.0.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/html2haml/Manifest b/dev-ruby/html2haml/Manifest
index 087b9ad7a4ab..87aafc8bcbd7 100644
--- a/dev-ruby/html2haml/Manifest
+++ b/dev-ruby/html2haml/Manifest
@@ -1 +1,2 @@
DIST html2haml-2.1.0.gem 21504 SHA256 b02b1e372ae7a2c579fc9b3c4aba8730e2d278621af6bb5a52b7711482fd20f4 SHA512 508100b373f0537466fc3dba941ab78477adb5dcf0b699ff9f675cc1c51d7d76aa3405a8f3a85205106e1d0161c73ec383091c9bda856044370a7746023b260b WHIRLPOOL 528f84268fc0729d11c33df90cf7eb4158eae1e6d14bcae0b49332a9c8e1f9f8823b4f452e72b91b15122be6883333ce92d7d9d87e92ca9b043b7c4261cc3ad1
+DIST html2haml-2.2.0.gem 21504 SHA256 a3b4d38d318c5101d89d7a82af790f4b18c600ef73109220ad254ef150931935 SHA512 b6988182073f35d4d9b9f07f2cc2ba01c66679fa646fd2d1e3c8cf0643c88b04a2b1a36d584bdcca897f804e32486a618abc8fbd8db023ff9c22ee66d93ed9f0 WHIRLPOOL 4cdd78ff94b5132898cac8b17702e4af39ab4595847d1d9724afa703adc416ddda91374d3231b5768a995dd3d166ddd03aa153c8c552e3425bdfb61725c9558b
diff --git a/dev-ruby/html2haml/html2haml-2.2.0.ebuild b/dev-ruby/html2haml/html2haml-2.2.0.ebuild
new file mode 100644
index 000000000000..42b2430dc7cf
--- /dev/null
+++ b/dev-ruby/html2haml/html2haml-2.2.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_EXTRADOC="README.md Changelog.markdown"
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Convert HTML and HTML+Erb to Haml"
+HOMEPAGE="https://github.com/haml/html2haml"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/nokogiri-1.6.0
+ >=dev-ruby/erubis-2.7.0
+ >=dev-ruby/ruby_parser-3.5
+ >=dev-ruby/haml-4.0.0 <dev-ruby/haml-6"
+
+ruby_add_bdepend "test? ( dev-ruby/minitest:0 )"
+
+all_ruby_prepare() {
+ sed -i -e "/bundler/d" test/test_helper.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test test/html2haml_test.rb || die
+ ${RUBY} -Ilib:test test/erb_test.rb || die
+}