summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-04-28 23:46:50 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-04-28 23:46:50 +0000
commit714665f8f8250643056e2e95154531714995168c (patch)
tree8b5f6b1381ab5a404ced732b47cf02704b23b8f5 /dev-ruby
parentmarked x86 per bug 413759 (diff)
downloadhistorical-714665f8f8250643056e2e95154531714995168c.tar.gz
historical-714665f8f8250643056e2e95154531714995168c.tar.bz2
historical-714665f8f8250643056e2e95154531714995168c.zip
Fix testing: add rack and mongrel to dependencies (the latter only in ruby18), and run the tests sequentially instead of all at once.
Package-Manager: portage-2.2.0_alpha101/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/fast_xs/ChangeLog6
-rw-r--r--dev-ruby/fast_xs/Manifest18
-rw-r--r--dev-ruby/fast_xs/fast_xs-0.8.0.ebuild19
3 files changed, 38 insertions, 5 deletions
diff --git a/dev-ruby/fast_xs/ChangeLog b/dev-ruby/fast_xs/ChangeLog
index 4745702df683..637997c22480 100644
--- a/dev-ruby/fast_xs/ChangeLog
+++ b/dev-ruby/fast_xs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/fast_xs
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_xs/ChangeLog,v 1.6 2012/03/28 20:25:08 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_xs/ChangeLog,v 1.7 2012/04/28 23:46:50 flameeyes Exp $
+
+ 28 Apr 2012; Diego E. Pettenò <flameeyes@gentoo.org> fast_xs-0.8.0.ebuild:
+ Fix testing: add rack and mongrel to dependencies (the latter only in ruby18),
+ and run the tests sequentially instead of all at once.
28 Mar 2012; Brent Baude <ranger@gentoo.org> fast_xs-0.8.0.ebuild:
Marking fast_xs-0.8.0 ~ppc64 for bug 405757
diff --git a/dev-ruby/fast_xs/Manifest b/dev-ruby/fast_xs/Manifest
index dd6d260075ce..98234b99155c 100644
--- a/dev-ruby/fast_xs/Manifest
+++ b/dev-ruby/fast_xs/Manifest
@@ -1,7 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX fast_xs-0.8.0+ruby-1.9.patch 1090 RMD160 6947504295fdf357527f4694c43c814f732d9c93 SHA1 dc443252e4ef4200cb35f6b25f9e1d8ebcaac42e SHA256 5f4b59f7ae2aac87377d37d9124430ca752cfda0348a308464a1d06800aa8518
DIST fast_xs-0.7.3.gem 20480 RMD160 6d8204f58299485daa610dc9f6f43b7cea3ba2de SHA1 ffa990e5ed1014f8f182602da311abe876cf55b5 SHA256 108e4e4099d1468970c4fe57f2deca31ad1ef923877352ee1c7394d31ab0538b
DIST fast_xs-0.8.0.gem 22016 RMD160 28b0bfbeb7c5067fb7458c9b4530bd6048edbdef SHA1 1c3167438e5817324bffd6e7fbd021497623365d SHA256 5ff2e1b088bdad3d4eae2a71b118b8aa9b39975702853c3bb307e35db1facdc7
EBUILD fast_xs-0.7.3-r1.ebuild 1108 RMD160 f751c6d43c241ea21bff2a87329da485b72ad573 SHA1 0a915224659822f2387f6d59f53b15d2531f3e0a SHA256 a8189659cb7725c7146286addb0d949cb12bd818dba86b02eee3a72e627e6e31
-EBUILD fast_xs-0.8.0.ebuild 1219 RMD160 d3b357f74eb21561580d2ab33c53f722a5c632db SHA1 efb5bde9e783d3882ebb6df8c82c087da56dda1e SHA256 49af93732d5ea1e09f31b63a67243e4c067e4b2cd270ad7c84e6bc404cf5f63f
-MISC ChangeLog 1080 RMD160 4bb80fd715021e0af21c52e7b2054baac028bbd8 SHA1 fd8a5377fcb273e2bd377e20b72afe319f47bd36 SHA256 84d962be80e545692d6508534ace0719ede93f3611d4cf1d3bdd79f342b60925
+EBUILD fast_xs-0.8.0.ebuild 1554 RMD160 d40444193b1b9fb1d6ddd9b437f20edbbc1d64be SHA1 b8ac99fc6c382d2c7620dd6d4489672aa753b6d5 SHA256 eeb9ac7caeb3c913ef06ab3eb809ba6f58725273f51a95e87396fe25d6681248
+MISC ChangeLog 1300 RMD160 1e57a908e60cc43642729c0db35b8b50b1095d47 SHA1 e65273e3e2161f2b4d5ad9361d35aad58610de82 SHA256 4eff8034f39eb4893df6201b65a5c0e5fbea6ce84ce382a2ddc4923b03572ddb
MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBAgAGBQJPnIGSAAoJEBzRPIrUMBNC2DsH/20jFrSGIm4QNtDH/erbnUBn
+5NJSl38/POxhRa+fEWhMUJJlDcV7d+TYWKRbw8JB5GwIu2NakFn+m0MtmvTF3PHx
+Rq8jylcLOeByaLmlAMU2pxhgNjNz1zOIiL5VXMy0yVzRrOhHyb/JPJDJqiV3S01k
+FgQMpRJEgSF6EKpmcnsltyA/VaHbe8H3HaGIpJpfiI2BDNAKuY+WnrEToEjhGm+I
+OeILh1QiiIp+gP8/56N8AAJkqkmjoZ8Ld8w6S1yBQJAEBg9QU2UiBIaXY2SkC3fr
+N2L1CPD2SM046/sj4OlspX9kiV9E3QIq9bOKuRpjs26KqiDjWmXwYR0TMlLrxPk=
+=sZou
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/fast_xs/fast_xs-0.8.0.ebuild b/dev-ruby/fast_xs/fast_xs-0.8.0.ebuild
index e3f5ab216efc..0f8e47323202 100644
--- a/dev-ruby/fast_xs/fast_xs-0.8.0.ebuild
+++ b/dev-ruby/fast_xs/fast_xs-0.8.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_xs/fast_xs-0.8.0.ebuild,v 1.4 2012/03/28 20:25:08 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_xs/fast_xs-0.8.0.ebuild,v 1.5 2012/04/28 23:46:50 flameeyes Exp $
EAPI=4
@@ -22,7 +22,13 @@ KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd"
IUSE=""
ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.3.2 )"
-ruby_add_bdepend "test? ( >=dev-ruby/hoe-2.3.2 virtual/ruby-test-unit )"
+ruby_add_bdepend "test? (
+ >=dev-ruby/hoe-2.3.2
+ virtual/ruby-test-unit
+ dev-ruby/rack
+)"
+
+USE_RUBY="ruby18" ruby_add_bdepend "test? ( www-servers/mongrel )"
RUBY_PATCHES=( "${P}+ruby-1.9.patch" )
@@ -37,3 +43,12 @@ each_ruby_compile() {
emake -Cext/fast_xs_extra CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" || die "make extension failed"
cp ext/fast_xs_extra/fast_xs_extra$(get_modname) lib/ || die
}
+
+each_ruby_test() {
+ # the Rakefile tries to run all the tests in a single process, but
+ # this breaks the monkey-patchers, we're forced to run them one by
+ # one.
+ for tu in test/test_*.rb; do
+ ${RUBY} -Ilib $tu || die "test $tu failed"
+ done
+}