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: Wed,  7 Oct 2015 05:51:51 +0000 (UTC)	[thread overview]
Message-ID: <1444197016.436576be94cf06716003090445d45909adec5cfc.graaff@gentoo> (raw)

commit:     436576be94cf06716003090445d45909adec5cfc
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  7 05:50:03 2015 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Oct  7 05:50:16 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=436576be

dev-util/cucumber: fix gemspec

Make sure the 'files' and 'executables' fields
in the gemspec are correct.

Package-Manager: portage-2.2.20.1

 dev-util/cucumber/cucumber-1.3.20-r1.ebuild | 79 +++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)

diff --git a/dev-util/cucumber/cucumber-1.3.20-r1.ebuild b/dev-util/cucumber/cucumber-1.3.20-r1.ebuild
new file mode 100644
index 0000000..97fbe19
--- /dev/null
+++ b/dev-util/cucumber/cucumber-1.3.20-r1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+# Documentation task depends on sdoc which we currently don't have.
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST="none"
+RUBY_FAKEGEM_EXTRADOC="History.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="cucumber.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Executable feature scenarios"
+HOMEPAGE="https://github.com/aslakhellesoy/cucumber/wikis"
+LICENSE="Ruby"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+SLOT="0"
+IUSE="examples test"
+
+ruby_add_bdepend "
+	test? (
+		>=dev-ruby/rspec-2.13.0
+		>=dev-ruby/nokogiri-1.5.2
+		>=dev-ruby/syntax-1.0.0
+		>=dev-util/aruba-0.5.2
+		>=dev-ruby/json-1.7
+		dev-ruby/bundler
+		>=dev-util/cucumber-1.3
+		dev-ruby/rubyzip:0
+	)"
+
+ruby_add_rdepend "
+	>=dev-ruby/builder-2.1.2:*
+	>=dev-ruby/diff-lcs-1.1.3
+	>=dev-ruby/gherkin-2.12.0:0
+	>=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 '/\(spork\|simplecov\|bcat\|kramdown\|yard\|capybara\|rack-test\|ramaze\|sinatra\|webrat\|mime-types\|rubyzip\)/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+	# Fix too-strict test dependencies
+	sed -e '/nokogiri/ s/~> 1.5.2/>= 1.5.2/' \
+		-e '/aruba/ s/= 0.5.2/~> 0.5/' \
+		-e '/rake/ s/10.2/10.5/' -i ${RUBY_FAKEGEM_GEMSPEC} || die
+
+	# Make sure spork is run in the right interpreter
+	sed -i -e 's/#{Spork::BINARY}/-S #{Spork::BINARY}/' features/support/env.rb || die
+	rm features/drb_server_integration.feature || die
+
+	# Avoid json, they most likely fail due to multi_json weirdness.
+	rm features/json_formatter.feature || die
+	# Avoid features that break with newer rspec versions.
+	sed -i -e '369,398d' features/background.feature || die
+
+	# Avoid dependency on git
+	sed -i -e 's/git ls-files/find/' cucumber.gemspec || die
+}
+
+each_ruby_test() {
+	ruby-ng_rspec
+	RUBYLIB=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:[~2015-10-07  5:51 UTC|newest]

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