From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-ruby/html2haml/Manifest | 1 + dev-ruby/html2haml/html2haml-2.2.0.ebuild | 35 +++++++++++++++++++++++++++++++ dev-ruby/html2haml/metadata.xml | 12 +++++++++++ 3 files changed, 48 insertions(+) create mode 100644 dev-ruby/html2haml/Manifest create mode 100644 dev-ruby/html2haml/html2haml-2.2.0.ebuild create mode 100644 dev-ruby/html2haml/metadata.xml (limited to 'dev-ruby/html2haml') diff --git a/dev-ruby/html2haml/Manifest b/dev-ruby/html2haml/Manifest new file mode 100644 index 000000000000..3a29cdfdf90b --- /dev/null +++ b/dev-ruby/html2haml/Manifest @@ -0,0 +1 @@ +DIST html2haml-2.2.0.gem 21504 BLAKE2B ead2c636baacb8dbba7bd650356da5e2ebfa8ab565edb38ab03df287d8d0709b9271ef3f46fae0f2d2b86d37dbf6a0212fbf6803aaf7757a9f2653b773e46482 SHA512 b6988182073f35d4d9b9f07f2cc2ba01c66679fa646fd2d1e3c8cf0643c88b04a2b1a36d584bdcca897f804e32486a618abc8fbd8db023ff9c22ee66d93ed9f0 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..3dac0ad3ef2d --- /dev/null +++ b/dev-ruby/html2haml/html2haml-2.2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +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:5" + +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 +} diff --git a/dev-ruby/html2haml/metadata.xml b/dev-ruby/html2haml/metadata.xml new file mode 100644 index 000000000000..7d4b2e6aa00f --- /dev/null +++ b/dev-ruby/html2haml/metadata.xml @@ -0,0 +1,12 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + haml/html2haml + + gentoo-staging + -- cgit v1.3