summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-10-10 07:37:26 +0000
committerHans de Graaff <graaff@gentoo.org>2010-10-10 07:37:26 +0000
commitbafc107ae9e660fd902efc9e03c334a47bf0abdc (patch)
treed02f365dbf1149ffcf67023c37ce6dd4c763e956 /dev-ruby/rspec
parentx86 stable wrt bug #339778 (diff)
downloadhistorical-bafc107ae9e660fd902efc9e03c334a47bf0abdc.tar.gz
historical-bafc107ae9e660fd902efc9e03c334a47bf0abdc.tar.bz2
historical-bafc107ae9e660fd902efc9e03c334a47bf0abdc.zip
Version bump.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/rspec')
-rw-r--r--dev-ruby/rspec/ChangeLog7
-rw-r--r--dev-ruby/rspec/Manifest14
-rw-r--r--dev-ruby/rspec/rspec-1.3.1.ebuild72
3 files changed, 91 insertions, 2 deletions
diff --git a/dev-ruby/rspec/ChangeLog b/dev-ruby/rspec/ChangeLog
index 3b0ef89cf824..342d5203f8ae 100644
--- a/dev-ruby/rspec/ChangeLog
+++ b/dev-ruby/rspec/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rspec
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec/ChangeLog,v 1.79 2010/09/18 16:21:44 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec/ChangeLog,v 1.80 2010/10/10 07:37:26 graaff Exp $
+
+*rspec-1.3.1 (10 Oct 2010)
+
+ 10 Oct 2010; Hans de Graaff <graaff@gentoo.org> +rspec-1.3.1.ebuild:
+ Version bump.
18 Sep 2010; Raúl Porcel <armin76@gentoo.org> rspec-2.0.0_beta22.ebuild:
Add ~ia64 wrt #337113
diff --git a/dev-ruby/rspec/Manifest b/dev-ruby/rspec/Manifest
index 9123084d34c5..23e0787dedd9 100644
--- a/dev-ruby/rspec/Manifest
+++ b/dev-ruby/rspec/Manifest
@@ -1,11 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST rspec-1.2.9.gem 208384 RMD160 ea1487ad53c2971da8568a640c3af64c3c3f3878 SHA1 55989a16f3c5577f953e1230435f5f650e61b079 SHA256 64dbfefbd1b434b76df814bc142c26e80037473321f3e6a89681ee406425285a
DIST rspec-1.2.9.tgz 207482 RMD160 00852805ed8437f44b3b129647a78d1de7eefd30 SHA1 2d936776fa482bb61408069f9db240bf05c90db8 SHA256 f85ecf3677ee8a700c553b7db50c2047b1f003e17a08388ac3453345cf1473b2
DIST rspec-1.3.0.gem 214016 RMD160 6682683dc7d812a5939c18a2e242e19461c23b75 SHA1 21358a24ae81b04aec1f734341853ed3795e0a15 SHA256 31199fed9ca4519551fec0a49c89cddfebf8617899f72409236f402ba4c051d7
+DIST rspec-1.3.1.gem 214528 RMD160 b222beb3629132957d5e00ef8301131d2cd77956 SHA1 3052cf6cf112597404aee0626110a8224091f1ef SHA256 266599abc471df01c09506e4d88e667bb623f762e3c62d794852416ba7cc93c0
DIST rspec-2.0.0.beta.22.gem 5632 RMD160 b6065c6644d510a561a9704ec4c556d495e3bff6 SHA1 7a1f5bdc4efdbf272fe4acd23eeb6ca198dde2a1 SHA256 3b611b8776ee80c2dc2c7fa771337106ede46ff2c8c748cc68b2a7d646ebe8b5
EBUILD rspec-1.2.9-r1.ebuild 786 RMD160 ce401f1794f3b412b9cf9dad9dd3aaa040980b3e SHA1 e6c0f36df28c4aaf31236e2f26c678f5ceea1a42 SHA256 17d56341941011e3fe6936533179319273e6d14e43a6e62f98600bf91a153007
EBUILD rspec-1.2.9.ebuild 436 RMD160 3896c369abee85e89102b558d42ced12b7183f2b SHA1 8129fa7e75414a9092e366cb137b3da96796e483 SHA256 40df9ac4377c1f8021b194040eb46516a0c3381c045a98f42fb2f211c165d2c0
EBUILD rspec-1.3.0-r1.ebuild 2039 RMD160 f33ea14cf896847b6e7c884d6be1c022f176a3e4 SHA1 9bbb99a0a3bb7fd65625b6b2b51f5ecf87e61bf9 SHA256 6b9b2ae604da01d605f48b8d40ace5e73ebd252f96165ee822ecb8821b9dc6ad
EBUILD rspec-1.3.0.ebuild 2012 RMD160 c2b03cd052e4afd63c2c21504659c16872b381fb SHA1 f904fa3cb2e1f65c61529a51c8601dc3f9894dd2 SHA256 f8371206c89fa67369da2b26c7788cee1ce163b4b6b9c0dc5b52485adb7f2bef
+EBUILD rspec-1.3.1.ebuild 2105 RMD160 f90e1e8dee0fa331294870902ac2a4dd6d063ae0 SHA1 d023898b881c2129a8bf66aa5500c672c554c6f1 SHA256 548e13d0ce15bc56302334e0bdaedf5861f8a62acfe0ac2ca4274abb7aa26a17
EBUILD rspec-2.0.0_beta22.ebuild 833 RMD160 0b4b285617b6f4128309f3b2455be49c742468b8 SHA1 d8a51e8fa515e63257b00083403a56513c717c5f SHA256 eb8534f4151ef6f6340de3048f9ba0f41001918961fab400f2d8a22f04069f37
-MISC ChangeLog 10594 RMD160 f8f6883ea6829257b49eb80c2a6d06abef2fad94 SHA1 edc93f3a19c91a25521c81c13c653b6dfb924c7d SHA256 2c886e00c7e9b733a1355b47bf5266205fdf7d7ed562903a354c4748fe7311bb
+MISC ChangeLog 10709 RMD160 09dd44a8f2fc7b25943da697abfd85192dacb285 SHA1 4444839265922c41a84dca19d32fb78a6d5f5116 SHA256 fdd35bf1a68d9d8d5f3f76095c7de33d698da275771d3a5c70b697185084e3a9
MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iF4EAREIAAYFAkyxbUMACgkQZihJkut28SvxvAD/XUYzC4naFsbGX3vm703WSik+
+C/PkE1v2bb2vVEVjUsoA/iNbdY/TlFojo5P6mZENyVALlrF4PTg02m83gCsARqI1
+=lDRd
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/rspec/rspec-1.3.1.ebuild b/dev-ruby/rspec/rspec-1.3.1.ebuild
new file mode 100644
index 000000000000..f4086a2757e0
--- /dev/null
+++ b/dev-ruby/rspec/rspec-1.3.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec/rspec-1.3.1.ebuild,v 1.1 2010/10/10 07:37:26 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ree18 ruby19 jruby"
+
+RUBY_FAKEGEM_TASK_TEST="spec"
+
+RUBY_FAKEGEM_TASK_DOC="docs"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc TODO.txt Ruby1.9.rdoc Upgrade.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
+HOMEPAGE="http://rspec.rubyforge.org/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+# it's actually optional, but tests fail if it's not installed and
+# some other package might fail tests, so require it anyway.
+ruby_add_rdepend ">=dev-ruby/diff-lcs-1.1.2"
+
+ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.0.0 )"
+
+RDEPEND="!<dev-ruby/rspec-rails-${PV}"
+
+# don't require test dependencies for jruby since we cannot run them
+# for now (fakefs doesn't work).
+#
+# We should add nokogiri here to make sure that we test as much as
+# possible, but since it's yet unported to 1.9 and the nokogiri-due
+# tests fail for sure, we'll be waiting on it.
+USE_RUBY="ruby18 ree18 ruby19" \
+ ruby_add_bdepend "test? (
+ >=dev-ruby/hoe-2.0.0
+ dev-ruby/zentest
+ >=dev-ruby/syntax-1.0
+ >=dev-ruby/fakefs-0.2.1 )"
+
+# the testsuite skips over heckle for Ruby 1.9 so we only request it for 1.8
+USE_RUBY="ruby18 ree18" \
+ ruby_add_bdepend "test? ( >=dev-ruby/heckle-1.4.3 )"
+
+all_ruby_prepare() {
+ # Replace reference to /tmp to our temporary directory to avoid
+ # sandbox-related failure.
+ sed -i \
+ -e "s:/tmp:${T}:" \
+ spec/spec/runner/command_line_spec.rb || die
+}
+
+src_test() {
+ chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
+ ruby-ng_src_test
+}
+
+each_ruby_test() {
+ case ${RUBY} in
+ *jruby)
+ ewarn "Tests for JRuby are disabled because dev-ruby/fakefs does not currently support"
+ ewarn "JRuby properly and it's needed to run the tests."
+ ;;
+ *)
+ each_fakegem_test
+ ;;
+ esac
+}