summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-ruby/capybara
downloadgentoo-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-ruby/capybara')
-rw-r--r--dev-ruby/capybara/Manifest3
-rw-r--r--dev-ruby/capybara/capybara-1.1.4.ebuild46
-rw-r--r--dev-ruby/capybara/capybara-2.2.1.ebuild42
-rw-r--r--dev-ruby/capybara/capybara-2.4.4.ebuild45
-rw-r--r--dev-ruby/capybara/metadata.xml8
5 files changed, 144 insertions, 0 deletions
diff --git a/dev-ruby/capybara/Manifest b/dev-ruby/capybara/Manifest
new file mode 100644
index 000000000000..e6ddf3744c52
--- /dev/null
+++ b/dev-ruby/capybara/Manifest
@@ -0,0 +1,3 @@
+DIST capybara-1.1.4.gem 72192 SHA256 33073d7e4920a3e74c61ec46d1afe655eb0f3361187113c5e146df498e4611ed SHA512 102738031281d0fabd645fa6d941cf0a9ddd56f90d53d7cc1c8a7b03a37b6af8f4cddd178e6fc07d6751a539a5039cf20502eabdd49e8001793601bb312b47a3 WHIRLPOOL 81eff318acfdc0806c9f8d4e212068edd57694d44db1e29bbefaa7a4db162f3a2354374d6ab97ad7c2372ff9e6f6bb864ed483050facad5c298c2223a39c63cc
+DIST capybara-2.2.1.gem 218112 SHA256 0081ff6eaa33f4b5b0427db7ef0ca0af015a9bf6606126f41016db6feb58cdeb SHA512 e060706ef408f4ba2494fe45020b587914c5e1ab42717450be1818ab16782fc6e5eb49dd559ac00297cf83b267d4cec9c9766c19b0967573c6dd54e976a0fd59 WHIRLPOOL 2d58952539170ab298e80503431750feff40e4287edfefd4c0a564d9cb4abb8b0eb0833b28ebe467063be754d4d22bfddb868d4b605e992fd017a3fc8f432571
+DIST capybara-2.4.4.gem 232448 SHA256 8e28357fbdbd8df7d8c56d3d72fa8a5ef3a5a71b8abfbe9c1c77394b62279384 SHA512 344c09e4ba82709a216bbab96ba8c5e5965ddedef63bdaef3e647fb8de024a59d0043cf54420336bc8a4bd3ad186cb7292bcba5fa8fdc808a15ab6e1ee6d2793 WHIRLPOOL 0faf9b9d2b90b6e59ba9fbc080404727d069cad9b802ab0d8b2ba4eda311af203383d72cb701ed9385b42e973c3a1bfc68dab7f01885e7180298e9bbec800b43
diff --git a/dev-ruby/capybara/capybara-1.1.4.ebuild b/dev-ruby/capybara/capybara-1.1.4.ebuild
new file mode 100644
index 000000000000..0f7f3b867a43
--- /dev/null
+++ b/dev-ruby/capybara/capybara-1.1.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
+
+# Rake tasks are not distributed in the gem.
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit virtualx ruby-fakegem
+
+DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications"
+HOMEPAGE="http://github.com/jnicklas/capybara"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE="test"
+
+# Restrict tests until launchy is part of the main tree. With it
+# installed all tests should pass.
+RESTRICT="test"
+
+#ruby_add_bdepend "test? ( dev-ruby/rspec:2 dev-ruby/launchy www-client/firefox )"
+
+ruby_add_rdepend "
+ >=dev-ruby/mime-types-1.16
+ >=dev-ruby/nokogiri-1.3.3
+ >=dev-ruby/rack-1.0.0
+ >=dev-ruby/rack-test-0.5.4
+
+ >=dev-ruby/selenium-webdriver-2.0
+ >=dev-ruby/xpath-0.1.4:0"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/d' spec/spec_helper.rb || die
+}
+
+each_ruby_test() {
+ VIRTUALX_COMMAND="${RUBY} -Ilib -S rspec spec"
+ virtualmake || die "Tests failed."
+}
diff --git a/dev-ruby/capybara/capybara-2.2.1.ebuild b/dev-ruby/capybara/capybara-2.2.1.ebuild
new file mode 100644
index 000000000000..bd7539f6e9ed
--- /dev/null
+++ b/dev-ruby/capybara/capybara-2.2.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_EXTRADOC="History.md README.md"
+
+# Rake tasks are not distributed in the gem.
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit virtualx ruby-fakegem
+
+DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications"
+HOMEPAGE="http://github.com/jnicklas/capybara"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="2"
+IUSE="test"
+
+DEPEND="${DEPEND} test? ( www-client/firefox )"
+
+ruby_add_bdepend "test? ( dev-ruby/rspec:2 dev-ruby/launchy >=dev-ruby/selenium-webdriver-2.0 )"
+
+ruby_add_rdepend "
+ >=dev-ruby/mime-types-1.16
+ >=dev-ruby/nokogiri-1.3.3
+ >=dev-ruby/rack-1.0.0
+ >=dev-ruby/rack-test-0.5.4
+ >=dev-ruby/xpath-2.0.0:2"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/d' -e '/pry/d' spec/spec_helper.rb || die
+}
+
+each_ruby_test() {
+ VIRTUALX_COMMAND="${RUBY} -Ilib -S rspec spec"
+ virtualmake || die "Tests failed."
+}
diff --git a/dev-ruby/capybara/capybara-2.4.4.ebuild b/dev-ruby/capybara/capybara-2.4.4.ebuild
new file mode 100644
index 000000000000..017338c32f96
--- /dev/null
+++ b/dev-ruby/capybara/capybara-2.4.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_EXTRADOC="History.md README.md"
+
+# Rake tasks are not distributed in the gem.
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit virtualx ruby-fakegem
+
+DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications"
+HOMEPAGE="http://github.com/jnicklas/capybara"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="2"
+IUSE="test"
+
+DEPEND="${DEPEND} test? ( www-client/firefox )"
+
+ruby_add_bdepend "test? ( dev-ruby/rspec:2 dev-ruby/launchy >=dev-ruby/selenium-webdriver-2.0 )"
+
+ruby_add_rdepend "
+ >=dev-ruby/mime-types-1.16
+ >=dev-ruby/nokogiri-1.3.3
+ >=dev-ruby/rack-1.0.0
+ >=dev-ruby/rack-test-0.5.4
+ >=dev-ruby/xpath-2.0.0:2"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/d' -e '/pry/d' spec/spec_helper.rb || die
+
+ # Avoid window-manager specific tests (sizes are specific for fluxbox)
+ sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die
+}
+
+each_ruby_test() {
+ VIRTUALX_COMMAND="${RUBY} -Ilib -S rspec spec"
+ virtualmake || die "Tests failed."
+}
diff --git a/dev-ruby/capybara/metadata.xml b/dev-ruby/capybara/metadata.xml
new file mode 100644
index 000000000000..4c0ce61d2a94
--- /dev/null
+++ b/dev-ruby/capybara/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ruby</herd>
+ <upstream>
+ <remote-id type="github">jnicklas/capybara</remote-id>
+ </upstream>
+</pkgmetadata>