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 F328D158089 for ; Thu, 28 Sep 2023 04:38:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2DD1F2BC013; Thu, 28 Sep 2023 04:38:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 DE5A02BC025 for ; Thu, 28 Sep 2023 04:38:07 +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 F058A335C7A for ; Thu, 28 Sep 2023 04:38:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E8331147 for ; Thu, 28 Sep 2023 04:38:05 +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: <1695875882.f6931edbe0b17cd93fd974340bc6aad748a5b620.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/haml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/haml/Manifest dev-ruby/haml/haml-6.1.4.ebuild X-VCS-Directories: dev-ruby/haml/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: f6931edbe0b17cd93fd974340bc6aad748a5b620 X-VCS-Branch: master Date: Thu, 28 Sep 2023 04:38:05 +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: f4d046b9-fbe8-4c8d-8716-4776da0c051f X-Archives-Hash: fca8845fbb3211875aafbc376ab426d8 commit: f6931edbe0b17cd93fd974340bc6aad748a5b620 Author: Hans de Graaff gentoo org> AuthorDate: Thu Sep 28 04:34:31 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Sep 28 04:38:02 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6931edb dev-ruby/haml: add 6.1.4 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/haml/Manifest | 1 + dev-ruby/haml/haml-6.1.4.ebuild | 59 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-ruby/haml/Manifest b/dev-ruby/haml/Manifest index ebacb93e112a..33dad6c18c21 100644 --- a/dev-ruby/haml/Manifest +++ b/dev-ruby/haml/Manifest @@ -1,3 +1,4 @@ DIST haml-5.2.2.tar.gz 129833 BLAKE2B d68c24c7a3c817d6d364b2ec92b84b4f56f4fffa48b99d17b2df27da35f50b1fb1f69b184a7b21d899c476e0d4c8ad2b940a7cb2995ec24ecdafab8ef61fe393 SHA512 1aec59fab20d8139a5dfedde2007fa8137a377a345e4d30229f9d1140d56cdf970c8ae70e2647e6a408d7fa543a16050f66a8a636efa6a6b1f91ee1ffcc136c1 DIST haml-6.1.1.tar.gz 669644 BLAKE2B 239b3a1fe02bcd1e2981198ba7c54c71ca2af0947102fcea6cd600cc6579294856baa290589a7d3a015e54df8bcecf8e50175cf2189e8f4f9c6f9721a558bcc9 SHA512 7d732be085b41b8f0eec418600a82b51c68301081165aa636fa342ae26b74215a202a4b15e592da980d9a7fbe24bad01399f599770420133c4b6ab7523386fa5 DIST haml-6.1.2.tar.gz 669696 BLAKE2B 81398ca33af69a1cf79cbe6d49d82ca27489584dc8c4082c079606f1f029b99e6b4c6fb350a5b50da31349ca3cbd7b7d2913e521b401634f7442e03279753e18 SHA512 c059b96111c6e477874cf37f0463dd9150d00e2e5261e9dab8251e1f66cacfa647009bf4d7ddd60fd11582c3f41ce06515f5aa448358aa58a9df2c8289660151 +DIST haml-6.1.4.tar.gz 669960 BLAKE2B ae4194a7af653e60ec1f5a494a4f8db61a53c99790a9f859cf294961d6cf2d215ad5d2dc78f61355c65935aca0d5534604f0b2fe77dcaf9d3a6cfd775c173701 SHA512 fe866b524fd2f5e85e458897642cb39a97802fdf728182ae3ca2e828931d5526e0568e771a067161610dbb600d962808f417f9dee8b08ffe4baeb71a5566f502 diff --git a/dev-ruby/haml/haml-6.1.4.ebuild b/dev-ruby/haml/haml-6.1.4.ebuild new file mode 100644 index 000000000000..87b992e5e5ee --- /dev/null +++ b/dev-ruby/haml/haml-6.1.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTENSIONS=(ext/haml/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/haml" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md REFERENCE.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A ruby web page templating engine" +HOMEPAGE="https://haml.info/" +SRC_URI="https://github.com/haml/haml/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +IUSE="doc test" + +ruby_add_rdepend ">=dev-ruby/temple-0.8.2 dev-ruby/thor dev-ruby/tilt:*" + +ruby_add_bdepend " + test? ( + dev-ruby/minitest:5.15 + dev-ruby/nokogiri + >=dev-ruby/railties-6.0 + >=dev-ruby/activemodel-6.0 + >=dev-ruby/actionpack-6.0 + dev-ruby/unindent + ) + doc? ( + dev-ruby/yard + )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/bundler/ s:^:#: ; /Bundler/,/end/ s:^:#:' Rakefile || die + # minitest hack just to match rails/activesupport + sed -i \ + -e "/require 'minitest\/autorun'/igem 'minitest', '< 5.16'" \ + -e '/bundler/I s:^:#:' \ + -e '/simplecov/I s:^:#:' \ + test/test_helper.rb || die + # Remove tests that fails when RedCloth is available + rm -f test/haml/filters/markdown_test.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -rtest_helper -e 'Dir["test/haml/**/*_test.rb"].each { require _1 }' || die +}