diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-util/cucumber | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-util/cucumber')
-rw-r--r-- | dev-util/cucumber/Manifest | 4 | ||||
-rw-r--r-- | dev-util/cucumber/cucumber-1.3.17.ebuild | 77 | ||||
-rw-r--r-- | dev-util/cucumber/cucumber-1.3.18.ebuild | 79 | ||||
-rw-r--r-- | dev-util/cucumber/cucumber-1.3.19.ebuild | 79 | ||||
-rw-r--r-- | dev-util/cucumber/cucumber-1.3.20.ebuild | 79 | ||||
-rw-r--r-- | dev-util/cucumber/files/cucumber-0.7.3-remove-rspec2.patch | 96 | ||||
-rw-r--r-- | dev-util/cucumber/metadata.xml | 10 |
7 files changed, 424 insertions, 0 deletions
diff --git a/dev-util/cucumber/Manifest b/dev-util/cucumber/Manifest new file mode 100644 index 000000000000..ae363225fba8 --- /dev/null +++ b/dev-util/cucumber/Manifest @@ -0,0 +1,4 @@ +DIST cucumber-1.3.17.gem 278528 SHA256 3d6029398314ebbbba899c0739e5777ca317cc02353c8a8bfe7510c772ef56be SHA512 85d36ea77df50b2e3ee0e53d92ac8134d45a620b0b8ddddd1625204a051986136039adf21d1d78e78be325441613aabaa4dfc0f951c69a04e36767e3ae9bc40f WHIRLPOOL 8a87e8b7562a9245c29082dc72da2aace9a51150e982750d7db8749fd3c8a168ee67a8f803b02ce84e5424a4a59a86e43e8f7814b177256cbe519735e65df312 +DIST cucumber-1.3.18.gem 278528 SHA256 bc21947eb2566020c1fb8630d48a03e8275e7516ae16ebf5a08bd9078ed5709c SHA512 8279f4394e5205f3e7fef850ab746206c13241343399f4d0960dcde6288c00a45942f112e87a3a86ab7a1d0d331bc8024c0304be39fb4b63a8b4b3ea509a0504 WHIRLPOOL 4623cc8d0648a995dbeb3d888cf41dda5871cde68891cb936cd1778eca65764a44b4d15b29a14dc142d1647d500be174eec65eaa7303dd6ec1da042b3d241797 +DIST cucumber-1.3.19.gem 275968 SHA256 d99ed3f6af563ef1c063122918af5ab5ac1b877a9f3fc94b4d31b04c99070a9c SHA512 491f4f35346d9b90620ba7e003c7b65a08ce6d4acc23e5614871b05d06200ce32fa3619784d4279f3c799120f3e8588651da06f9e875c6d947ccab6c76694c8b WHIRLPOOL 133a6a8f52431e5d0a715115cf06787b28afdf382e6f196375657bf060d057cc4177adbfaf9c0a7046660dc726216a589483afb24e2d2b35852e14696a5dd583 +DIST cucumber-1.3.20.gem 279040 SHA256 8720b60453866f3970d2743ccf62a503bc656a56c7077cb30a892011c248f080 SHA512 050573d2d7ea111dd9c8ec402321960203f7fd8d591be4f15b09fbd5bed89f3cb82104b8306f88f53bd92468ba689800707845f55785e6d20ed9f66f4b949050 WHIRLPOOL 72488e56a8e8c34cf35fcf8f3dae3b4d80baaa2b57d4e10207bfcdf93e2d7bc45cd13517c97aaf615049f0ee1e6f583db45473f6270f2db18455aa265eeb8ef1 diff --git a/dev-util/cucumber/cucumber-1.3.17.ebuild b/dev-util/cucumber/cucumber-1.3.17.ebuild new file mode 100644 index 000000000000..03d87c9a929f --- /dev/null +++ b/dev-util/cucumber/cucumber-1.3.17.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20" + +# 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="http://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.1 +" + +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 dependency on git + sed -i -e '/git ls-files/d' 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 +} diff --git a/dev-util/cucumber/cucumber-1.3.18.ebuild b/dev-util/cucumber/cucumber-1.3.18.ebuild new file mode 100644 index 000000000000..15e488afe4cd --- /dev/null +++ b/dev-util/cucumber/cucumber-1.3.18.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" + +# 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="http://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.1 +" + +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 '/git ls-files/d' 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 +} diff --git a/dev-util/cucumber/cucumber-1.3.19.ebuild b/dev-util/cucumber/cucumber-1.3.19.ebuild new file mode 100644 index 000000000000..29a9ad4e622b --- /dev/null +++ b/dev-util/cucumber/cucumber-1.3.19.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" + +# 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="http://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 '/git ls-files/d' 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 +} diff --git a/dev-util/cucumber/cucumber-1.3.20.ebuild b/dev-util/cucumber/cucumber-1.3.20.ebuild new file mode 100644 index 000000000000..04b234b8b4ca --- /dev/null +++ b/dev-util/cucumber/cucumber-1.3.20.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 '/git ls-files/d' 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 +} diff --git a/dev-util/cucumber/files/cucumber-0.7.3-remove-rspec2.patch b/dev-util/cucumber/files/cucumber-0.7.3-remove-rspec2.patch new file mode 100644 index 000000000000..5f1f8b26f15e --- /dev/null +++ b/dev-util/cucumber/files/cucumber-0.7.3-remove-rspec2.patch @@ -0,0 +1,96 @@ +--- gem_tasks/rspec.rake.~1~ 2010-09-12 12:55:56.549346307 +0200 ++++ gem_tasks/rspec.rake 2010-09-12 12:56:40.796472416 +0200 +@@ -1,13 +1,3 @@ +-begin +- require 'rspec/core/rake_task' +- +- desc "Run RSpec" +- Rspec::Core::RakeTask.new do |t| +- t.rcov = ENV['RCOV'] +- t.rcov_opts = %w{--exclude osx\/objc,gems\/,spec\/} +- t.verbose = true +- end +-rescue LoadError => e + require 'spec/rake/spectask' + + desc "Run RSpec" +@@ -17,4 +7,3 @@ + t.rcov_opts = %w{--exclude osx\/objc,gems\/,spec\/} + t.verbose = true + end +-end +--- lib/cucumber/rspec/diffing.rb.~1~ 2010-09-12 12:55:56.276767180 +0200 ++++ lib/cucumber/rspec/diffing.rb 2010-09-12 13:00:05.884598738 +0200 +@@ -2,16 +2,9 @@ + + options = OpenStruct.new(:diff_format => :unified, :context_lines => 3) + +-begin +- # RSpec >=2.0 +- require 'rspec/expectations' +- require 'rspec/expectations/differs/default' +- Rspec::Expectations.differ = ::Rspec::Expectations::Differs::Default.new(options) +-rescue LoadError => try_rspec_1_2_4_or_higher + begin + require 'spec/expectations' + require 'spec/runner/differs/default' + Spec::Expectations.differ = Spec::Expectations::Differs::Default.new(options) + rescue LoadError => give_up + end +-end +--- spec/spec_helper.rb.~1~ 2010-09-12 12:55:56.280518419 +0200 ++++ spec/spec_helper.rb 2010-09-12 13:02:14.329221958 +0200 +@@ -4,16 +4,6 @@ + + require 'rubygems' + +-begin +- require 'rspec' +- require 'rspec/autorun' +- Rspec.configure do |c| +- c.color_enabled = true +- c.before(:each) do +- ::Term::ANSIColor.coloring = true +- end +- end +-rescue LoadError + require 'spec' + require 'spec/autorun' + Spec::Runner.configure do |c| +@@ -21,7 +11,6 @@ + ::Term::ANSIColor.coloring = true + end + end +-end + + require 'cucumber' + $KCODE='u' unless Cucumber::RUBY_1_9 +--- features/support/env.rb.~1~ 2010-09-12 12:55:56.272596255 +0200 ++++ features/support/env.rb 2010-09-12 13:03:37.824881422 +0200 +@@ -1,10 +1,6 @@ + require 'rubygems' + require 'tempfile' +-begin +- require 'rspec/expectations' +-rescue LoadError + require 'spec/expectations' +-end + require 'fileutils' + require 'forwardable' + require 'cucumber/formatter/unicode' +--- cucumber.yml.~1~ 2010-09-12 13:06:35.832722414 +0200 ++++ cucumber.yml 2010-09-12 13:07:58.896848344 +0200 +@@ -2,13 +2,8 @@ + rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : "" + rerun_opts = rerun.to_s.strip.empty? ? "--format progress features" : "--format pretty #{rerun}" + std_opts = "--format progress features --strict --tags ~@wip" +-begin +- require 'rspec/expectations' +- std_opts << ' --tags ~@rspec1' +-rescue LoadError + # rspec 1 + std_opts << ' --tags ~@rspec2' +-end + %> + default: <%= std_opts %> + jruby: <%= std_opts %> --tags ~@spork --tags ~@wire diff --git a/dev-util/cucumber/metadata.xml b/dev-util/cucumber/metadata.xml new file mode 100644 index 000000000000..ae454929f0f5 --- /dev/null +++ b/dev-util/cucumber/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>graaff@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">aslakhellesoy/cucumber</remote-id> + </upstream> +</pkgmetadata> |