summaryrefslogtreecommitdiff
path: root/dev-java/bsf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-04 14:00:21 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-04 14:00:21 +0000
commit84bfe2244c544bae8dcaffbaf4cfb80f59f88f64 (patch)
tree9ca9f927285afd8d1f973510490ab28847f36dd4 /dev-java/bsf
parent5e0583283abb5e0f998830cea3f4f9785699b2ed (diff)
gentoo auto-resync : 04:01:2024 - 14:00:20
Diffstat (limited to 'dev-java/bsf')
-rw-r--r--dev-java/bsf/Manifest4
-rw-r--r--dev-java/bsf/bsf-2.4.0-r4.ebuild70
-rw-r--r--dev-java/bsf/metadata.xml4
3 files changed, 76 insertions, 2 deletions
diff --git a/dev-java/bsf/Manifest b/dev-java/bsf/Manifest
index 520377dbf2bb..9cd0e0f5c42d 100644
--- a/dev-java/bsf/Manifest
+++ b/dev-java/bsf/Manifest
@@ -1,5 +1,7 @@
AUX bsf-2.4.0-PyJavaInstance.patch 1654 BLAKE2B c6a0efc5c429adb7dd0ba6a7fd68e7b49ac13b98b1bd3998e70294dd4bf15516c719807c940fbf0b2203f6804878edce223b12b29cccefd790812db186a71cf1 SHA512 ceb07c1613c4a68654132a1b95d4db2494183cb86fe20be050bf4f57079fc1967ac76dda17b28df586d3fe34b696eef4d5790e6fe82a73d13c5a4f64267048f0
AUX bsf-2.4.0-build-properties.xml 1984 BLAKE2B 6db0c1ca7f899e95a0728d61b79ef6c0a1320ee747b5479c9c50a7bd258dc7fee0b6b569e3813f323cbc694d405f9af1d269dd5370ac82e6eca2bde5072d905d SHA512 d262daec432d7a22c217e24089f22e4c349be0487fd00a2e6992e77770a3699e7e2b5977e2108455d7f73c31b372d6a73febdff2856e256f93b25f3781e11679
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
-MISC metadata.xml 904 BLAKE2B 6e791ca9562cd211b97a13c79701155efa8b58be87f9af9c076017da0ca9f406a2ccc673eefb1d56db9cb2b9481fc77b01e9f762a98bd858199883ac06fde17e SHA512 36cd9c82eaa80842fae4c0f51ca63611d6a2b7a5724d755d0651edf069a67dcad3ce13789ca07cf2be353efb1c8b3a04e367be548925e29507155235749af66b
+EBUILD bsf-2.4.0-r4.ebuild 1942 BLAKE2B eaae8b9175ba2569788ea4f3828926ddb463f1ea2ffc45a0f8987098e2287fa0e836a9969ec1e0f936b4aece474d9ef301e229ac60c9af0edf89eb0112b62199 SHA512 be8d11bbad22ec7b8df6f668419df95330c6a3abc77c9bc9cc58fac8b76a0041b9990593eec455c19abb2cd2281e2bc8a65f6ee149ad816be813eb9bade945fb
+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
new file mode 100644
index 000000000000..392c3e6152ec
--- /dev/null
+++ b/dev-java/bsf/bsf-2.4.0-r4.ebuild
@@ -0,0 +1,70 @@
+# 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/metadata.xml b/dev-java/bsf/metadata.xml
index b193994fe63e..90f0e6f3943c 100644
--- a/dev-java/bsf/metadata.xml
+++ b/dev-java/bsf/metadata.xml
@@ -5,7 +5,9 @@
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
-
+<upstream>
+ <remote-id type="github">apache/commons-bsf</remote-id>
+</upstream>
<longdescription>
Bean Scripting Framework (BSF) is a set of Java classes which provides
scripting language support within Java applications, and access to Java