diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-03-02 11:54:48 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-03-03 08:32:06 +0100 |
commit | aa67ec7529fc102065a0252168fa8bd7b1d13ad2 (patch) | |
tree | f22956b6948fd1874cd0fb8c3c8bb12a80c0dd98 /dev-util/cucumber-html-formatter | |
parent | dev-util/cucumber-core: update LICENSE (diff) | |
download | gentoo-aa67ec7529fc102065a0252168fa8bd7b1d13ad2.tar.gz gentoo-aa67ec7529fc102065a0252168fa8bd7b1d13ad2.tar.bz2 gentoo-aa67ec7529fc102065a0252168fa8bd7b1d13ad2.zip |
dev-util/cucumber-html-formatter: avoid file collision
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/cucumber-html-formatter-20.4.0-r1.ebuild | 33 | ||||
-rw-r--r-- | dev-util/cucumber-html-formatter/cucumber-html-formatter-21.2.0.ebuild | 1 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-util/cucumber-html-formatter/cucumber-html-formatter-20.4.0-r1.ebuild b/dev-util/cucumber-html-formatter/cucumber-html-formatter-20.4.0-r1.ebuild new file mode 100644 index 000000000000..b156812777ec --- /dev/null +++ b/dev-util/cucumber-html-formatter/cucumber-html-formatter-20.4.0-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRAINSTALL="assets" + +inherit ruby-fakegem + +DESCRIPTION="HTML formatter for Cucumber" +HOMEPAGE="https://cucumber.io/" +LICENSE="Ruby" + +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-19.0.0:19 + !<dev-util/cucumber-html-formatter-19.2.0-r1 +" + +ruby_add_bdepend " + test? ( dev-util/cucumber-compatibility-kit:10 ) +" + +all_ruby_prepare() { + sed -i -e '1igem "cucumber-messages", "~>19.0"' spec/*_spec.rb || die +} 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 index bae498b8440b..dec778bc78a5 100644 --- 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 @@ -24,6 +24,7 @@ IUSE="test" ruby_add_rdepend " dev-util/cucumber-messages:22 + !<dev-util/cucumber-html-formatter-20.4.0-r1:20 " all_ruby_prepare() { |