diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-12-31 06:42:53 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-12-31 06:42:53 +0000 |
commit | 8c2e506fe28b996e494c21bcb9ef106d37278510 (patch) | |
tree | 76027f428c4dc0d0c6d7f13589066e52b3c2decf /dev-util/cucumber | |
parent | version bump (diff) | |
download | gentoo-2-8c2e506fe28b996e494c21bcb9ef106d37278510.tar.gz gentoo-2-8c2e506fe28b996e494c21bcb9ef106d37278510.tar.bz2 gentoo-2-8c2e506fe28b996e494c21bcb9ef106d37278510.zip |
Cleanup.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-util/cucumber')
-rw-r--r-- | dev-util/cucumber/ChangeLog | 6 | ||||
-rw-r--r-- | dev-util/cucumber/cucumber-0.7.3-r1.ebuild | 61 | ||||
-rw-r--r-- | dev-util/cucumber/cucumber-1.1.4.ebuild | 67 |
3 files changed, 5 insertions, 129 deletions
diff --git a/dev-util/cucumber/ChangeLog b/dev-util/cucumber/ChangeLog index 8a0f96d616c7..983b53a45aa9 100644 --- a/dev-util/cucumber/ChangeLog +++ b/dev-util/cucumber/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/cucumber # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber/ChangeLog,v 1.63 2013/12/26 19:00:17 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber/ChangeLog,v 1.64 2013/12/31 06:42:53 graaff Exp $ + + 31 Dec 2013; Hans de Graaff <graaff@gentoo.org> -cucumber-0.7.3-r1.ebuild, + -cucumber-1.1.4.ebuild: + Cleanup. 26 Dec 2013; Markus Meier <maekke@gentoo.org> cucumber-1.2.1.ebuild: arm stable, bug #493780 diff --git a/dev-util/cucumber/cucumber-0.7.3-r1.ebuild b/dev-util/cucumber/cucumber-0.7.3-r1.ebuild deleted file mode 100644 index 3d7481f0f7dd..000000000000 --- a/dev-util/cucumber/cucumber-0.7.3-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber/cucumber-0.7.3-r1.ebuild,v 1.9 2012/10/28 17:24:11 armin76 Exp $ - -EAPI=3 -USE_RUBY="ruby18 ree18" - -# Documentation task depends on sdoc which we currently don't have. -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_TASK_TEST="spec cucumber" -RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" - -inherit ruby-fakegem - -DESCRIPTION="Executable feature scenarios" -HOMEPAGE="https://github.com/cucumber/cucumber/wikis" -LICENSE="Ruby" - -KEYWORDS="~alpha ~amd64 hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -SLOT="0" -IUSE="examples" - -ruby_add_bdepend test ">=dev-ruby/rspec-1.3.0 >=dev-ruby/nokogiri-1.4.1" - -ruby_add_rdepend " - >=dev-ruby/builder-2.1.2 - >=dev-ruby/diff-lcs-1.1.2 - >=dev-ruby/gherkin-1.0.27 - <dev-ruby/gherkin-2.0.0 - >=dev-ruby/json-1.2.4 - >=dev-ruby/term-ansicolor-1.0.4 -" - -all_ruby_prepare() { - # Remove features checking for optional dependencies that we currently - # don't have in our tree. - rm -f features/drb_server_integration.feature features/cucumber_cli.feature || die "Unable to remove unsupported features." - - # Remove rspec 2.x support since it is based on a very early beta - # and no longer compatible. - epatch "${FILESDIR}/${P}-remove-rspec2.patch" -} - -each_ruby_install() { - each_fakegem_install - - ruby_fakegem_doins VERSION.yml -} - -all_ruby_install() { - all_fakegem_install - - if use examples; then - cp -pPR examples "${ED}/usr/share/doc/${PF}" || die "Failed installing example files." - fi -} - -pkg_postinst() { - ewarn "Cucumber 0.7.x has minor parsing incompatibilities. Check the upgrade guide" - ewarn "for details: http://wiki.github.com/aslakhellesoy/cucumber/upgrading" -} diff --git a/dev-util/cucumber/cucumber-1.1.4.ebuild b/dev-util/cucumber/cucumber-1.1.4.ebuild deleted file mode 100644 index 8de9a2c98274..000000000000 --- a/dev-util/cucumber/cucumber-1.1.4.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber/cucumber-1.1.4.ebuild,v 1.9 2012/10/28 18:18:57 armin76 Exp $ - -EAPI=2 -USE_RUBY="ruby18 ruby19 ree18" - -# 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/cucumber/cucumber/wikis" -LICENSE="Ruby" - -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -SLOT="0" -IUSE="examples" - -ruby_add_bdepend " - test? ( - >=dev-ruby/rspec-2.6.0 - >=dev-ruby/nokogiri-1.5.0 - >=dev-ruby/prawn-layout-0.8.4 - >=dev-ruby/spork-0.8.4-r1 - >=dev-ruby/syntax-1.0.0 - >=dev-util/aruba-0.4.6 - )" - -ruby_add_rdepend " - >=dev-ruby/builder-2.1.2 - >=dev-ruby/diff-lcs-1.1.2 - >=dev-ruby/gherkin-2.6.7:0 - >=dev-ruby/json-1.4.6 - >=dev-ruby/term-ansicolor-1.0.6 -" - -all_ruby_prepare() { - # Remove Bundler-related things. - sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die - rm Gemfile || die - - # Make sure spork is run in the right interpreter - sed -i -e 's/#{Spork::BINARY}/-S #{Spork::BINARY}/' features/support/env.rb || die - - # Skip failing tests due to hash ordering - sed -i -e '/when a specified profile does not exist/,/end/ s:^:#:' spec/cucumber/cli/configuration_spec.rb || die - sed -i -e '/should allow Array of Hash/,/end/ s:^:#:' spec/cucumber/ast/table_spec.rb || die -} - -each_ruby_test() { - ${RUBY} -Ilib -S rspec spec || die "Specs failed" - ${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 -} |