diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-09-10 10:14:40 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-09-10 10:14:40 +0000 |
commit | 5e16147ced5128f3d9a68756fee754efd3d66dc7 (patch) | |
tree | 09a9d00995fd4e8e21dda502017865662c5a7b3c /dev-ruby | |
parent | Automated update of use.local.desc (diff) | |
download | historical-5e16147ced5128f3d9a68756fee754efd3d66dc7.tar.gz historical-5e16147ced5128f3d9a68756fee754efd3d66dc7.tar.bz2 historical-5e16147ced5128f3d9a68756fee754efd3d66dc7.zip |
Add ree18 and jruby support.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/erubis/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/erubis/Manifest | 11 | ||||
-rw-r--r-- | dev-ruby/erubis/erubis-2.6.6-r1.ebuild | 45 |
3 files changed, 57 insertions, 6 deletions
diff --git a/dev-ruby/erubis/ChangeLog b/dev-ruby/erubis/ChangeLog index 2925cc339508..928e2a484a5d 100644 --- a/dev-ruby/erubis/ChangeLog +++ b/dev-ruby/erubis/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/erubis # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/erubis/ChangeLog,v 1.4 2010/07/19 07:10:25 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/erubis/ChangeLog,v 1.5 2010/09/10 10:14:40 graaff Exp $ + +*erubis-2.6.6-r1 (10 Sep 2010) + + 10 Sep 2010; Hans de Graaff <graaff@gentoo.org> +erubis-2.6.6-r1.ebuild: + Add ree18 and jruby support. *erubis-2.6.6 (19 Jul 2010) diff --git a/dev-ruby/erubis/Manifest b/dev-ruby/erubis/Manifest index 32d1371c2b92..a2d6354b69a4 100644 --- a/dev-ruby/erubis/Manifest +++ b/dev-ruby/erubis/Manifest @@ -4,13 +4,14 @@ Hash: SHA256 DIST erubis-2.6.5.gem 163840 RMD160 a7b84730120a9d639cb91847f361d8a033aebf26 SHA1 ea6fb9ae9fb9b01110bfa9d18160213b8bd8d5c4 SHA256 d536a678319e6663a5740f0da72f6038129c5957c59c11f75d684f532839e1d2 DIST erubis-2.6.6.gem 163840 RMD160 e3053b862cc6f9b4e28014691708bed80caf1815 SHA1 f044e9500a272d4fb2e40368c352350bf92f46f5 SHA256 75773bf89a65c3941560d91191ccfd3e69a2c9251b8610375ae18cf58912cda7 EBUILD erubis-2.6.5.ebuild 1000 RMD160 d804f44a631f1eaee49071d2f1a461983d47ffcb SHA1 81d2b854885be8ba7368eb8c52260369dff118b6 SHA256 d647a2463caf878e2328c79991d789b75de4d6638e10839a55293b90e8f3e5b5 +EBUILD erubis-2.6.6-r1.ebuild 1289 RMD160 a17a5fd1481c55df8e8fcede5da1d84873c21afe SHA1 7850c209a1971448825963845fef8fe434d8a8be SHA256 bca3fcdde34560d0a6d6fd65f33505755b176ad23b72f401c754bac2e392f5b9 EBUILD erubis-2.6.6.ebuild 1001 RMD160 3d4477b53e70e1734861855bb18e6acaff6b5556 SHA1 00eb53d04f625ee7eed64a19091a935ddf3c2fa7 SHA256 57da5bfadc84f4539b188607ea8b10f3daaa3a4488b478a87e12e914b16252ac -MISC ChangeLog 719 RMD160 520a5ffc1918e2a8fb92b7d6bcd8ccffb526352e SHA1 db79f0c512a3640b7b2932f0d6db4397a2c0feb5 SHA256 6348ae4bfba42cb453f9863aa572d525e037bf08f9afe82f123a7e8a1de1304b +MISC ChangeLog 858 RMD160 72a493118f3ca814560291b2eb547763fdb98e29 SHA1 b31608aa614d3353b81dc97a66aea07923c62d76 SHA256 f017011d8c5f4da6c9cc30793d684ed9e980c74839740beb85d0d675ce5d63f2 MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.15 (GNU/Linux) +Version: GnuPG v2.0.16 (GNU/Linux) -iF4EAREIAAYFAkxD+mcACgkQZihJkut28SvrqAEAryQdOM40FVtjSxWsyP8AsEhu -ZRpyFelUy+DJoW8+xT0A/1RNGRId005fVeIyagFBjKuy4BIjeN5IL7JCUPinziKP -=KU8L +iF4EAREIAAYFAkyKBRYACgkQZihJkut28SslnAD+J0epPocxvcMEyLAHvCupiXJo +fLZNJDsPXEfoz/NVAkIBAICTy2NMStcz39NQnL2wVC4rpHGXgrO8NQhN+DXJE26Z +=jqQ/ -----END PGP SIGNATURE----- diff --git a/dev-ruby/erubis/erubis-2.6.6-r1.ebuild b/dev-ruby/erubis/erubis-2.6.6-r1.ebuild new file mode 100644 index 000000000000..0187196dda29 --- /dev/null +++ b/dev-ruby/erubis/erubis-2.6.6-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/erubis/erubis-2.6.6-r1.ebuild,v 1.1 2010/09/10 10:14:40 graaff Exp $ + +EAPI="2" + +USE_RUBY="ruby18 ree18 ruby19 jruby" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="Erubis is an implementation of eRuby" +HOMEPAGE="http://www.kuwata-lab.com/erubis/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_bdepend "test? ( virtual/ruby-test-unit )" +ruby_add_rdepend ">=dev-ruby/abstract-1.0.0" + +each_ruby_prepare() { + # Fix case so that the associated test will work. Reported as http://rubyforge.org/tracker/index.php?func=detail&aid=27330&group_id=1320&atid=5201 + mv test/data/users-guide/Example.ejava test/data/users-guide/example.ejava || die + + # jruby seems to have a different ordering of variables. + # http://rubyforge.org/tracker/?func=detail&aid=28555&group_id=1320&atid=5201 + case ${RUBY} in + *jruby) + sed -i -e 's/"x", "_buf"/"_buf", "x"/' test/data/users-guide/main_program2.result + ;; + *) + ;; + esac +} + +each_ruby_test() { + PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} test/test.rb || die +} |