diff options
-rw-r--r-- | dev-ruby/rjb/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/rjb/Manifest | 10 | ||||
-rw-r--r-- | dev-ruby/rjb/rjb-1.4.9.ebuild | 73 |
3 files changed, 87 insertions, 5 deletions
diff --git a/dev-ruby/rjb/ChangeLog b/dev-ruby/rjb/ChangeLog index 3e629dccd6d1..9027e4c6d0c2 100644 --- a/dev-ruby/rjb/ChangeLog +++ b/dev-ruby/rjb/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-ruby/rjb # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rjb/ChangeLog,v 1.3 2014/04/25 05:17:59 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rjb/ChangeLog,v 1.4 2014/04/25 05:36:25 graaff Exp $ + +*rjb-1.4.9 (25 Apr 2014) + + 25 Apr 2014; Hans de Graaff <graaff@gentoo.org> +rjb-1.4.9.ebuild: + Version bump. Install documentation. Fix tests to work and avoid tests that + cannot work for us. Use eclass to install additional files. Add ruby20, + ruby21. 25 Apr 2014; Hans de Graaff <graaff@gentoo.org> -rjb-1.4.5.ebuild: Cleanup. diff --git a/dev-ruby/rjb/Manifest b/dev-ruby/rjb/Manifest index 66bcedc4fba1..b3b5f8b78866 100644 --- a/dev-ruby/rjb/Manifest +++ b/dev-ruby/rjb/Manifest @@ -2,13 +2,15 @@ Hash: SHA256 DIST rjb-1.4.8.gem 67584 SHA256 3c5295fd2f552b1f5a42caa27552ca4dc330d63cfbc05194e412adaeb426fa1a SHA512 1b06f5aef03e8a7852aa6e09b518521b791f9d0fbdda9971877812adb7cfb91d61d9aee84862368c0697eb42796c252abc0bf67218a7ebaa1df58cf72b9c290d WHIRLPOOL 4744d58573c003920d015e5189fd277bf70d32c2e02a63accf95e053469af39d9cb89626e14514adba0dca8373d5f8711baf1d62ac4020cf5d3c286f31598043 +DIST rjb-1.4.9.gem 68608 SHA256 df835dda3c11b805f1c6550b0531860ad94efa5affdb4454333f9acfe53a4e18 SHA512 718776b599dfd59bbb889caa69ffc32284848a1d7848c7db6e384b7c05e11eff48f8d94f918c9c98f84f94e9c7f6008dcc3ff62a56c30eea83f4efe1602677f7 WHIRLPOOL b3abf6dd4311ea8d6f4b0d0dcf17aadc8f0be14e39e990e2eb998050f7155a4168740a38df784cee6d20f79e18196805694b1c3a656842612abedaa87d3ef1a3 EBUILD rjb-1.4.8.ebuild 1576 SHA256 3f8f4a82bb3f9c819578a22d40763b4e4af2226ab161ef040a177e9bf482521d SHA512 566ecef7748e3fd74233b4a76241dbccd36d7c46a8c0aff83be0ca2a155ea638ed1585c2acf5562735a6d855641b19dcc57a4eb3046050c9b9e9d099d7d9b4d5 WHIRLPOOL 12cf9f20ae804575a2736c873be5631dcc1b5b5efac7121f9c299c134774955b24e4fefeccb6ecab45cf17b5e5c61b77f2b8814eb1ba5e37d3ceedd0e8b18fb1 -MISC ChangeLog 585 SHA256 83cecb934df902aa9da27c9374828f621255a23324e6fca9e469b2fcedeeed3e SHA512 9f7bc639c4a65af0a5355fdb52e2144888b10a57ce7ea96091285510bf5d2264c9ccd2ee1d4a95c7774ee46b3782293df118cdfe145c1d37cb87034ab833c9d9 WHIRLPOOL 2fd56fd05195f969525fa673d6485435fe172a98292db40d6833582afc8cfbe6ef2025454755ff662d5ecf777c130632b781b08514cdc250ba96444a2480c194 +EBUILD rjb-1.4.9.ebuild 1872 SHA256 ccc795874af5656dfb5f16ddd64f0b40e41a86c28c9b642d6510be4a8a84f501 SHA512 8f281b024dcf8881e5ef9d85918f82d649cd5b545056a2e28041e05fd78463f297219cc0e94d370967c8e661398053c5e06ff8cc50cc567da52c90187d6f580b WHIRLPOOL b1acf82aca8943d744504c0d4f380b7558db5412bf8d2d9b8abdb881a3163bb219c06a31004d292c0cff81e05911b7cfb87426d8a47335ddd0dc97eec245933c +MISC ChangeLog 843 SHA256 c06454cf1eb70c8edb5ceca5f12bc16503d264fe399a0fc7c822541a15c7f899 SHA512 61af7b5fe9ecba05fd6a18b10fb45a79c52f5a6c7ccaf516d5eb039b9d34999d796f52e4ad444f6f3239576a8efa1beee70700b90750349bf72a46086c78c6a3 WHIRLPOOL 87fba47fdb939848ef98ebb77532c3a7d64b7d164d180532a9152bedc30ee579baff9d01c070fad7024aa0a42bda5988e405f42022fb34b9c42aa1c11bd254ad MISC metadata.xml 292 SHA256 cb7bc08e56161cfd708e9e743a5792b5d7793847c2e8b94506cc372281fd6dc6 SHA512 b1f870f4f237affb1473f6d4bfcb870143365e564d8be3ed8ca39a72cc16896f545ef7b97e606b2a39e0fc4161e5ff4512cc0c27186cc12e017d65aebf3edb3c WHIRLPOOL 2d526ce30fb6f82eff831ae6effcec383371d14c57be74b529577123475864e370e7d4b0541c4e88dfc5a2a4cdac58fee3fe8d947b564da84925d12a265ca318 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iF4EAREIAAYFAlNZ8AgACgkQiIP6VqMIqNdEhQD/THH53m3Y8EClVwX4LWK16z3l -VgQqQ28d/T3985GYSKcA/jpKkGEznh0gXCFMfQLIK/2XtJ60IcvQBDgy/6H5oxoc -=Y48c +iF4EAREIAAYFAlNZ9FoACgkQiIP6VqMIqNfvjQD9EHxWqARIxUyvQ38t2JFdNvGw +J5xwf/CSDGdC3Pnbzi8A/0FuSjQ/tn0KQkuM1EFbDcPii/S9ohQIzxIveAYplNUb +=QMPp -----END PGP SIGNATURE----- diff --git a/dev-ruby/rjb/rjb-1.4.9.ebuild b/dev-ruby/rjb/rjb-1.4.9.ebuild new file mode 100644 index 000000000000..1c1b8fb8d49a --- /dev/null +++ b/dev-ruby/rjb/rjb-1.4.9.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rjb/rjb-1.4.9.ebuild,v 1.1 2014/04/25 05:36:25 graaff Exp $ + +EAPI=5 + +USE_RUBY="ruby19 ruby20 ruby21" + +RUBY_FAKEGEM_EXTRADOC="readme.txt ChangeLog" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit java-pkg-2 ruby-ng ruby-fakegem + +DESCRIPTION="Rjb is a Ruby-Java software bridge" +HOMEPAGE="http://rjb.rubyforge.org/" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples hardened" + +DEPEND=">=virtual/jdk-1.5 + hardened? ( sys-apps/paxctl )" +RDEPEND="virtual/jre" + +pkg_setup() { + ruby-ng_pkg_setup + java-pkg-2_pkg_setup +} + +all_ruby_prepare() { + # The console is not available for testing. + sed -i -e '/test_noarg_sinvoke/,/end/ s:^:#:' test/test.rb || die + + # Avoid encoding tests since not all locales may be available. + sed -i -e '/test_kjconv/,/^ end/ s:^:#:' test/test.rb || die +} + +each_ruby_prepare() { + #dev-lang/ruby might need the "hardened" flag to enforce the following: + if use hardened; then + paxctl -v /usr/bin/ruby 2>/dev/null | grep MPROTECT | grep disabled || ewarn '!!! rjb may only work if ruby is MPROTECT disabled, but not really sure\n please disable it if required using paxctl -m /usr/bin/ruby' + fi + # force compilation of class file for our JVM + rm -rf data +} + +each_ruby_configure() { + ${RUBY} -C ext extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflags="${LDFLAGS}" +} + +each_ruby_install() { + each_fakegem_install + + # currently no elegant way to do this (bug #352765) + ruby_fakegem_newins ext/rjbcore.so lib/rjbcore.so + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r samples + fi +} + +each_ruby_test() { + ${RUBY} -C test -I../lib:.:../ext test.rb || die +} |