commit: 6b1ef9206fb000c1187cba483c9aef4ec3aab2ed Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Mon Jun 2 09:34:26 2025 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Mon Jun 2 09:43:29 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b1ef920
dev-ruby/rjb: drop 1.6.9 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/rjb/Manifest | 1 - dev-ruby/rjb/rjb-1.6.9.ebuild | 73 ------------------------------------------- 2 files changed, 74 deletions(-) diff --git a/dev-ruby/rjb/Manifest b/dev-ruby/rjb/Manifest index ff757973a289..4a98003bc5b7 100644 --- a/dev-ruby/rjb/Manifest +++ b/dev-ruby/rjb/Manifest @@ -1,2 +1 @@ -DIST rjb-1.6.9.gem 74752 BLAKE2B c8264fd0401044d9099717ae8770a30ce6bdfd12c3acfc2024b21330e3fdb07604bba69600a8808aa179c6459eb2d140e7b5822cbf58c3ea8ce47569bc92463b SHA512 c1ccae10361be881af4a129c0640ced00d00e909442b517150036cd44d5927cf24dc87bc0c30f3703f96955f114e0c0a5ff2d0f5fc555b71ade0f98e6b388426 DIST rjb-1.7.3.gem 76800 BLAKE2B 83bf6208e332fe1a339e74ae46bcacb4366c02fc089a5f2e463e6a53eb707203a59c50aaaaffe36bee984ca5bf0a06a501e3e31f1ea0cb35647ce0ceceadf495 SHA512 ea0b0a233a9e8a8030c382582f81776254d261d025310b468e01f5efab6978710b5eedb1a15acd2fb9cc57e083aa8a65a82137ea81ba9c061d999dcf82c35f9d diff --git a/dev-ruby/rjb/rjb-1.6.9.ebuild b/dev-ruby/rjb/rjb-1.6.9.ebuild deleted file mode 100644 index ef80fb653497..000000000000 --- a/dev-ruby/rjb/rjb-1.6.9.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32 ruby33" - -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:17 virtual/jdk:11 virtual/jdk:1.8 ) - hardened? ( sys-apps/paxctl )" -RDEPEND="|| ( virtual/jre:17 virtual/jre:11 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 -}
