summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-05-01 14:59:57 +0000
committerHans de Graaff <graaff@gentoo.org>2011-05-01 14:59:57 +0000
commit89a7f16e632af6001b0a06f34da26d7c4cb76bcf (patch)
treea70a0ed8977511690807feb0f51a270ceba54343 /dev-ruby
parentppc/ppc64 stable wrt #363767 (diff)
downloadhistorical-89a7f16e632af6001b0a06f34da26d7c4cb76bcf.tar.gz
historical-89a7f16e632af6001b0a06f34da26d7c4cb76bcf.tar.bz2
historical-89a7f16e632af6001b0a06f34da26d7c4cb76bcf.zip
Compile the jar file instead of using the shipped version. Thanks for James Le Cuirot for the ebuild and investigation in bug 365463.
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/weakling/ChangeLog8
-rw-r--r--dev-ruby/weakling/Manifest9
-rw-r--r--dev-ruby/weakling/weakling-0.0.3-r1.ebuild45
3 files changed, 57 insertions, 5 deletions
diff --git a/dev-ruby/weakling/ChangeLog b/dev-ruby/weakling/ChangeLog
index c3702a2b5aa4..db2557dbd643 100644
--- a/dev-ruby/weakling/ChangeLog
+++ b/dev-ruby/weakling/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/weakling
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/weakling/ChangeLog,v 1.1 2011/04/30 15:13:34 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/weakling/ChangeLog,v 1.2 2011/05/01 14:59:57 graaff Exp $
+
+*weakling-0.0.3-r1 (01 May 2011)
+
+ 01 May 2011; Hans de Graaff <graaff@gentoo.org> +weakling-0.0.3-r1.ebuild:
+ Compile the jar file instead of using the shipped version. Thanks for
+ James Le Cuirot for the ebuild and investigation in bug 365463.
*weakling-0.0.3 (30 Apr 2011)
diff --git a/dev-ruby/weakling/Manifest b/dev-ruby/weakling/Manifest
index 395a4bd97fcc..17784529f5b0 100644
--- a/dev-ruby/weakling/Manifest
+++ b/dev-ruby/weakling/Manifest
@@ -2,13 +2,14 @@
Hash: SHA256
DIST weakling-0.0.3.gem 12800 RMD160 716b943a85fda080aa2820b63af8b2e1bee947a4 SHA1 52dd357685a78bdf35001c1db37543e2d164aff6 SHA256 4810d67d4c2ceef4ea1c21a1349925bc7dd4620f56048635f902a0d5d673a937
+EBUILD weakling-0.0.3-r1.ebuild 1009 RMD160 1647af09806ae7a2eac17f26c700af0155224360 SHA1 4644771559fa750f35265a8b8d7972c4a6c79d1c SHA256 55826562e08547745cf78738cfa96d912a21587393b1ce95d2273069af272f29
EBUILD weakling-0.0.3.ebuild 821 RMD160 3afda28d55af9010d6c504bc5517e46c2916446a SHA1 5b6c8457b7f0ccbb26e0c59bb1b9b25c1ab80fa7 SHA256 d986ec16808cd53294b787894fc7016dcb3e23e89585cbe584a4edae25814f19
-MISC ChangeLog 392 RMD160 4a302c8e50dd1e72d78e82b15842cc4b29f019fb SHA1 f2c05504f3ac8f1ce6570c9038e9d6c622b0f7c1 SHA256 a11e2e620b7fba68410b48a7e3056b90f30ad17e598e43882dd340dec10eb539
+MISC ChangeLog 642 RMD160 aca55a68c34cb022a9e3931ac24dc6954a9064d8 SHA1 44c66a40ece9f09991b70883846f1d0a251c0a0a SHA256 d7533ea2abdaf16b797c0364ed6a3f0b95c953bc59a45af7fe9ebd763b137d99
MISC metadata.xml 159 RMD160 eb364108353c7843cf1c01fba92129aaa46a0334 SHA1 0734f4c292968932afc57d0aa3a681c0b75b7bfc SHA256 abab7965b1f41e0acf6b54c554945c1c9fa35b5afab848d784dc58c298bc4679
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk28JykACgkQrnu0mw69JkotOgD/bBQl6DnBW/dGPPXHmRKzypFN
-uXDqeVUVAt9Mea3ThkEA/0lLNf2p3PGO3m92s/+pJ2MiJXKIAUIGS+/fzy5b360W
-=uPT/
+iF4EAREIAAYFAk29dXMACgkQrnu0mw69Jkp8/AD/XjEPZQqCK7vLrG0spwOPjHYH
+n+qjfltMS4kSZNXBZ+gA/is0C05Eb7tPBFqazPuHKWfDL55xue9yIMnKR1zTWvNF
+=sHSf
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/weakling/weakling-0.0.3-r1.ebuild b/dev-ruby/weakling/weakling-0.0.3-r1.ebuild
new file mode 100644
index 000000000000..f5789cacdf59
--- /dev/null
+++ b/dev-ruby/weakling/weakling-0.0.3-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/weakling/weakling-0.0.3-r1.ebuild,v 1.1 2011/05/01 14:59:57 graaff Exp $
+
+EAPI=2
+
+# This package is specifically for JRuby.
+USE_RUBY="jruby"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="HISTORY.txt README.txt"
+
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit java-pkg-2 java-pkg-simple ruby-fakegem
+
+DESCRIPTION="weakling: a collection of weakref utilities for Ruby"
+HOMEPAGE="http://github.com/headius/weakling"
+LICENSE="Apache-2.0" # Not distributed in gem but in github repository
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+CDEPEND="dev-java/bytelist
+ dev-java/jruby"
+
+DEPEND="${CDEPEND}
+ >=virtual/jdk-1.5"
+
+RDEPEND="${CDEPEND}
+ >=virtual/jre-1.5"
+
+JAVA_GENTOO_CLASSPATH="bytelist jruby"
+
+pkg_setup() {
+ java-pkg-2_pkg_setup
+ ruby-ng_pkg_setup
+}
+
+each_ruby_compile() {
+ java-pkg-simple_src_compile
+ cp "${PN}.jar" "lib/refqueue.jar" || die
+}