public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cucumber/
Date: Sun, 14 Aug 2022 06:36:10 +0000 (UTC)	[thread overview]
Message-ID: <1660458937.9bf8a98e04bebdc670815f704ab0357f450d423f.graaff@gentoo> (raw)

commit:     9bf8a98e04bebdc670815f704ab0357f450d423f
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 14 06:35:37 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Aug 14 06:35:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf8a98e

Revert "dev-util/cucumber: drop 3.2.0"

This reverts commit 67553bd18e0371e6df55050376070e866cbc8990.

The dev-util/aruba:1 slot still depends on this and it cannot be masked
for removal right away.

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-util/cucumber/Manifest              |  1 +
 dev-util/cucumber/cucumber-3.2.0.ebuild | 98 +++++++++++++++++++++++++++++++++
 2 files changed, 99 insertions(+)

diff --git a/dev-util/cucumber/Manifest b/dev-util/cucumber/Manifest
index 981dded90d3b..75d141b772d7 100644
--- a/dev-util/cucumber/Manifest
+++ b/dev-util/cucumber/Manifest
@@ -1,2 +1,3 @@
+DIST cucumber-3.2.0.tar.gz 271886 BLAKE2B 0945336e2a4d14c21d22b3af18fb140663fa0c5acd7d29540cb6755fcc50b020640ffc573f4d4ed17af2758df3df410f93cf5067b736cb8005d9a6ae7fa4d397 SHA512 927ca314c56f83e270284921131ec62aa05053d29a77b230799bd1949751f64c964c0f87525c776d7fe260506ddb632b5cc8939df841d131f6a0af8a82110441
 DIST cucumber-7.1.0.tar.gz 410595 BLAKE2B ee1fbca606479f1f07d64a5434051d8466d7056a326424a0235a6e4f860ed3cdc7862495156874b38631e6a0a1b70bda40deb6f5310f7bd6bdafe72c5faa8f2b SHA512 7c124110634259e83ba1986efacf85a73e9a6f36a7c262ba9842e85e73e359a50b5090489f656e5b503cac68e3db9905dd1834db1bfae9ee55e3a4d1b31a4adb
 DIST cucumber-8.0.0.tar.gz 412254 BLAKE2B 8e86ca726a85afeb6d80799c3b2cf633e4949bacb9ad65b41d3baf37f642b9032d57b4e66cca15cbababcdbe5541ce2cd0d23b113897dedbd7cbfb5c85283a00 SHA512 33e9abeb33c7924c3eedfcf477019a782cd813a004e35dcdeb0878b6dea920ba870023b6c8a60c8de810ff231378fa67969208611ce8e9199ae2611d3f6f1f99

diff --git a/dev-util/cucumber/cucumber-3.2.0.ebuild b/dev-util/cucumber/cucumber-3.2.0.ebuild
new file mode 100644
index 000000000000..b5af4c5497d0
--- /dev/null
+++ b/dev-util/cucumber/cucumber-3.2.0.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+# Documentation task depends on sdoc which we currently don't have.
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST="none"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="cucumber.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Executable feature scenarios"
+HOMEPAGE="https://cucumber.io/"
+SRC_URI="https://github.com/cucumber/cucumber-ruby/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="cucumber-ruby-${PV}"
+LICENSE="Ruby"
+
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~s390 sparc x86"
+SLOT="0"
+IUSE="examples test"
+
+ruby_add_bdepend "
+	test? (
+		dev-ruby/bundler
+		dev-ruby/rspec:3
+		>=dev-ruby/nokogiri-1.5.2
+		>=dev-ruby/syntax-1.0.0
+		>=dev-util/aruba-0.6.1 =dev-util/aruba-0.6*
+		dev-ruby/json
+		>=dev-util/cucumber-3
+		>=dev-ruby/mime-types-2.99:2
+	)"
+
+ruby_add_rdepend "
+	>=dev-ruby/builder-2.1.2:*
+	dev-util/cucumber-core:3.2
+	>=dev-util/cucumber-expressions-6.0.1:6.0
+	>=dev-util/cucumber-wire-0.0.1:0
+	>=dev-ruby/diff-lcs-1.3:0
+	>=dev-ruby/gherkin-5.1.0:5
+	>=dev-ruby/multi_json-1.7.5
+	>=dev-ruby/multi_test-0.1.2
+"
+
+all_ruby_prepare() {
+	# Remove development dependencies from the gemspec that we don't
+	# need or can't satisfy.
+	sed -e '/\(coveralls\|spork\|simplecov\|bcat\|kramdown\|yard\|capybara\|octokit\|rack-test\|ramaze\|rubocop\|sinatra\|webrat\|mime-types\|rubyzip\)/d' \
+		-e '/nokogiri/ s/1.8.1/1.8/' \
+		-e "/json/ s/, '~> 1.8.6'//" \
+		-i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+	# Avoid dependency on unpackaged packages
+	sed -i -e '/\(cucumber-pro\|webrick\)/ s:^:#:' Gemfile || die
+
+	# Avoid harmless failing spec
+	sed -i -e '/converts the snapshot path to a relative path/,/end/ s:^:#:' \
+		spec/cucumber/formatter/html_spec.rb || die
+
+	# Avoid failing features on new delegate and forwardable behavior in ruby
+	rm -f features/docs/defining_steps/ambiguous_steps.feature features/docs/defining_steps/nested_steps.feature || die
+
+	# Avoid dependency on git
+	sed -i -e '/executables/ s/=.*/= ["cucumber"]/' \
+		-e '/git ls-files/d' cucumber.gemspec || die
+
+	sed -i -e '/pry/ s:^:#:' cucumber.gemspec spec/spec_helper.rb || die
+
+	rm -f Gemfile.lock || die
+}
+
+each_ruby_prepare() {
+	# Use the right interpreter
+	sed -i -e 's:ruby:'${RUBY}':' features/lib/step_definitions/ruby_steps.rb || die
+
+	case ${RUBY} in
+		*ruby24|*ruby25)
+			rm -f spec/cucumber/formatter/http_io_spec.rb || die
+			;;
+	esac
+}
+
+each_ruby_test() {
+	RSPEC_VERSION=3 ruby-ng_rspec
+	CUCUMBER_USE_RELEASED_CORE=true PATH="${S}"/bin:${PATH} RUBYLIB="${S}"/lib ${RUBY} -Ilib bin/cucumber features || die "Features failed"
+}
+
+all_ruby_install() {
+	all_fakegem_install
+
+	if use examples; then
+		cp -pPR examples "${D}/usr/share/doc/${PF}" || die "Failed installing example files."
+	fi
+}


             reply	other threads:[~2022-08-14  6:36 UTC|newest]

Thread overview: 149+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-14  6:36 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-31  6:03 [gentoo-commits] repo/gentoo:master commit in: dev-util/cucumber/ Hans de Graaff
2024-07-21 13:22 Sam James
2024-07-21 13:22 Sam James
2024-07-21 12:55 Jakov Smolić
2024-07-21 12:55 Jakov Smolić
2024-07-21 12:42 Sam James
2024-07-21  7:04 Hans de Graaff
2024-03-20 14:44 Hans de Graaff
2024-03-03  7:32 Hans de Graaff
2024-01-14  8:42 Hans de Graaff
2024-01-04 16:26 WANG Xuerui
2023-11-30  7:15 Hans de Graaff
2023-11-04  7:13 Hans de Graaff
2023-11-04  7:13 Hans de Graaff
2023-06-16  5:38 Hans de Graaff
2023-04-10 10:37 Sam James
2023-04-10 10:37 Sam James
2023-04-10 10:34 Sam James
2023-04-10 10:28 Sam James
2023-04-10 10:28 Sam James
2023-04-10 10:28 Sam James
2023-04-07 13:14 Sam James
2023-04-01 23:19 Sam James
2022-12-02  7:55 Hans de Graaff
2022-08-14  6:24 Hans de Graaff
2022-07-13  9:05 Hans de Graaff
2022-05-22  6:23 Agostino Sarubbo
2022-05-22  6:15 Agostino Sarubbo
2022-05-21  8:27 Agostino Sarubbo
2022-05-21  8:26 Agostino Sarubbo
2022-05-21  8:25 Agostino Sarubbo
2022-05-20  9:02 Agostino Sarubbo
2022-05-20  9:00 Agostino Sarubbo
2022-04-18 12:14 Hans de Graaff
2022-04-18 12:14 Hans de Graaff
2022-03-19 12:00 Hans de Graaff
2021-11-24  7:29 Hans de Graaff
2021-11-23 16:09 Sam James
2021-10-16  7:46 Hans de Graaff
2021-10-11  0:45 Sam James
2021-10-10 21:48 Sam James
2021-10-10 20:53 Sam James
2021-10-10 20:48 Sam James
2021-09-10  6:03 Hans de Graaff
2021-08-15  7:41 Hans de Graaff
2021-08-02 21:48 Marek Szuba
2021-07-30  8:30 Hans de Graaff
2021-07-30  8:30 Hans de Graaff
2021-07-26  5:22 Sam James
2021-07-26  5:22 Sam James
2021-07-25  3:23 Sam James
2021-07-16  8:52 Hans de Graaff
2021-07-15 22:18 Sergei Trofimovich
2021-07-14  9:20 Hans de Graaff
2021-07-10  6:57 Hans de Graaff
2021-07-09  1:36 Sam James
2021-07-08  3:53 Sam James
2021-07-05 22:35 Sam James
2021-07-04 22:17 Sam James
2021-07-03  1:32 Sam James
2021-07-03  1:28 Sam James
2020-12-15  2:37 Matt Turner
2020-07-22  4:43 Hans de Graaff
2020-07-11  9:28 Hans de Graaff
2020-06-07  8:37 Hans de Graaff
2019-06-05 17:56 Hans de Graaff
2019-06-05  7:28 Agostino Sarubbo
2019-05-20 17:28 Hans de Graaff
2019-05-04  7:49 Hans de Graaff
2019-05-04  7:49 Hans de Graaff
2019-05-02 21:38 Mikle Kolyada
2019-04-28 20:12 Mikle Kolyada
2019-04-27 19:20 Sergei Trofimovich
2019-04-27 16:25 Sergei Trofimovich
2019-04-27 16:03 Sergei Trofimovich
2019-04-26 20:54 Mikle Kolyada
2019-04-24 17:02 Sergei Trofimovich
2019-04-23 19:33 Mikle Kolyada
2019-04-11 17:46 Hans de Graaff
2019-03-20 18:59 Mikle Kolyada
2018-12-27  2:57 Matt Turner
2018-12-27  2:57 Matt Turner
2018-12-23 19:17 Hans de Graaff
2018-12-23 19:17 Hans de Graaff
2018-12-23 19:17 Hans de Graaff
2018-12-12  7:33 Hans de Graaff
2018-12-12  7:33 Hans de Graaff
2018-12-12  7:33 Hans de Graaff
2018-12-12  7:33 Hans de Graaff
2018-07-15  9:05 Hans de Graaff
2018-07-15  8:01 Patrice Clement
2018-07-15  5:43 Hans de Graaff
2018-07-12 21:16 Sergei Trofimovich
2018-06-25 19:02 Hans de Graaff
2018-06-18 18:07 Tobias Klausmann
2018-06-14 19:22 Mikle Kolyada
2018-06-05  4:06 Hans de Graaff
2018-06-04 11:46 Hans de Graaff
2018-05-22 16:33 Hans de Graaff
2018-04-13 23:22 Aaron Bauman
2018-04-08 23:44 Matt Turner
2018-03-22 20:23 Jeroen Roovers
2018-03-18 22:38 Sergei Trofimovich
2018-03-18 19:59 Markus Meier
2018-03-06 22:28 Sergei Trofimovich
2018-01-28  7:32 Hans de Graaff
2018-01-21  8:56 Hans de Graaff
2018-01-08 23:57 Thomas Deutschmann
2018-01-07 20:53 Markus Meier
2017-12-29 17:41 Sergei Trofimovich
2017-12-29  6:27 Hans de Graaff
2017-12-29  6:27 Hans de Graaff
2017-12-28 18:45 Thomas Deutschmann
2017-12-27 20:06 Sergei Trofimovich
2017-12-26  7:06 Hans de Graaff
2017-12-22  5:20 Markus Meier
2017-12-06  7:12 Hans de Graaff
2017-12-06  7:09 Hans de Graaff
2017-11-26 10:02 Hans de Graaff
2017-10-23 21:38 Sergei Trofimovich
2017-10-23  7:28 Sergei Trofimovich
2017-10-21  6:33 Hans de Graaff
2017-10-21  6:28 Hans de Graaff
2017-10-01  0:56 Thomas Deutschmann
2017-09-02  6:53 Hans de Graaff
2017-08-22  9:19 Sergei Trofimovich
2017-06-06 22:12 Sergei Trofimovich
2017-04-30  5:33 Hans de Graaff
2017-04-29 20:26 Jeroen Roovers
2017-04-02  6:22 Hans de Graaff
2017-02-27 17:01 Michael Weber
2017-02-14  0:36 Michael Weber
2016-12-24 10:26 Agostino Sarubbo
2016-12-23  6:40 Hans de Graaff
2016-12-22  9:34 Agostino Sarubbo
2016-12-20  9:44 Agostino Sarubbo
2016-12-19 15:12 Agostino Sarubbo
2016-12-19 14:35 Agostino Sarubbo
2016-12-18 15:57 Agostino Sarubbo
2016-12-18 15:44 Agostino Sarubbo
2016-12-14  9:14 Tobias Klausmann
2016-12-11 18:26 Hans de Graaff
2016-12-03  6:37 Hans de Graaff
2016-09-01 19:49 Hans de Graaff
2016-08-16  6:05 Hans de Graaff
2016-07-25 19:24 Hans de Graaff
2016-04-10  0:26 Manuel Rüger
2015-10-07  5:51 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1660458937.9bf8a98e04bebdc670815f704ab0357f450d423f.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox