summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-01-25 08:00:23 +0100
committerHans de Graaff <graaff@gentoo.org>2017-01-25 08:00:23 +0100
commit1c63ede04429f18e4e5817225d49b1f578276ee1 (patch)
treefa368e500a018b249d5fc22ed9a6a0334ad320cf /dev-ruby/html2haml
parentdev-ruby/curses: add 1.1.1 (diff)
downloadgentoo-1c63ede04429f18e4e5817225d49b1f578276ee1.tar.gz
gentoo-1c63ede04429f18e4e5817225d49b1f578276ee1.tar.bz2
gentoo-1c63ede04429f18e4e5817225d49b1f578276ee1.zip
dev-ruby/html2haml: add 2.1.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/html2haml')
-rw-r--r--dev-ruby/html2haml/Manifest1
-rw-r--r--dev-ruby/html2haml/html2haml-2.1.0.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/html2haml/Manifest b/dev-ruby/html2haml/Manifest
index e62d966dd69d..b079d88b24c7 100644
--- a/dev-ruby/html2haml/Manifest
+++ b/dev-ruby/html2haml/Manifest
@@ -1 +1,2 @@
DIST html2haml-2.0.0.gem 20992 SHA256 91345409d56f3d86d927fd2d8b665ec9b896757928ae8a898520804c91673f19 SHA512 d888a84432486a143dd6f3947ce6d83a043d3fd19bdab5f06d990bd689d85b8d683ce6c4796902d264cf6e1b400b246e94191d6ddf03f5d98b27ee054f6a4006 WHIRLPOOL 2fd7bfc5ac27f01114e81c0cd73e4c90cc82b65d5e6e52ad137d71d60b3548273a80e46e5af527dc3a89c8a64e2b6605ad79d88f4169f78aa431593be449889b
+DIST html2haml-2.1.0.gem 21504 SHA256 b02b1e372ae7a2c579fc9b3c4aba8730e2d278621af6bb5a52b7711482fd20f4 SHA512 508100b373f0537466fc3dba941ab78477adb5dcf0b699ff9f675cc1c51d7d76aa3405a8f3a85205106e1d0161c73ec383091c9bda856044370a7746023b260b WHIRLPOOL 528f84268fc0729d11c33df90cf7eb4158eae1e6d14bcae0b49332a9c8e1f9f8823b4f452e72b91b15122be6883333ce92d7d9d87e92ca9b043b7c4261cc3ad1
diff --git a/dev-ruby/html2haml/html2haml-2.1.0.ebuild b/dev-ruby/html2haml/html2haml-2.1.0.ebuild
new file mode 100644
index 000000000000..f256143bdc86
--- /dev/null
+++ b/dev-ruby/html2haml/html2haml-2.1.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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"
+
+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
+}