From aba50674bd9dfc8cb72a1d25c2fdb4dd78a2442f Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 4 Dec 2022 10:51:54 +0100 Subject: dev-ruby/rjb: drop 1.6.4-r1 Signed-off-by: Hans de Graaff --- dev-ruby/rjb/Manifest | 1 - dev-ruby/rjb/rjb-1.6.4-r1.ebuild | 73 ---------------------------------------- 2 files changed, 74 deletions(-) delete mode 100644 dev-ruby/rjb/rjb-1.6.4-r1.ebuild (limited to 'dev-ruby/rjb') diff --git a/dev-ruby/rjb/Manifest b/dev-ruby/rjb/Manifest index 72aaaa7afa0c..9c8220310357 100644 --- a/dev-ruby/rjb/Manifest +++ b/dev-ruby/rjb/Manifest @@ -1,2 +1 @@ -DIST rjb-1.6.4.gem 75264 BLAKE2B a678eb0b57e930bfcc7ea059da8ee6a9319b7e0e5bc632a5b97ec617e77d844491469ebc2366ba4290ee7648b4201f1d34be560e325c6099237d413c9ed8aa46 SHA512 49a0aaeb1a0e945ce373af74e01f33f531e27b205c33a382975125357ee1ceae0bea12d6fc32acb2dd66ce56c6034691520f355688cdaca5d01abff295d1a6c8 DIST rjb-1.6.5.gem 75264 BLAKE2B 0608e3d2a70fbf909c2be454e71960ae900fadeda936677c290de1b1bfebacd43e9582dea847b3b6ca6c7294c11ff6fce409c1f59c72aea22c3fbc337ca0c590 SHA512 328a2b58eaf4673d5218ae7c87708c115b817f082844893c548a1fab5b544f729d6874cdba4f4fff6443e2fde2370daa8937f729b949c842461a4988033685ac diff --git a/dev-ruby/rjb/rjb-1.6.4-r1.ebuild b/dev-ruby/rjb/rjb-1.6.4-r1.ebuild deleted file mode 100644 index 3f2663da48e6..000000000000 --- a/dev-ruby/rjb/rjb-1.6.4-r1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby25 ruby26 ruby27" - -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 -} -- cgit v1.2.3-65-gdbad