diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-10-23 05:53:12 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-10-23 05:53:12 +0000 |
commit | 66111886f9afba20059400a9691d11686d338b7f (patch) | |
tree | 3069ce64208310432db264bca745532c35129f3e /dev-ruby/racc | |
parent | adding for horizon dep (diff) | |
download | historical-66111886f9afba20059400a9691d11686d338b7f.tar.gz historical-66111886f9afba20059400a9691d11686d338b7f.tar.bz2 historical-66111886f9afba20059400a9691d11686d338b7f.zip |
Version bump. Compiled version no longer compatible with ruby18.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/racc')
-rw-r--r-- | dev-ruby/racc/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/racc/Manifest | 12 | ||||
-rw-r--r-- | dev-ruby/racc/racc-1.4.10.ebuild | 85 |
3 files changed, 98 insertions, 6 deletions
diff --git a/dev-ruby/racc/ChangeLog b/dev-ruby/racc/ChangeLog index aa65eb99d68e..001ace09d2b6 100644 --- a/dev-ruby/racc/ChangeLog +++ b/dev-ruby/racc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/racc # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/ChangeLog,v 1.98 2013/09/05 15:46:51 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/ChangeLog,v 1.99 2013/10/23 05:53:11 graaff Exp $ + +*racc-1.4.10 (23 Oct 2013) + + 23 Oct 2013; Hans de Graaff <graaff@gentoo.org> +racc-1.4.10.ebuild: + Version bump. Compiled version no longer compatible with ruby18. 05 Sep 2013; Jeroen Roovers <jer@gentoo.org> racc-1.4.9.ebuild: Stable for HPPA (bug #483254). diff --git a/dev-ruby/racc/Manifest b/dev-ruby/racc/Manifest index f81d65b761aa..cf049bb2aa26 100644 --- a/dev-ruby/racc/Manifest +++ b/dev-ruby/racc/Manifest @@ -2,16 +2,18 @@ Hash: SHA256 AUX racc-1.4.6-test-unit.patch 307 SHA256 233e631e1dda2ae7f4802860bd95d131e952a41a67b30394e4631ac87260180f SHA512 5db839046afc74b80c6533f1964c7ec9be0c3b6a7849725ec3e87c2b010f837ac20eef62ad8d3cf6ac91b7144e491b5ec4a5597f80d18bee5d4372c2acede26a WHIRLPOOL b4dcf1f5c9341f17f2ff67c1478cedb559422cd254066dada74687de8c89a9701370b3bdcbbe50c280fc7e3a92888fac7de98e216a507c15ef15b1a9cb8888c7 +DIST racc-1.4.10.gem 109568 SHA256 6282f61f123f4e1d39bac5ad19027e34c336a5e1d80f9e4769c80b16db11b583 SHA512 b1199c603ff593a661b3c00b832b64607b1c8a601256de23e99d5826227d791736497a6b082b25c0d88f40a665b8603720fe1c9e97cc91e64d34a2592c5b499a WHIRLPOOL 958e6d21dfc4628aa839870104947444ad48861e09052584ce5aa3edc624350cfad6c5eb740ec9720fc636ee045c4619a4e8fe730ff5bf2773877438759b68a2 DIST racc-1.4.8.gem 109056 SHA256 934d178848b6c55fae8db6108e6e8af0954af8cb374ff9526d098abebf247b7b SHA512 7361da42ba576dc1aa2c812d97f1f3f7d3f8b45a69f791ce8559592e5526aca13276586fdf15588f2c3c332d28724b94f49e06d0b093adf36c5a59af266e8f1f WHIRLPOOL c7a28d6786a04d2b97fdcb48d1beb506aa525832e5eba36462db2a23971ca12b501b6a46ecf729efa0422112ad73e7f9ed85cae401c1461e4642b4e605ec04ba DIST racc-1.4.9.gem 109056 SHA256 f9d53caeb1ff5ac633a270a45478e585e6e054c44f6da28415f3432caf8f61d5 SHA512 84dfe85c7f0054ee6b2895b7ae3d28bebb51183c023457f8006b13b50a10a74e0f97ab92e3724a5c492dae9cebadb6f9e6d78e32add6bb11b07dd25459b7a7c2 WHIRLPOOL 1ab62401c403044d45b292dec12257b25847b7577d11bdd795fb7946720492356ffed43686fca288afad9ddce47cd8735bf0e62c9b297cbcbb2b1680764c805e +EBUILD racc-1.4.10.ebuild 2368 SHA256 cc99bb2d887b5eb76d14c7143fe70448fb9485aa45b240274b1afa8dad5ccb67 SHA512 9dea8102fcc34749c1777d7f76c452dd364a68a927f9b8ea730c919fd8c475b832d269d6986a59f60c381e11ce68e40bc38886a2a664aa423da8613b742373a0 WHIRLPOOL f72daf1c0984a882f4849bb7dad9a2a32c1836c1b5bdbdbac06b735d7a7714bc2a9540a9dc1dd9a41effac1544cc462dded6528fad91be7900deea0dd1d9d7d8 EBUILD racc-1.4.8.ebuild 2143 SHA256 f2e9b7c9ac1437f5a2de7b67ba1bc6cdd09b5c231a85e76eaa9cd1a8481ecbd9 SHA512 9256c06f9083c76a5677159f180a7f81287b256e1deb08a46a107a2c44fdab005eb1d314615f39f92a80c4e91b7002163876846148780347ec7037752ae7a769 WHIRLPOOL f274abf702eda5571dad0cffdb682dca3ff641706691f5f1ee6075588bec39f5845a97badc87f5759a9a4ec10b1152aaebcdd4ff3ed79048e65f46b55a87338a EBUILD racc-1.4.9.ebuild 2345 SHA256 f9dab455250d09d4c88a8323aac5a3c01c1c6ec7c2dd695a8929b161727c2dd9 SHA512 c84cd3aae9abbdf9106fec009f6ef0c4316e435c4e2f022c0069ef2f638b1617cd4a15a7a996393a76f326a3293d58df1efd6bca96206ee317eb35a57a1b7583 WHIRLPOOL de96eff803a2293a1dfdba0e6ed7c20e5304911572c9e36435763f0a748e3634b0d14eaab9c56a167d611dd5342a85dd8e12808ca25a709b62197301067e604e -MISC ChangeLog 10943 SHA256 8093681fa5454bbc5d4045781e3fa6b2cc1442e020f899cc4ef5a89e6a36ad49 SHA512 45d66805139508fd9891cf357aceab09abfbce62009c95434cb3c037909c7cdef1cc71b604e5d4e41269966f3a573deb30611b3afcbad0074f7fdf6179a2bbe9 WHIRLPOOL e7656877d55df28737b36353b2b370be95d53563189cc432f3cbb1fc947d45c22ba5842b69d2f8b9c4accd7805a540163571cfd324625dbe40e3ce0c5fefc2e7 +MISC ChangeLog 11113 SHA256 fa5c967cd8f18e0f546143f2e6556d4cd86c13d14efcb21edae946ee093be54f SHA512 4bc891500d3e9b4f37d66d6b40645223163fe4408b2d6f113a0e9e57534e00e40f52015251b463d5bca1d52eaa69a6e75846075f8186d37a156040d6bc97ab93 WHIRLPOOL 94c659108088699d78f95cafbb89cb5f629b1fb6b46ede0f9d819e3a89899fd634544687efac07099fbd3825a04cdda1c0a2b36a9264f5bf2e82f6b69d8ce346 MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) +Version: GnuPG v2.0.22 (GNU/Linux) -iEYEAREIAAYFAlIop2wACgkQVWmRsqeSphOGFACffblsvMOhTwPwvp5FP22EgLEN -n4kAn3iEwE8VTj3Rqwj6MNOxtmIN1AZ/ -=eguh +iF4EAREIAAYFAlJnZEgACgkQiIP6VqMIqNfawgD9Eqz6B0SjC+9rVHRtqDAABSxL +lVPsKDa3I1FA0EVKR+YA/1cQ9Gg0Bh+QPm24fyAzs+8Hb7N75mq3bLP6figWLOcI +=JSnS -----END PGP SIGNATURE----- diff --git a/dev-ruby/racc/racc-1.4.10.ebuild b/dev-ruby/racc/racc-1.4.10.ebuild new file mode 100644 index 000000000000..26622974c10c --- /dev/null +++ b/dev-ruby/racc/racc-1.4.10.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/racc-1.4.10.ebuild,v 1.1 2013/10/23 05:53:11 graaff Exp $ + +EAPI=5 + +USE_RUBY="ruby18 ruby19 ruby20 jruby" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_TASK_DOC="docs" +RUBY_FAKEGEM_EXTRADOC="README.rdoc README.ja.rdoc TODO ChangeLog" + +inherit multilib ruby-fakegem + +DESCRIPTION="A LALR(1) parser generator for Ruby" +HOMEPAGE="https://github.com/tenderlove/racc" + +LICENSE="LGPL-2.1" +SLOT="0" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e 's|/tmp/out|${TMPDIR:-/tmp}/out|' test/helper.rb || die "tests fix failed" + + # Avoid depending on rake-compiler since we don't use it to compile + # the extension. + sed -i -e '/rake-compiler/ s:^:#:' -e '/extensiontask/ s:^:#:' Rakefile + sed -i -e '/ExtensionTask/,/^ end/ s:^:#:' Rakefile + + # Avoid isolation since dependencies are not properly declared. + sed -i -e 's/, :isolate//' Rakefile || die +} + +each_ruby_prepare() { + case ${RUBY} in + *jruby) + # Some tests are broken on jruby, avoid them. We used to + # avoid all tests so this is not a regression for us. + rm test/test_racc_command.rb || die + ;; + *ruby18) + sed -i -e '/test_norule_y/,/end/ s:^:#:' \ + -e '/test_unterm_y/,/end/ s:^:#:' test/test_racc_command.rb || die + ;; + *) + ${RUBY} -Cext/racc extconf.rb || die + ;; + esac +} + +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." + ;; + *ruby18) + einfo "No longer compiles with ruby 1.8, only the pure Ruby implementation is used." + ;; + *) + emake V=1 -Cext/racc + # 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$(get_modname) lib/racc/cparse$(get_modname) || die + ;; + esac +} + +each_ruby_test() { + ${RUBY} -Ilib -S testrb test/test_*.rb || die +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r rdoc + + docinto examples + dodoc -r sample +} |