diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-01-13 09:08:13 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-01-13 09:28:28 +0100 |
commit | 93ab9a25150e4291eaaef28d362488a235ea3785 (patch) | |
tree | 24bdb67ea91789a08e56964a88a7ed5785acc9fd /dev-ruby/html2haml | |
parent | net-firewall/xtables-addons: Stabilize 3.21 x86, #890622 (diff) | |
download | gentoo-93ab9a25150e4291eaaef28d362488a235ea3785.tar.gz gentoo-93ab9a25150e4291eaaef28d362488a235ea3785.tar.bz2 gentoo-93ab9a25150e4291eaaef28d362488a235ea3785.zip |
dev-ruby/html2haml: add 2.3.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/html2haml')
-rw-r--r-- | dev-ruby/html2haml/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/html2haml/html2haml-2.3.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/html2haml/Manifest b/dev-ruby/html2haml/Manifest index 3a29cdfdf90b..ecc5f1af276d 100644 --- a/dev-ruby/html2haml/Manifest +++ b/dev-ruby/html2haml/Manifest @@ -1 +1,2 @@ DIST html2haml-2.2.0.gem 21504 BLAKE2B ead2c636baacb8dbba7bd650356da5e2ebfa8ab565edb38ab03df287d8d0709b9271ef3f46fae0f2d2b86d37dbf6a0212fbf6803aaf7757a9f2653b773e46482 SHA512 b6988182073f35d4d9b9f07f2cc2ba01c66679fa646fd2d1e3c8cf0643c88b04a2b1a36d584bdcca897f804e32486a618abc8fbd8db023ff9c22ee66d93ed9f0 +DIST html2haml-2.3.0.gem 21504 BLAKE2B 52bfdab16a78c44f7f3f5e4be6015f236fe53b15c9fe6e595223e76fdef544f06cb4abc8b3a2c3fd904c20a404e5bb10c44546494a93ff10690bd5a023afe555 SHA512 75b3453fe919c8914d53cb5492df2377756d89fa795d5ea29a64559e7f3e4ee91e61db706e7860e214a7e6d5160e0f209c65d68d8d3ac28ec5b51fefba6a9a94 diff --git a/dev-ruby/html2haml/html2haml-2.3.0.ebuild b/dev-ruby/html2haml/html2haml-2.3.0.ebuild new file mode 100644 index 000000000000..0817065ce65c --- /dev/null +++ b/dev-ruby/html2haml/html2haml-2.3.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31" + +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" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +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 +} |