diff options
Diffstat (limited to 'dev-ruby/rjb')
-rw-r--r-- | dev-ruby/rjb/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/rjb/rjb-1.6.5.ebuild | 73 | ||||
-rw-r--r-- | dev-ruby/rjb/rjb-1.6.6.ebuild | 73 |
3 files changed, 0 insertions, 150 deletions
diff --git a/dev-ruby/rjb/Manifest b/dev-ruby/rjb/Manifest index bca50ded9711..c71cffb6f0a4 100644 --- a/dev-ruby/rjb/Manifest +++ b/dev-ruby/rjb/Manifest @@ -1,7 +1,3 @@ -DIST rjb-1.6.5.gem 75264 BLAKE2B 0608e3d2a70fbf909c2be454e71960ae900fadeda936677c290de1b1bfebacd43e9582dea847b3b6ca6c7294c11ff6fce409c1f59c72aea22c3fbc337ca0c590 SHA512 328a2b58eaf4673d5218ae7c87708c115b817f082844893c548a1fab5b544f729d6874cdba4f4fff6443e2fde2370daa8937f729b949c842461a4988033685ac -DIST rjb-1.6.6.gem 74752 BLAKE2B a5dc335d9d5380b9ae6a94dabbe6c2c2db3daeffbe5a4900928ebc64eaeca07b4bb6bd1957a10639153808adb0910768b76fc733175e102824508e889690d30c SHA512 6b6af001905e4b342ec54149ac5dd475c2ab240be5622e1cd8e31765ea5c273542110a75fa92e7d0e220a07689ada9d2b899b37c6840353733e59a19c8e13b1a DIST rjb-1.6.7.gem 74752 BLAKE2B 835bc45b4568599e030033d9cff4d1df2da2cffd63ad594a437eeae7974d5e6f1bea490631c79f0990697f006e0006aab923134860aaf57312b153f750bda62b SHA512 ae5980621900d2605372f1cb3783d213e19da7bf1a7b2834dbdb99895476ecf2dad0ee474140e2747bbd477a5ab6d4be94cc9bf4fd0b8f0109ded94d7621bb7e -EBUILD rjb-1.6.5.ebuild 1921 BLAKE2B 3e86c9762ff67a7f490979c9be8b9572d79bac53b55865dabde00f497b8368051fce594dd6d614ec1f6f20cc32f56ca2c1ac7d86cf28a34cb3e63a24576d61be SHA512 ca6af6b635b9acfb089cf79361709f3aac9156a1cee32a4a438731519efe3c70a33f1dbf27007846612dfd694c9dcdf66239d6f90a8b68698130de6e02c4cc63 -EBUILD rjb-1.6.6.ebuild 1914 BLAKE2B df29022e0635f776a4796be95e895549e2d90bccebe0e35b56a90ba0d95577f9a8837c5f06cf1b58eb438926f30a11f3a6b85ced39cc5e9ae3e28f45aa456ab5 SHA512 962af3819a69a4e0aa19c45b299549ef4b319b07b972bd259e4f9e04314e17742f7b914a3800face0474d25fb8df847224768e2b3d66d7c040bb0d4764dfa963 EBUILD rjb-1.6.7.ebuild 1914 BLAKE2B 520cd204dc5cbfb55cfa8b4bbb4e0985ac4ec409fcfa01ce50aef83e12da8dc0d0bafb68cf6f572ddb4b7ec075be95c07c42f96d1d7b8a7dab3bfec5ebb76a10 SHA512 3f2edb180255ca9a88956393bf583704719db9583686e647db759bdb8865a83dd8f24a5d1f02f623752a59a08d954556757f1a507cde46d905c6c0e2b7a6c0a6 MISC metadata.xml 434 BLAKE2B 1e94200b4a129af238d6fd0d80c250a951a3ffe2090b352b6251cb1b2976a0311fa8e0d35dd8e5ace9d87aebca05792c11511d99a7997ba547e40722566e37da SHA512 8bd89556de265f47cbf04a4679ef4970964a5b50e113464ee441d5fa4655d13fb0f9403728efd9d11a4fce7cf3a93058918104cfe2475473b0a5bd2f24ae9aca diff --git a/dev-ruby/rjb/rjb-1.6.5.ebuild b/dev-ruby/rjb/rjb-1.6.5.ebuild deleted file mode 100644 index a4c722657a3e..000000000000 --- a/dev-ruby/rjb/rjb-1.6.5.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby26 ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_EXTRADOC="readme.txt ChangeLog" -RUBY_FAKEGEM_TASK_TEST="" - -RUBY_FAKEGEM_EXTRAINSTALL="data" - -RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb) - -inherit java-pkg-2 ruby-fakegem - -DESCRIPTION="Rjb is a Ruby-Java software bridge" -HOMEPAGE="https://github.com/arton/rjb" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples hardened" - -DEPEND=">=virtual/jdk-1.8 - hardened? ( sys-apps/paxctl )" -RDEPEND=">=virtual/jre-1.8:*" - -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 - - # Fix build on openjdk-11 - sed -i -e 's#javah -classpath ../data/rjb jp.co.infoseek.hp.arton.rjb.RBridge#javac -h . -classpath ../data/rjb RBridge.java#g' ext/extconf.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 will only work if ruby is MPROTECT disabled\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_install() { - each_fakegem_install - - if use examples; then - dodoc -r samples - fi -} - -each_ruby_test() { - if use hardened; then - paxctl -v ${RUBY} 2>/dev/null | grep MPROTECT | grep -q disabled - if [ $? = 0 ]; then - ${RUBY} -C test -I../lib:.:../ext test.rb || die - else - ewarn "${RUBY} has MPROTECT enabled, rjb will not work until it is disabled, skipping tests." - fi - else - ${RUBY} -C test -I../lib:.:../ext test.rb || die - fi -} diff --git a/dev-ruby/rjb/rjb-1.6.6.ebuild b/dev-ruby/rjb/rjb-1.6.6.ebuild deleted file mode 100644 index 85ee9b533786..000000000000 --- a/dev-ruby/rjb/rjb-1.6.6.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_EXTRADOC="readme.txt ChangeLog" -RUBY_FAKEGEM_TASK_TEST="" - -RUBY_FAKEGEM_EXTRAINSTALL="data" - -RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb) - -inherit java-pkg-2 ruby-fakegem - -DESCRIPTION="Rjb is a Ruby-Java software bridge" -HOMEPAGE="https://github.com/arton/rjb" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples hardened" - -DEPEND=">=virtual/jdk-1.8 - hardened? ( sys-apps/paxctl )" -RDEPEND=">=virtual/jre-1.8:*" - -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 - - # Fix build on openjdk-11 - sed -i -e 's#javah -classpath ../data/rjb jp.co.infoseek.hp.arton.rjb.RBridge#javac -h . -classpath ../data/rjb RBridge.java#g' ext/extconf.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 will only work if ruby is MPROTECT disabled\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_install() { - each_fakegem_install - - if use examples; then - dodoc -r samples - fi -} - -each_ruby_test() { - if use hardened; then - paxctl -v ${RUBY} 2>/dev/null | grep MPROTECT | grep -q disabled - if [ $? = 0 ]; then - ${RUBY} -C test -I../lib:.:../ext test.rb || die - else - ewarn "${RUBY} has MPROTECT enabled, rjb will not work until it is disabled, skipping tests." - fi - else - ${RUBY} -C test -I../lib:.:../ext test.rb || die - fi -} |