summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-07-07 09:35:59 +0000
committerHans de Graaff <graaff@gentoo.org>2011-07-07 09:35:59 +0000
commit5f36d69090db1cc1bcb6184fc4beeefd43b807db (patch)
treec969c2b108d12896bf067a5906d5589fbb1f65a1 /dev-ruby
parentFix for atlas detection as blas implementation (diff)
downloadhistorical-5f36d69090db1cc1bcb6184fc4beeefd43b807db.tar.gz
historical-5f36d69090db1cc1bcb6184fc4beeefd43b807db.tar.bz2
historical-5f36d69090db1cc1bcb6184fc4beeefd43b807db.zip
Revision bump to create stable candidate.
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/racc/ChangeLog8
-rw-r--r--dev-ruby/racc/Manifest11
-rw-r--r--dev-ruby/racc/racc-1.4.6-r1.ebuild77
-rw-r--r--dev-ruby/racc/racc-1.4.6.ebuild4
4 files changed, 92 insertions, 8 deletions
diff --git a/dev-ruby/racc/ChangeLog b/dev-ruby/racc/ChangeLog
index d3644a131a62..7d883e89b21c 100644
--- a/dev-ruby/racc/ChangeLog
+++ b/dev-ruby/racc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/racc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/ChangeLog,v 1.54 2011/02/20 13:02:47 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/ChangeLog,v 1.55 2011/07/07 09:35:59 graaff Exp $
+
+*racc-1.4.6-r1 (07 Jul 2011)
+
+ 07 Jul 2011; Hans de Graaff <graaff@gentoo.org> racc-1.4.6.ebuild,
+ +racc-1.4.6-r1.ebuild:
+ Revision bump to create stable candidate.
20 Feb 2011; Hans de Graaff <graaff@gentoo.org> racc-1.4.6.ebuild:
Always depend on dev-ruby/rake since we use it to build the package. Fixes
diff --git a/dev-ruby/racc/Manifest b/dev-ruby/racc/Manifest
index 62f68930b7a9..067fabfaedb3 100644
--- a/dev-ruby/racc/Manifest
+++ b/dev-ruby/racc/Manifest
@@ -5,13 +5,14 @@ AUX racc-1.4.6-test-unit.patch 307 RMD160 e5d74d5c4dddf9121bdef36d204529ab86ee3a
DIST racc-1.4.5-all.tar.gz 143740 RMD160 55d65413ac2ba4c1184c05f819b57314f750497d SHA1 80ec24d4c9db09812514b5b2f0db988ce7de2898 SHA256 b5a58f56d8559e87de665561fff778a6cb79fbccadc080fb366fa15e1cd6f045
DIST racc-1.4.6.gem 110592 RMD160 b755cc948519a22b5fc7fbf4d0b1a6519db6415b SHA1 3ce1fc7a7245cf388ec20e9b612fd5d1111b387e SHA256 5877e6d676b0512e9d8587b273acf71aa7e6bd7c77b5e3f4bc26d9b5ccd08378
EBUILD racc-1.4.5.ebuild 640 RMD160 bd6f88343d57dcfdf7efa526405af12f393104d8 SHA1 92bf98abc3ae7da016128c5e6b55d05c0957d652 SHA256 363a3d30f5665e1da5bfef74811a574b410f12505f19be846b46b056be1ed522
-EBUILD racc-1.4.6.ebuild 2053 RMD160 2249cc26c47e4bf6c4e7ce102f4cd46c877be1bd SHA1 04b6728a4487c6faddc1ebfab81309da4d7db315 SHA256 9f15d29c8d73f2474f8a839a21124e9e734354e99cfd6ac0f2b71070ea29e689
-MISC ChangeLog 6354 RMD160 cc205ae12dd5032dfb37cd7cc3b39d9b8565ebf6 SHA1 77b762e0606b2610291253e27aadefa32a85d013 SHA256 29b1143c4f58de53f9abe810d3ab48ab076ee0fad8f0abd5ecf654c1086edacb
+EBUILD racc-1.4.6-r1.ebuild 2055 RMD160 3f03d0fb79715519232b3f48048d72d06620cf25 SHA1 00363ec0824d6047f5add6440a48d7ffc97daec5 SHA256 736af1b3a310cae3779eff87ed30a2b1ff6a066a88032bb975071d86a1788810
+EBUILD racc-1.4.6.ebuild 2046 RMD160 10afe29d4384ce3f07c6f9b0a4ea59d1cc464e5d SHA1 6919512cdf03f9b445d7980ba6d11d1ff2e04f81 SHA256 87ea638192b8669b7fe09b7819495821a621471eef9c976f6012c782d897b56e
+MISC ChangeLog 6523 RMD160 163ade00a4143c5b3700d8c91bce20fdfe2d2aaf SHA1 c8eec78fc5ded1093e23e70f212d02d6861ef04d SHA256 fb361babd27c89dbc9d1c2b4c7949227333f6799168cc0a02d332c2c37e91a78
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk1hEQMACgkQrnu0mw69JkoSpQD/an1SORvE/x3V4fOmONP2tywL
-eWU1XhjQGx+jCl+4LLwA/iyfeRCy9m91kKRneC2vZHv90G9ubPirVISUVyCEftjS
-=RjmK
+iF4EAREIAAYFAk4VfgsACgkQiIP6VqMIqNcFUgEAgS/T5pzDLKEF2t0QUlsof8aH
+OiDKEUQlwKhF2XghCOQA/3IS/X7N1OomrIqFpU0Wjjh5k3rcS131SB/LaAC4915B
+=rv/x
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/racc/racc-1.4.6-r1.ebuild b/dev-ruby/racc/racc-1.4.6-r1.ebuild
new file mode 100644
index 000000000000..d87e984f69c1
--- /dev/null
+++ b/dev-ruby/racc/racc-1.4.6-r1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/racc-1.4.6-r1.ebuild,v 1.1 2011/07/07 09:35:59 graaff Exp $
+
+EAPI=2
+
+USE_RUBY="ree18 ruby18 ruby19 jruby"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.en.rdoc README.ja.rdoc TODO ChangeLog"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="A LALR(1) parser generator for Ruby"
+HOMEPAGE="http://www.loveruby.net/en/racc.html"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "dev-ruby/rake test? ( virtual/ruby-test-unit )"
+
+all_ruby_prepare() {
+ # for Ruby 1.9.2 compatibility
+ sed -i -e '1i $: << "."' Rakefile || die
+
+ sed -i -e '/tasks\/email/s:^:#:' Rakefile || die "rakefile fix failed"
+ sed -i -e '/prerequisites/s:^:#:' tasks/test.rb || die "test task fix failed"
+ sed -i -e 's|/tmp/out|${TMPDIR:-/tmp}/out|' test/helper.rb || die "tests fix failed"
+
+ epatch "${FILESDIR}"/${P}-test-unit.patch
+}
+
+each_ruby_prepare() {
+ if [[ $(basename ${RUBY}) == "ruby18" ]]; then
+ sed -i -e 's:ruby/ruby.h:ruby.h:' \
+ ext/racc/cparse/cparse.c || die
+ fi
+}
+
+each_ruby_compile() {
+ case ${RUBY} in
+ *jruby)
+ einfo "Under JRuby, racc cannot use the shared object parser, so instead"
+ einfo "you have to rely on the pure Ruby implementation."
+ ;;
+ *)
+ ${RUBY} -S rake build || die "build failed"
+ # Copy over the file here so that we don't have to do
+ # special ruby install for JRuby and the other
+ # implementations.
+ cp -l ext/racc/cparse/cparse$(get_modname) lib/racc/cparse$(get_modname) || die
+ ;;
+ esac
+}
+
+each_ruby_test() {
+ case ${RUBY} in
+ *jruby)
+ ewarn "Using JRuby 1.5.2 the tests are currently badly broken,"
+ ewarn "so they are disabled until a new racc or a new JRuby is"
+ ewarn "released."
+ ;;
+ *)
+ each_fakegem_test
+ ;;
+ esac
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ docinto examples
+ dodoc sample/* || die
+}
diff --git a/dev-ruby/racc/racc-1.4.6.ebuild b/dev-ruby/racc/racc-1.4.6.ebuild
index 1896d41e63e2..03a9c813b056 100644
--- a/dev-ruby/racc/racc-1.4.6.ebuild
+++ b/dev-ruby/racc/racc-1.4.6.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/racc-1.4.6.ebuild,v 1.11 2011/02/20 13:02:47 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/racc-1.4.6.ebuild,v 1.12 2011/07/07 09:35:59 graaff Exp $
EAPI=2
-USE_RUBY="ree18 ruby18 ruby19 jruby"
+USE_RUBY="ree18 ruby18 jruby"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.en.rdoc README.ja.rdoc TODO ChangeLog"