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, 28 Jan 2018 07:32:05 +0000 (UTC)	[thread overview]
Message-ID: <1517124513.3dfac2326f650ab4b234684242dc3e952dd524e9.graaff@gentoo> (raw)

commit:     3dfac2326f650ab4b234684242dc3e952dd524e9
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 28 07:28:33 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jan 28 07:28:33 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dfac232

dev-util/cucumber: add 3.1.0

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-util/cucumber/Manifest              |  1 +
 dev-util/cucumber/cucumber-3.1.0.ebuild | 88 +++++++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/dev-util/cucumber/Manifest b/dev-util/cucumber/Manifest
index 31459532dce..392410ddee5 100644
--- a/dev-util/cucumber/Manifest
+++ b/dev-util/cucumber/Manifest
@@ -1,3 +1,4 @@
 DIST cucumber-1.3.20.gem 279040 BLAKE2B 7615ab4041326b39193cdfc54c5016e5b9e87facb652d0cc17be3c7cfac5e38ee3558d06cbfe4167fb27f32a07eba92e9836100b236ed604c897c8af89349230 SHA512 050573d2d7ea111dd9c8ec402321960203f7fd8d591be4f15b09fbd5bed89f3cb82104b8306f88f53bd92468ba689800707845f55785e6d20ed9f66f4b949050
 DIST cucumber-2.4.0.gem 250880 BLAKE2B 2d0479695800639340332ab26b745a84cdbe7dfc575e652f6a94eca77b0c3397a48a2f3220a2a4eb164e9f0f747bf4866678b7927cd0ce47e5ce78ee057d273d SHA512 b7f9720e3f9e1f30aba9590ff92209073bdc028b880ac7a378f6dfe2a7f093c0521387cfc9319d7ed994c5e9de7106ccff23ba1f10c1cc5888785c69262c723e
 DIST cucumber-3.0.2.tar.gz 267557 BLAKE2B 0ce098d9c747a6291e53c647f0e6da7adbcf4cd6f85953023f5fa0e14dc7186a706c43b81cf77a55ad56f932e60146e7e0ca7d4107f85e9c6bd46cbc8b2d1f7a SHA512 1506427fb6d9233231497f0e1396143cfb1495673113fbb26344b171413c1bc9d35fd8a8ca86aa14ffc279d1d9db05712618c3a0e96f2288056d76f39bbf2cf6
+DIST cucumber-3.1.0.tar.gz 267954 BLAKE2B e309c20a63621859375549d85cd85a89ec399821d7412932337b9d2d39c98204484297ce136b0023bdfb20b0a5844d27901663d5864007609657ca53c59f6572 SHA512 ace42faa4830740e09f484af65eac092cc5f5ac0607d3aaf6b6df1b2a27f16b9647d8759edf15c636f87177ce6b545a07bb22befff79b74234cb0c08c92ea9ca

diff --git a/dev-util/cucumber/cucumber-3.1.0.ebuild b/dev-util/cucumber/cucumber-3.1.0.ebuild
new file mode 100644
index 00000000000..d3db1225595
--- /dev/null
+++ b/dev-util/cucumber/cucumber-3.1.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24"
+
+# 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://github.com/aslakhellesoy/cucumber/wikis"
+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 ~ia64 ~ppc ~x86"
+SLOT="0"
+IUSE="examples test"
+
+ruby_add_bdepend "
+	test? (
+		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-1.7
+		>=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.1
+	dev-util/cucumber-expressions:5.0
+	>=dev-util/cucumber-wire-0.0.1:0
+	>=dev-ruby/diff-lcs-1.1.3
+	dev-ruby/gherkin: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 -i -e '/\(coveralls\|spork\|simplecov\|bcat\|kramdown\|yard\|capybara\|octokit\|rack-test\|ramaze\|rubocop\|sinatra\|webrat\|mime-types\|rubyzip\)/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+	# Avoid dependency on unpackaged cucumber-pro
+	sed -i -e '/cucumber-pro/ 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
+}
+
+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:[~2018-01-28  7:32 UTC|newest]

Thread overview: 149+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-28  7:32 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:36 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-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=1517124513.3dfac2326f650ab4b234684242dc3e952dd524e9.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