summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-06-29 05:09:12 +0000
committerHans de Graaff <graaff@gentoo.org>2010-06-29 05:09:12 +0000
commit63e0611a0397981c58fce9b4fb1eef6a0f5e2ca0 (patch)
tree8e9cb66e406ccf12b2ec1b2070a754d7977e6d59 /dev-ruby/rcov
parentConvert to ruby-fakegem. (diff)
downloadhistorical-63e0611a0397981c58fce9b4fb1eef6a0f5e2ca0.tar.gz
historical-63e0611a0397981c58fce9b4fb1eef6a0f5e2ca0.tar.bz2
historical-63e0611a0397981c58fce9b4fb1eef6a0f5e2ca0.zip
Version bump. Upstream did not tag release, using hash instead. Tests still fail.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/rcov')
-rw-r--r--dev-ruby/rcov/ChangeLog8
-rw-r--r--dev-ruby/rcov/Manifest12
-rw-r--r--dev-ruby/rcov/rcov-0.9.8.ebuild60
3 files changed, 74 insertions, 6 deletions
diff --git a/dev-ruby/rcov/ChangeLog b/dev-ruby/rcov/ChangeLog
index 3ddd4c961a2d..058b79971e10 100644
--- a/dev-ruby/rcov/ChangeLog
+++ b/dev-ruby/rcov/ChangeLog
@@ -1,6 +1,12 @@
# 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.16 2010/05/01 00:47:04 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcov/ChangeLog,v 1.17 2010/06/29 05:09:12 graaff Exp $
+
+*rcov-0.9.8 (29 Jun 2010)
+
+ 29 Jun 2010; Hans de Graaff <graaff@gentoo.org> +rcov-0.9.8.ebuild:
+ Version bump. Upstream did not tag release, using hash instead. Tests
+ still fail.
01 May 2010; Diego E. Pettenò <flameeyes@gentoo.org> rcov-0.9.7.1.ebuild:
Restore original SRC_URI.
diff --git a/dev-ruby/rcov/Manifest b/dev-ruby/rcov/Manifest
index 81ace750f0a4..7b9aadbe882e 100644
--- a/dev-ruby/rcov/Manifest
+++ b/dev-ruby/rcov/Manifest
@@ -1,15 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
AUX rcov-0.9.7.1-jruby.patch 1806 RMD160 2f0d82304756a1423cc777503c37746c42f9a554 SHA1 c2861bd9401b35cb2a2db787f96d0636675ddbfb SHA256 9ecdcddaf845fc51a154b7b1e137597c9f859624126bc180f7eab4e6330bcad7
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
EBUILD rcov-0.9.7.1.ebuild 1633 RMD160 3134824af163aa414cf7566300d19e3cf55a4d54 SHA1 7a04cdd6f2b70a7e73672af03285285d3a9a2d6e SHA256 83d484c21f1d069ba1b9d5d73446c2962dc71720f9d173c9607fadbaf07b0a2d
-MISC ChangeLog 2528 RMD160 f8e333f13aaf77ca0e40bbfeb0fb26b04dfa8ee7 SHA1 e6dcc53db993bb471119388de50f2e15044f4dd2 SHA256 6da9021e0224a23c300495c159f7810285b106b6ac61727900ed01c8a440bc92
+EBUILD rcov-0.9.8.ebuild 1737 RMD160 12c1ea8b05cd45fb2389b2ec96506fe01fad7b80 SHA1 6643df99a2ca25ca3355070fb861ce519404303b SHA256 97d18a6726fc52728319efa3c19e4850cddbbedd2e4f0e866a35657ef3c6e43c
+MISC ChangeLog 2709 RMD160 0b666c3c138587ca264020c3062ec2258af238c4 SHA1 e8c0b4daf00b777b175a72eae54b08f3de9103a4 SHA256 1a092e739e4961fd1a7237fefbc32c2598968b4a1245e6e5fdee369d0286f69f
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
-iEYEARECAAYFAkvbedYACgkQAiZjviIA2XjE1QCgv0zdnVBJVx4xaqPqgFh2HB5P
-bXMAoKRDUgr8RhryGgYUXZ/35vY89fM9
-=QLfy
+iF4EAREIAAYFAkwpf/0ACgkQZihJkut28Ssk4gEAi8YmPjVpVd/+IXdI6E2GPARe
+/3U+Abo7XHtsxynvTbMA/jW/y0zTgjOFHf1QhvbtQVJ3cs/nb8x1tGjgeEQam/oN
+=5NM0
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/rcov/rcov-0.9.8.ebuild b/dev-ruby/rcov/rcov-0.9.8.ebuild
new file mode 100644
index 000000000000..d7a4ad4daac3
--- /dev/null
+++ b/dev-ruby/rcov/rcov-0.9.8.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcov/rcov-0.9.8.ebuild,v 1.1 2010/06/29 05:09:12 graaff Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ruby19 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/4d94640ac1ff79c272c78307437ecccc93fedabe -> ${P}.tgz"
+
+S="${WORKDIR}/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=""
+
+# Tests are currently failing but upstream says it should be fine, I
+# think it's a bug in their code but we'll see.
+RESTRICT=test
+
+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
+}
+
+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"
+ fi
+}
+
+each_ruby_install() {
+ each_fakegem_install
+
+ if [[ $(basename ${RUBY}) != "jruby" ]]; then
+ ruby_fakegem_newins ext/rcovrt/rcovrt.so lib/rcovrt.so
+ fi
+}