diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-06-25 20:59:23 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-06-25 21:02:11 +0200 |
commit | c8928c83900cfc3d3aaa35bc3add953a35ec18e9 (patch) | |
tree | 94df25c9e29c106d2c3db268bc3fd171d731975d /dev-util/cucumber | |
parent | dev-lang/php: Drop old version in 7.2 slot (diff) | |
download | gentoo-c8928c83900cfc3d3aaa35bc3add953a35ec18e9.tar.gz gentoo-c8928c83900cfc3d3aaa35bc3add953a35ec18e9.tar.bz2 gentoo-c8928c83900cfc3d3aaa35bc3add953a35ec18e9.zip |
dev-util/cucumber: cleanup
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-util/cucumber')
-rw-r--r-- | dev-util/cucumber/Manifest | 1 | ||||
-rw-r--r-- | dev-util/cucumber/cucumber-1.3.20-r1.ebuild | 77 |
2 files changed, 0 insertions, 78 deletions
diff --git a/dev-util/cucumber/Manifest b/dev-util/cucumber/Manifest index 8502258fdca9..42ef79167318 100644 --- a/dev-util/cucumber/Manifest +++ b/dev-util/cucumber/Manifest @@ -1,4 +1,3 @@ -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-1.3.20-r1.ebuild b/dev-util/cucumber/cucumber-1.3.20-r1.ebuild deleted file mode 100644 index 1de00dfd10cc..000000000000 --- a/dev-util/cucumber/cucumber-1.3.20-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby22 ruby23" - -# 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 - )" - -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/13/' -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 -} |