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 CA2FD158086 for ; Mon, 22 Nov 2021 19:11:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E6EE9E0878; Mon, 22 Nov 2021 19:11:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 CB4E5E0878 for ; Mon, 22 Nov 2021 19:11:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 C58E134330C for ; Mon, 22 Nov 2021 19:11:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 56F171E6 for ; Mon, 22 Nov 2021 19:11:33 +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: <1637608288.116b1766d9c7dd7b1f05af01b252f8c6d195f778.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/html2haml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/html2haml/html2haml-2.2.0-r1.ebuild X-VCS-Directories: dev-ruby/html2haml/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 116b1766d9c7dd7b1f05af01b252f8c6d195f778 X-VCS-Branch: master Date: Mon, 22 Nov 2021 19:11:33 +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: 1403161f-74f2-49af-ab3b-b36142216bf0 X-Archives-Hash: 1d6d5c4e9a230c264b1a1163642ea655 commit: 116b1766d9c7dd7b1f05af01b252f8c6d195f778 Author: Hans de Graaff gentoo org> AuthorDate: Mon Nov 22 19:08:03 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Nov 22 19:11:28 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=116b1766 dev-ruby/html2haml: EAPI 8 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/html2haml/html2haml-2.2.0-r1.ebuild | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/dev-ruby/html2haml/html2haml-2.2.0-r1.ebuild b/dev-ruby/html2haml/html2haml-2.2.0-r1.ebuild new file mode 100644 index 000000000000..c66f4f8eaa9c --- /dev/null +++ b/dev-ruby/html2haml/html2haml-2.2.0-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27" + +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 )" + +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 +}