summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-10-10 19:49:09 +0000
committerHans de Graaff <graaff@gentoo.org>2011-10-10 19:49:09 +0000
commit086af32f760ff5ff8d39b1a3a81dcf2decc0ab13 (patch)
tree8b432d0d3c96905ecba362144ab469838664e8f9 /dev-ruby
parentFix ChangeLog entry. (diff)
downloadhistorical-086af32f760ff5ff8d39b1a3a81dcf2decc0ab13.tar.gz
historical-086af32f760ff5ff8d39b1a3a81dcf2decc0ab13.tar.bz2
historical-086af32f760ff5ff8d39b1a3a81dcf2decc0ab13.zip
Version bump.
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rcov/ChangeLog9
-rw-r--r--dev-ruby/rcov/Manifest12
-rw-r--r--dev-ruby/rcov/rcov-0.9.11.ebuild57
3 files changed, 71 insertions, 7 deletions
diff --git a/dev-ruby/rcov/ChangeLog b/dev-ruby/rcov/ChangeLog
index 66d4c985d8f8..7ceb95d2e78e 100644
--- a/dev-ruby/rcov/ChangeLog
+++ b/dev-ruby/rcov/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rcov
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcov/ChangeLog,v 1.18 2010/09/19 09:27:23 graaff Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcov/ChangeLog,v 1.19 2011/10/10 19:49:09 graaff Exp $
+
+*rcov-0.9.11 (10 Oct 2011)
+
+ 10 Oct 2011; Hans de Graaff <graaff@gentoo.org> +rcov-0.9.11.ebuild:
+ Version bump.
*rcov-0.9.9 (19 Sep 2010)
diff --git a/dev-ruby/rcov/Manifest b/dev-ruby/rcov/Manifest
index bb364e74e2f6..fc1a943b3a79 100644
--- a/dev-ruby/rcov/Manifest
+++ b/dev-ruby/rcov/Manifest
@@ -2,18 +2,20 @@
Hash: SHA256
AUX rcov-0.9.7.1-jruby.patch 1806 RMD160 2f0d82304756a1423cc777503c37746c42f9a554 SHA1 c2861bd9401b35cb2a2db787f96d0636675ddbfb SHA256 9ecdcddaf845fc51a154b7b1e137597c9f859624126bc180f7eab4e6330bcad7
+DIST rcov-0.9.11.tgz 102127 RMD160 2971f1cfd209204fa568960cc7873d60f18aba81 SHA1 3e2d0768deb8af70b827759d335fbb457c15efa0 SHA256 4dd348b44faead9f917b92ba5f4e40fdc2b841a8d41ce8c74c5c5aeb76fe3717
DIST rcov-0.9.7.1.tgz 101782 RMD160 4702779e144634aa50f4882a419196e0667ef43d SHA1 1c4b5193b68116f5364ab9803037c552d17c3e1c SHA256 9bca38d1a48a4e480b33fec741cb721b804ee447bcdf54049cb7dce8f682c978
DIST rcov-0.9.8.tgz 101756 RMD160 9b3322f2b5dd12aedabfe310dcdc6b4c5a663d19 SHA1 74b424c4e7ef10431023619c42ccc38cecc8eded SHA256 fe23076e3d78ee2708e4bfd31165b4fe95920657d4b46a97fc609333c316ebb3
DIST rcov-0.9.9.tgz 101756 RMD160 9b3322f2b5dd12aedabfe310dcdc6b4c5a663d19 SHA1 74b424c4e7ef10431023619c42ccc38cecc8eded SHA256 fe23076e3d78ee2708e4bfd31165b4fe95920657d4b46a97fc609333c316ebb3
+EBUILD rcov-0.9.11.ebuild 1839 RMD160 8297d944b43c99073899a474792936dd6186c694 SHA1 dce810e2a4d5094acabcca385fb4a1a6f221298d SHA256 ad7c27be917fb1e03dcfc89829eb6a95b3c9e5330621dace1460fa7c49a7ee14
EBUILD rcov-0.9.7.1.ebuild 1633 RMD160 3134824af163aa414cf7566300d19e3cf55a4d54 SHA1 7a04cdd6f2b70a7e73672af03285285d3a9a2d6e SHA256 83d484c21f1d069ba1b9d5d73446c2962dc71720f9d173c9607fadbaf07b0a2d
EBUILD rcov-0.9.8.ebuild 1737 RMD160 12c1ea8b05cd45fb2389b2ec96506fe01fad7b80 SHA1 6643df99a2ca25ca3355070fb861ce519404303b SHA256 97d18a6726fc52728319efa3c19e4850cddbbedd2e4f0e866a35657ef3c6e43c
EBUILD rcov-0.9.9.ebuild 1737 RMD160 c649437ab8d3569696a61fed87b4ba9b22b5dfbd SHA1 807004c552d534a0a64f751153417e9444283d84 SHA256 536d10f780117a112aa1eb81e47068561788b20fd823011a89f890b17b5a4db5
-MISC ChangeLog 2823 RMD160 93431ab514d63ad6a8473ed9932e6148e7be272f SHA1 45677b869d7acf26ff8b2ed49818bd3f3f6107d5 SHA256 b98a73f78be7436ef49e46fbe4ecd287e06734c8ab8c63f4810c0296334959a6
+MISC ChangeLog 2939 RMD160 cf467a07106c8fe28d739cea7b8082e45702baa9 SHA1 08d0db4e0d60fbc593ee6ac89262d8f7c0ad7c62 SHA256 53785e2d19551b5f3b3ebb0acdc4685cd3228c3504508df8fea2a3133a3f1d6d
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAkyV14EACgkQZihJkut28Su4FwD+Ju58gvsGHJXJYUpiUpDY0j91
-z+pVsZGs9XSXJAycgYYA/iPsxk39m+za0K9Kzl/qJX3dz45127P5gx+HRv6ndcKA
-=qQ5c
+iF4EAREIAAYFAk6TTDsACgkQiIP6VqMIqNfAOwD/SYffHsflG8m5eBg8Rc7Lr/Eg
+a9pS2iMme/ovFZxTweAA/27m3nBItSlaJH6peK+iV4uJ8yDqXY12fDrDcDZI5z2Z
+=xoh6
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/rcov/rcov-0.9.11.ebuild b/dev-ruby/rcov/rcov-0.9.11.ebuild
new file mode 100644
index 000000000000..bf59f9e430ac
--- /dev/null
+++ b/dev-ruby/rcov/rcov-0.9.11.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcov/rcov-0.9.11.ebuild,v 1.1 2011/10/10 19:49:09 graaff Exp $
+
+EAPI=4
+
+# The documenttion indicates that rcov does not work with (reliably)
+# with ruby 1.9. Use ruby 1.9's built in coverage or simplecov instead.
+USE_RUBY="ruby18 jruby"
+
+RUBY_FAKEGEM_TASK_TEST="test_rcovrt"
+
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="THANKS BLURB"
+
+inherit ruby-fakegem versionator eutils
+
+DESCRIPTION="A ruby code coverage analysis tool"
+HOMEPAGE="http://eigenclass.org/hiki.rb?rcov"
+#SRC_URI="http://github.com/relevance/${PN}/tarball/release_$(replace_all_version_separators _) -> ${P}.tgz"
+SRC_URI="http://github.com/relevance/${PN}/tarball/b5513cae5ea3348d97c21a3c324d8e8a7768e814 -> ${P}.tgz"
+
+RUBY_S="relevance-${PN}-*"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+# TODO: both emacs and vim support are present in this package, they
+# should probably be added to the ebuild as well.
+IUSE=""
+
+all_ruby_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.9.7.1-jruby.patch
+
+ # Without this change, testing will always cause the extension to
+ # be rebuilt, and we don't want that.
+ sed -i -e '/:test_rcovrt =>/s| => \[.*\]||' Rakefile || die "Rakefile fix failed"
+
+ # remove pre-packaged jar file (d'oh!)
+ rm lib/rcovrt.jar || die
+
+ # Remove test suite with failing tests that upstream believes to
+ # work correctly so that we can run the remainder of tests.
+ # https://github.com/relevance/rcov/issues/40
+ rm test/code_coverage_analyzer_test.rb || die
+
+}
+
+each_ruby_compile() {
+ if [[ $(basename ${RUBY}) = "jruby" ]]; then
+ ${RUBY} -S rake lib/rcovrt.jar || die "build failed"
+ else
+ ${RUBY} -S rake ext/rcovrt/rcovrt.so || die "build failed"
+ cp ext/rcovrt/rcovrt.so lib/ || die
+ fi
+}