diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-12-25 18:06:28 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-12-25 18:06:28 +0000 |
commit | 140fe6a47bfb92725bfa38fa78ecc73bed7cbf84 (patch) | |
tree | fc8e1f61974849d28785e75c600e4b6c366cc3f2 /dev-ruby/racc | |
parent | Add ~sparc wrt #277776 (diff) | |
download | historical-140fe6a47bfb92725bfa38fa78ecc73bed7cbf84.tar.gz historical-140fe6a47bfb92725bfa38fa78ecc73bed7cbf84.tar.bz2 historical-140fe6a47bfb92725bfa38fa78ecc73bed7cbf84.zip |
Version bump and port to ruby-fakegem. This also adds support for Ruby 1.9.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/racc')
-rw-r--r-- | dev-ruby/racc/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/racc/Manifest | 12 | ||||
-rw-r--r-- | dev-ruby/racc/racc-1.4.6.ebuild | 52 |
3 files changed, 66 insertions, 6 deletions
diff --git a/dev-ruby/racc/ChangeLog b/dev-ruby/racc/ChangeLog index 38084ddb5dd4..867f9156508c 100644 --- a/dev-ruby/racc/ChangeLog +++ b/dev-ruby/racc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/racc # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/ChangeLog,v 1.43 2009/07/14 17:15:57 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/ChangeLog,v 1.44 2009/12/25 18:06:28 flameeyes Exp $ + +*racc-1.4.6 (25 Dec 2009) + + 25 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org> +racc-1.4.6.ebuild: + Version bump and port to ruby-fakegem. This also adds support for Ruby + 1.9. 14 Jul 2009; Hans de Graaff <graaff@gentoo.org> racc-1.4.5.ebuild: Remove ruby19 keyword: not compatible. See bug 276631, thanks to Kevin diff --git a/dev-ruby/racc/Manifest b/dev-ruby/racc/Manifest index ed83381cfbde..35f2f9eb94dd 100644 --- a/dev-ruby/racc/Manifest +++ b/dev-ruby/racc/Manifest @@ -2,13 +2,15 @@ Hash: SHA1 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 -MISC ChangeLog 4923 RMD160 23f63309536504e96332e55cdc7f4bb3283ef88b SHA1 8f88a4203fba615160ecff8a8de61c2ebf65734c SHA256 965ca0be416255cf8e8339f5f5cfd5404e821d00f222b3832a3b69b963f6141e +EBUILD racc-1.4.6.ebuild 1298 RMD160 6a023eb375e54f3b7ae949204aba340e54862e3b SHA1 9bd8effca1f7388e5935de011aaec8f1f3242a4f SHA256 08dfc5cf79f009d6d3e2283f585c879c388eed927002bbdfa259637ae7997d27 +MISC ChangeLog 5110 RMD160 fbb6bcfc39be75938023fe4aaa0f344205ab671d SHA1 18f174d9afedde07d39f46ef93ff5ed2cc99b5fb SHA256 45d3305ee5ec26fce362c3e1768e64783eb5501f75599e73de82e8aa8c27f870 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) +Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAkpcvVIACgkQVYU2Ai8K93ftMACfVrqpFypxHuDbmzwzsEV0yucu -FqUAn34fMk/3eRuYTL1d/doPykCDoLbE -=90qo +iEYEARECAAYFAks0/yEACgkQAiZjviIA2Xiz6gCgtLv4PbdNyvSYDVCe1ve+Cjpa +ULUAoJa6x+/tx/6K9a0oosVVYOw2IQ2S +=l+Vc -----END PGP SIGNATURE----- diff --git a/dev-ruby/racc/racc-1.4.6.ebuild b/dev-ruby/racc/racc-1.4.6.ebuild new file mode 100644 index 000000000000..8c543aa5fc4c --- /dev/null +++ b/dev-ruby/racc/racc-1.4.6.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2009 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.1 2009/12/25 18:06:28 flameeyes Exp $ + +EAPI=2 + +USE_RUBY="ruby18 ruby19" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.en.rdoc README.ja.rdoc TODO ChangeLog" + +inherit 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" +IUSE="" + +ruby_add_bdepend test virtual/ruby-test-unit + +all_ruby_prepare() { + 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" +} + +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() { + ${RUBY} -S rake build || die "build failed" +} + +each_ruby_install() { + each_fakegem_install + ruby_fakegem_newins ext/racc/cparse/cparse.so lib/racc/cparse.so +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc sample/* || die +} |