diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-03-02 09:07:52 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-03-03 08:32:05 +0100 |
commit | 1691bfdefb6b3586451f670a787354337ea65c40 (patch) | |
tree | f885d19b2f79d1d207322fcc12e5721fcb5e24b7 /dev-util/cucumber-html-formatter | |
parent | x11-terms/wezterm: Bump to 20240203-110809 (diff) | |
download | gentoo-1691bfdefb6b3586451f670a787354337ea65c40.tar.gz gentoo-1691bfdefb6b3586451f670a787354337ea65c40.tar.bz2 gentoo-1691bfdefb6b3586451f670a787354337ea65c40.zip |
dev-util/cucumber-html-formatter: add 21.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-util/cucumber-html-formatter')
-rw-r--r-- | dev-util/cucumber-html-formatter/Manifest | 1 | ||||
-rw-r--r-- | dev-util/cucumber-html-formatter/cucumber-html-formatter-21.2.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-util/cucumber-html-formatter/Manifest b/dev-util/cucumber-html-formatter/Manifest index 6d537a127cbe..c942003f1705 100644 --- a/dev-util/cucumber-html-formatter/Manifest +++ b/dev-util/cucumber-html-formatter/Manifest @@ -1,2 +1,3 @@ DIST cucumber-html-formatter-19.2.0.gem 478720 BLAKE2B 1f2f6b2f93d63207cb2bb6e23ad14d71eb06a8363c7af7f417e4755ffffb2beabe8502ed5d82a881c072b911a42cb1fc2f1809e7326c223c00c25a36482d052b SHA512 c5f1453677b4df5e9091721bbb15a522f5c91cbcb2cb11a8c1d8f2577d8b3b93810698447a1fe1f2b80dc52a1bf798ffcb876b2c728ceaf109f1997a2fdde249 DIST cucumber-html-formatter-20.4.0.gem 592896 BLAKE2B 48fcdc7dacf354973b25c745c0f86334f882766e6d3776cdcbdbf574b69bd01550d43417fbb55d99c01f8485d174dd3e64a3b4aaeb33a577c3ab3b87318029c0 SHA512 c60b8a084bd0c05c9659e9cfb327194975d9eabf6dd39e282d3ff343df740f0fd13a2d854d3b095064ea3df04e73ba0324102f5fbd05b3cf98498420a036005e +DIST cucumber-html-formatter-21.2.0.tar.gz 175743 BLAKE2B 5ade792b6101f2069700f47beb0c958be5da66c542ac7d9b44d9815a047df9d29d82da0f446b5e690f4d3114bd594c6346269dc0a1cf36d4654a098abf06246c SHA512 e2457119ac4321e0a2f38f86f159dbe494f60bbd74d1a8d3710a5bf9102104aaaa058862b110ec55ce14eb106e6e4a7846af623e12f4354cf43a13ec5a76343d diff --git a/dev-util/cucumber-html-formatter/cucumber-html-formatter-21.2.0.ebuild b/dev-util/cucumber-html-formatter/cucumber-html-formatter-21.2.0.ebuild new file mode 100644 index 000000000000..bae498b8440b --- /dev/null +++ b/dev-util/cucumber-html-formatter/cucumber-html-formatter-21.2.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_GEMSPEC="cucumber-html-formatter.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRAINSTALL="assets" + +inherit ruby-fakegem + +DESCRIPTION="HTML formatter for Cucumber" +HOMEPAGE="https://cucumber.io/" +SRC_URI="https://github.com/cucumber/html-formatter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="html-formatter-${PV}/ruby" + +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +SLOT="$(ver_cut 1)" +IUSE="test" + +ruby_add_rdepend " + dev-util/cucumber-messages:22 +" + +all_ruby_prepare() { + # Require a specific version of cucumber-messages that is compatible + # throughout the cucumber stack. Drop compatibility-kit since it + # does not work with the supported versions of cucumber-messages and + # newer versions are completely broken. + sed -e '2igem "cucumber-messages", "~>22.0"' \ + -e '/compatibility-kit/ s:^:#:' \ + -i spec/spec_helper.rb || die + + sed -e '/when using the CCK/,/^ end/ s:^:#:' \ + -i spec/cucumber/html_formatter/formatter_spec.rb || die + +} |