From 8fd9d385e5bc3c01115ec2ddcb2227607eb90861 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 5 Jan 2024 14:04:26 +0000 Subject: gentoo auto-resync : 05:01:2024 - 14:04:25 --- dev-java/bsf/Manifest | 2 +- dev-java/bsf/bsf-2.4.0-r4.ebuild | 70 ------------------------------------ dev-java/bsf/bsf-2.4.0-r5.ebuild | 77 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 78 insertions(+), 71 deletions(-) delete mode 100644 dev-java/bsf/bsf-2.4.0-r4.ebuild create mode 100644 dev-java/bsf/bsf-2.4.0-r5.ebuild (limited to 'dev-java/bsf') diff --git a/dev-java/bsf/Manifest b/dev-java/bsf/Manifest index 9cd0e0f5c42d..3c2e0517e0f2 100644 --- a/dev-java/bsf/Manifest +++ b/dev-java/bsf/Manifest @@ -3,5 +3,5 @@ AUX bsf-2.4.0-build-properties.xml 1984 BLAKE2B 6db0c1ca7f899e95a0728d61b79ef6c0 DIST bsf-src-2.4.0.tar.gz 299749 BLAKE2B 41f3cfe77b1ccf6b78493df7f5f288b397234b3236977c4b7d2e6c85b330e40319474419f560eefa1632da4d0524593b8c3e0c66cd27b852749b1405c20df5a6 SHA512 a1e7564fd14abbf725fee75c4b0ba5f92d7eada0e242ad05897753bb4afe639d859c42cae1d684e8dd9151409d4cc68e1a422a70bc74d8016144cc30d03a2d43 DIST bsf-src-2.4.0.tar.gz.asc 191 BLAKE2B c4d17ee6df06aa2da70b9e733cb9890cef2f0f22124d8699400494496c4045851feb006e53ee4f4d09e926d982afd4057c08caf791fd4ea8a8bef5f576d6d8a1 SHA512 b82d1f9e6cd6bc3b3228ceb8f5f0679e8dd95c2200328accafa0ee9fd4b4065367e071d0fa718ecdc34e11c6b14456a671d4e8e74d2b56dea4e8fc3db73c4392 EBUILD bsf-2.4.0-r3.ebuild 2678 BLAKE2B c9c3c31634df671be5dcb7f4e93f135b1a873e48e109e592ee7beca161033ca3eafcaa7f07d2dad0ce4748d4eb0d9872a2dfd9ef8396710db04b1ed18e79a907 SHA512 254420c8664c8b6c50945c19c31aea2a61bcdca929f0cd6a3558773bce802bcac4c505586678bdc3fcb4506197b7e13cf463b4fa1f428cac832fb36059d98c1c -EBUILD bsf-2.4.0-r4.ebuild 1942 BLAKE2B eaae8b9175ba2569788ea4f3828926ddb463f1ea2ffc45a0f8987098e2287fa0e836a9969ec1e0f936b4aece474d9ef301e229ac60c9af0edf89eb0112b62199 SHA512 be8d11bbad22ec7b8df6f668419df95330c6a3abc77c9bc9cc58fac8b76a0041b9990593eec455c19abb2cd2281e2bc8a65f6ee149ad816be813eb9bade945fb +EBUILD bsf-2.4.0-r5.ebuild 2229 BLAKE2B 7ebbaf37407061c7ff289bf727a9224eadb45a930ef32eb0c4eda53bb810c8a8d49658df9df9c4f297daa198577d337e0125889795ed36d83ab0d1cb548ebda8 SHA512 105726a7b66ab418c32f42078f2a99684bc23f68c01e5f1f8546ae1534c7acb37c38d2248b231e0db870adfeb56d12925ef88498d252fd7437c23016f0665f2f MISC metadata.xml 983 BLAKE2B 03534eb384215d3e15764d890376dabbfce25d06b1477d62ecdbe109c76f7b0fbd3eda6233211555e87d1d4583b73a5d9e4f7d5f61e8be4330aefda4c8ae93c9 SHA512 e95534d309f4c49781857b113852a8162eeacfea951b5f961b317bac3624cd6b7b129c192d361c16834884ea67f8eec210796e899da74ede487fbafdca3da5ad diff --git a/dev-java/bsf/bsf-2.4.0-r4.ebuild b/dev-java/bsf/bsf-2.4.0-r4.ebuild deleted file mode 100644 index 392c3e6152ec..000000000000 --- a/dev-java/bsf/bsf-2.4.0-r4.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple verify-sig - -DESCRIPTION="Bean Script Framework" -HOMEPAGE="https://commons.apache.org/proper/commons-bsf/" -SRC_URI="mirror://apache/commons/bsf/source/bsf-src-${PV}.tar.gz - verify-sig? ( https://downloads.apache.org/commons/bsf/source/bsf-src-${PV}.tar.gz.asc )" -S="${WORKDIR}/${P}" - -LICENSE="Apache-2.0" -SLOT="2.3" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -# If you add new ones, add them to ant-apache-bsf too for use dependencies -IUSE="javascript tcl" - -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc" -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" -CDEPEND=" - dev-java/commons-logging:0 - dev-java/xalan:0 - javascript? ( dev-java/rhino:1.6 ) - tcl? ( dev-java/jacl:0 ) -" -DEPEND="${CDEPEND} - >=virtual/jdk-1.8:*" -RDEPEND="${CDEPEND} - >=virtual/jre-1.8:*" - -DOCS=( CHANGES.txt NOTICE.txt README.txt RELEASE-NOTE.txt TODO.txt ) - -JAVA_CLASSPATH_EXTRA=" - commons-logging - xalan -" -JAVA_MAIN_CLASS="org.apache.bsf.Main" -JAVA_SRC_DIR="src" - -src_prepare() { - java-pkg-2_src_prepare - rm -r src/org/apache/bsf/engines/{netrexx,jython} || die - if use javascript; then - JAVA_GENTOO_CLASSPATH+=" rhino-1.6" - else - rm -r src/org/apache/bsf/engines/javascript || die - fi - if use tcl; then - JAVA_GENTOO_CLASSPATH+=" jacl" - else - rm -r src/org/apache/bsf/engines/jacl || die - fi -} - -src_install() { - java-pkg-simple_src_install -# java-pkg_register-optional-dependency bsh,groovy-1,jruby -} - -pkg_postinst() { - elog "Support for javascript and tcl is controlled via USE flags." - elog "Also, following languages can be supported just by installing" - elog "respective package with USE=\"bsf\": BeanShell (dev-java/bsh)," - elog "Groovy (dev-java/groovy) and JRuby (dev-java/jruby)" -} diff --git a/dev-java/bsf/bsf-2.4.0-r5.ebuild b/dev-java/bsf/bsf-2.4.0-r5.ebuild new file mode 100644 index 000000000000..129e8013ff23 --- /dev/null +++ b/dev-java/bsf/bsf-2.4.0-r5.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="Bean Script Framework" +HOMEPAGE="https://commons.apache.org/proper/commons-bsf/" +SRC_URI="mirror://apache/commons/bsf/source/bsf-src-${PV}.tar.gz + verify-sig? ( https://downloads.apache.org/commons/bsf/source/bsf-src-${PV}.tar.gz.asc )" +S="${WORKDIR}/${P}" + +LICENSE="Apache-2.0" +SLOT="2.3" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +# If you add new ones, add them to ant-apache-bsf too for use dependencies +IUSE="javascript tcl" + +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" +CDEPEND=" + dev-java/commons-logging:0 + dev-java/xalan:0 + javascript? ( dev-java/rhino:1.6 ) + tcl? ( dev-java/jacl:0 ) +" +DEPEND="${CDEPEND} + >=virtual/jdk-1.8:*" +RDEPEND="${CDEPEND} + >=virtual/jre-1.8:*" + +DOCS=( CHANGES.txt NOTICE.txt README.txt RELEASE-NOTE.txt TODO.txt ) + +JAVA_GENTOO_CLASSPATH=" + commons-logging + xalan +" +JAVA_MAIN_CLASS="org.apache.bsf.Main" +JAVA_RESOURCE_DIRS="res" +JAVA_SRC_DIR="src" + +src_prepare() { + java-pkg-2_src_prepare + rm -r src/org/apache/bsf/engines/{java,javaclass,jython,netrexx} || die + if use javascript; then + JAVA_GENTOO_CLASSPATH+=" rhino-1.6" + else + rm -r src/org/apache/bsf/engines/javascript || die + fi + if use tcl; then + JAVA_GENTOO_CLASSPATH+=" jacl" + else + rm -r src/org/apache/bsf/engines/jacl || die + fi + # java-pkg-simple.eclass wants resources in JAVA_RESOURCE_DIRS + mkdir res || die "create res" + pushd src > /dev/null || die "pushd" + find -type f -name '*.properties' \ + | xargs cp --parent -t ../res || die "copy resources" + popd > /dev/null +} + +src_install() { + java-pkg-simple_src_install +# java-pkg_register-optional-dependency bsh,groovy-1,jruby +} + +pkg_postinst() { + elog "Support for javascript and tcl is controlled via USE flags." + elog "Also, following languages can be supported just by installing" + elog "respective package with USE=\"bsf\": BeanShell (dev-java/bsh)," + elog "Groovy (dev-java/groovy) and JRuby (dev-java/jruby)" +} -- cgit v1.2.3