From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 49D9615800F for ; Fri, 13 Jan 2023 08:28:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F839E07E0; Fri, 13 Jan 2023 08:28:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 56FAFE07E0 for ; Fri, 13 Jan 2023 08:28:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 50FE4340A7F for ; Fri, 13 Jan 2023 08:28:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E2ABD7F2 for ; Fri, 13 Jan 2023 08:28:34 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1673598508.93ab9a25150e4291eaaef28d362488a235ea3785.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/html2haml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/html2haml/Manifest dev-ruby/html2haml/html2haml-2.3.0.ebuild X-VCS-Directories: dev-ruby/html2haml/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 93ab9a25150e4291eaaef28d362488a235ea3785 X-VCS-Branch: master Date: Fri, 13 Jan 2023 08:28:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9bff19bd-ad45-420a-9ea9-f4e900f06318 X-Archives-Hash: 1141c8af61378428ffe4a93c86c97943 commit: 93ab9a25150e4291eaaef28d362488a235ea3785 Author: Hans de Graaff gentoo org> AuthorDate: Fri Jan 13 08:08:13 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Jan 13 08:28:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93ab9a25 dev-ruby/html2haml: add 2.3.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/html2haml/Manifest | 1 + dev-ruby/html2haml/html2haml-2.3.0.ebuild | 35 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) 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 +}