summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-02-14 13:41:27 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-02-14 13:41:27 +0000
commit9c125f3953bc74f88987436aef5acb75f11ffce7 (patch)
tree91f11a2f9fa4ac8005099004b59f4b03bcac4fb6 /dev-ruby
parentVersion bump: EAPI4, reorder vars, initial support for LINGUAS, use 'dot' ins... (diff)
downloadhistorical-9c125f3953bc74f88987436aef5acb75f11ffce7.tar.gz
historical-9c125f3953bc74f88987436aef5acb75f11ffce7.tar.bz2
historical-9c125f3953bc74f88987436aef5acb75f11ffce7.zip
Version bump; drop jruby support as it doesn't build with current JRuby and upstream is not very friendly.
Package-Manager: portage-2.2.0_alpha86/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rcov/ChangeLog9
-rw-r--r--dev-ruby/rcov/Manifest18
-rw-r--r--dev-ruby/rcov/rcov-0.9.11.ebuild6
-rw-r--r--dev-ruby/rcov/rcov-0.9.9.ebuild6
-rw-r--r--dev-ruby/rcov/rcov-1.0.ebuild56
5 files changed, 80 insertions, 15 deletions
diff --git a/dev-ruby/rcov/ChangeLog b/dev-ruby/rcov/ChangeLog
index 96578cd2e961..4bfea5d4d6e8 100644
--- a/dev-ruby/rcov/ChangeLog
+++ b/dev-ruby/rcov/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-ruby/rcov
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcov/ChangeLog,v 1.20 2012/01/28 08:35:49 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcov/ChangeLog,v 1.21 2012/02/14 13:41:27 flameeyes Exp $
+
+*rcov-1.0 (14 Feb 2012)
+
+ 14 Feb 2012; Diego E. Pettenò <flameeyes@gentoo.org> +rcov-1.0.ebuild,
+ rcov-0.9.11.ebuild, rcov-0.9.9.ebuild:
+ Version bump; drop jruby support as it doesn't build with current JRuby and
+ upstream is not very friendly.
28 Jan 2012; Hans de Graaff <graaff@gentoo.org> -rcov-0.9.7.1.ebuild,
-rcov-0.9.8.ebuild:
diff --git a/dev-ruby/rcov/Manifest b/dev-ruby/rcov/Manifest
index dcc1a4bbe9c5..35e472235ec8 100644
--- a/dev-ruby/rcov/Manifest
+++ b/dev-ruby/rcov/Manifest
@@ -1,17 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA1
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.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.9.ebuild 1737 RMD160 c649437ab8d3569696a61fed87b4ba9b22b5dfbd SHA1 807004c552d534a0a64f751153417e9444283d84 SHA256 536d10f780117a112aa1eb81e47068561788b20fd823011a89f890b17b5a4db5
-MISC ChangeLog 3057 RMD160 0db8281659e04ccc41b3dbb30f815b17972e34ad SHA1 5435d9f2de01d3e9767abd11dc0e418005ac36f2 SHA256 f63ce2c550020fa0e61af1c746ce6ba3c8de1a4d47b506c3565a9b4729f49ed5
+DIST rcov-1.0.tgz 82204 RMD160 e34fe54433994326b22f2628ac5753086163dd64 SHA1 b9a43d51928fe5ae7803cd5a8cb13a6b94050e13 SHA256 523e9cd24a9ac02b42d70a1a9aa3f8be0c1c59a75c4161d561b419287fb133e4
+EBUILD rcov-0.9.11.ebuild 1837 RMD160 8211664990bad9540264b29a1e1d4fd7a9b91aaa SHA1 b023431af92cc7f03b551922137aebf500a0cdb3 SHA256 019a747de18d9b6358aeb568e76afe6dae1552998bad54429cc0ab0eb04bc933
+EBUILD rcov-0.9.9.ebuild 1735 RMD160 914d36222a24c703e1ce84fd55061d888d1fb295 SHA1 20966bece8552cb61f2ac9e3ff3a09f2eef93a8e SHA256 d06fd1f079bc9539b2b383117fda9b40cc45af2e98dffa735fe1bd60c841b1d7
+EBUILD rcov-1.0.ebuild 1592 RMD160 d5d036144ce855c81576509d19f454b5978bf65a SHA1 7de440c81ac5e28c8cc2039535903896248be2f2 SHA256 205b59ecbf6643beabc43ea9fde1f88f561843b1b5fa486516c148c3a33ceb4f
+MISC ChangeLog 3312 RMD160 23b82ca0961275a61c07f7cd77c2cdf900ab1fea SHA1 70cfd5f7969bbd7889067abd49e897527f846a35 SHA256 3643ba0e5f3330c1309ec26b5c7e6c7cfc0f4263002306232af997bc872bee5b
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iF4EAREIAAYFAk8js2oACgkQiIP6VqMIqNfQLAD/W//M+6tcvEm19eqXoMkeLKxo
-uzpbMCnR9eEOJyunN1IA/jxQaT5WiySLb7U0BWYfHFI6PzGELSZrtg8RYRTd61FQ
-=x1YS
+iEYEARECAAYFAk86ZGMACgkQAiZjviIA2Xj0swCg0ap9kwVuXuyXp1L1lC1QLE/D
+MJsAoOcCTbYUuJWlVxWXaNodWASZyshP
+=gpIN
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/rcov/rcov-0.9.11.ebuild b/dev-ruby/rcov/rcov-0.9.11.ebuild
index bf59f9e430ac..0a0b745e6261 100644
--- a/dev-ruby/rcov/rcov-0.9.11.ebuild
+++ b/dev-ruby/rcov/rcov-0.9.11.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcov/rcov-0.9.11.ebuild,v 1.2 2012/02/14 13:41:27 flameeyes 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"
+USE_RUBY="ruby18 "
RUBY_FAKEGEM_TASK_TEST="test_rcovrt"
diff --git a/dev-ruby/rcov/rcov-0.9.9.ebuild b/dev-ruby/rcov/rcov-0.9.9.ebuild
index 6c037799490a..84d34cee5aa0 100644
--- a/dev-ruby/rcov/rcov-0.9.9.ebuild
+++ b/dev-ruby/rcov/rcov-0.9.9.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcov/rcov-0.9.9.ebuild,v 1.1 2010/09/19 09:27:23 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcov/rcov-0.9.9.ebuild,v 1.2 2012/02/14 13:41:27 flameeyes Exp $
EAPI=2
-USE_RUBY="ruby18 ruby19 jruby"
+USE_RUBY="ruby18 ruby19 "
RUBY_FAKEGEM_TASK_TEST="test_rcovrt"
diff --git a/dev-ruby/rcov/rcov-1.0.ebuild b/dev-ruby/rcov/rcov-1.0.ebuild
new file mode 100644
index 000000000000..b5ffdd85eee3
--- /dev/null
+++ b/dev-ruby/rcov/rcov-1.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcov/rcov-1.0.ebuild,v 1.1 2012/02/14 13:41:27 flameeyes 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"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="THANKS BLURB README.markdown"
+
+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/e7c1821b50bef0f933ef857278bf82e9c24638e4 -> ${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=""
+
+ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
+
+# upstream's Rakefile is braindead and just asking for rake -D causes
+# the extension to be rebuilt, so do everything by hand.
+
+each_ruby_configure() {
+ ${RUBY} -C ext/rcovrt extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+ emake -C ext/rcovrt CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
+ cp ext/rcovrt/*.so lib/ || die
+}
+
+all_ruby_compile() {
+ if use doc; then
+ rdoc --op rdoc || die
+ fi
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib -S testrb test/*_test.rb
+}