diff options
Diffstat (limited to 'dev-java')
| -rw-r--r-- | dev-java/antunit/Manifest | 2 | ||||
| -rw-r--r-- | dev-java/antunit/antunit-1.5.0.ebuild | 52 | ||||
| -rw-r--r-- | dev-java/jetbrains-annotations/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/jetbrains-annotations/jetbrains-annotations-26.1.0.ebuild | 22 | ||||
| -rw-r--r-- | dev-java/objenesis/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/objenesis/objenesis-3.6.ebuild | 46 | ||||
| -rw-r--r-- | dev-java/testng/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/testng/files/testng-7.12.0-SkipFrom-XmlVerifyTest.patch | 17 | ||||
| -rw-r--r-- | dev-java/testng/testng-7.12.0.ebuild | 183 |
9 files changed, 325 insertions, 0 deletions
diff --git a/dev-java/antunit/Manifest b/dev-java/antunit/Manifest index 765c72b8f4c9..8c0b1a9262b8 100644 --- a/dev-java/antunit/Manifest +++ b/dev-java/antunit/Manifest @@ -1,2 +1,4 @@ DIST apache-ant-antunit-1.4.1-src.tar.bz2 125017 BLAKE2B 2c092d22eaf716c52bd6c6ce43d1e33c1f599621ee383303c97553f9dc2d0708cf58420338184f8877cd2b0fc053c9742b04cd869583db7b2fc2dedfb4a2dddd SHA512 7c59f0e918f5ec8edbf10bdbcdca1c9bd2ba2a7b27ade69aa4ca92c0c058c434be517799ce795309c0f1c00726a1c77650101b0d1cbe189db5379b15d29ad305 DIST apache-ant-antunit-1.4.1-src.tar.bz2.asc 224 BLAKE2B c56e3d8005b1a39e42b85fad3c542aa4dd894d9e6cc61a8ea34bce33a8fb3f56d142cb77372fd4d664d46427365d24078b7429480f689245eb31d771c525f90e SHA512 3ad2cca4240e2714d7c435828b3a3d3cbe1e57647400237ce2a96a714d877605199ccf54a2266ff35081ed9f3e23ca46306b30293c1981e55ccbbc61591ad760 +DIST apache-ant-antunit-1.5.0-src.tar.bz2 128992 BLAKE2B 558a307c93ad60a93c08548ed1ac366d57f88347bdfc7b2ad2671240a969672d3a8dcb6627adfe0a841e76645a9a862aa72d55ab9457f03f80b47137fd9e3fff SHA512 4564644aa53d6709f7ac8c94533a7777d101181114645bdb3458be318af018996c29e8f950b0f7b9292e5dd5e0abd40707f7c85081c9a6abc6056385c82f6ddf +DIST apache-ant-antunit-1.5.0-src.tar.bz2.asc 256 BLAKE2B e43d73c3e0801e3a8d2fd2c978d0f85238cd2b1f52cc3791ce4313f7f115cf6d6ec28a14293e1312461c68719b4f012c43a78136028124938b093cc4ae751044 SHA512 0bdedcacc5e9be18ef8f2350043d33f69290113e463e9414bf4e22da494c18af95215d8f2aab3047ba68a9b0e919f6565237ae58233a753e495b2d71b1d1acec diff --git a/dev-java/antunit/antunit-1.5.0.ebuild b/dev-java/antunit/antunit-1.5.0.ebuild new file mode 100644 index 000000000000..fe68aa088c60 --- /dev/null +++ b/dev-java/antunit/antunit-1.5.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +JAVA_PKG_IUSE="doc source test" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="An Antlib that provides a test framework for Apache Ant tasks and types" +HOMEPAGE="https://ant.apache.org/antlibs/antunit/" +SRC_URI="mirror://apache/ant/antlibs/${PN}/source/apache-ant-${P}-src.tar.bz2 + verify-sig? ( mirror://apache/ant/antlibs/antunit/source/apache-ant-${P}-src.tar.bz2.asc )" +S="${WORKDIR}/apache-ant-${P}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64" + +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-ant )" + +CP_DEPEND=" + >=dev-java/ant-1.10.15:0 + dev-java/junit:4 +" + +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:* + test? ( >=dev-java/ant-1.10.14:0[junit,testutil] ) +" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:* +" + +DOCS=( NOTICE README WHATSNEW ) +HTML_DOCS=( README.html ) +PATCHES=( "${FILESDIR}"/antunit-1.4.1-gentoo.patch ) + +JAVA_RESOURCE_DIRS="res" +JAVA_SRC_DIR="src/main" +JAVA_TEST_GENTOO_CLASSPATH="ant" +JAVA_TEST_SRC_DIR="src/tests/junit" +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/ant.apache.org.asc" + +src_prepare() { + java-pkg-2_src_prepare + # java-pkg-simple.eclass wants resources in JAVA_RESOURCE_DIRS + mkdir -p "res/org/apache/ant/antunit" || die + cp {src/main,res}/org/apache/ant/antunit/antlib.xml || die +} diff --git a/dev-java/jetbrains-annotations/Manifest b/dev-java/jetbrains-annotations/Manifest index 8f7f88b68a12..69e3c4b71f52 100644 --- a/dev-java/jetbrains-annotations/Manifest +++ b/dev-java/jetbrains-annotations/Manifest @@ -1,2 +1,3 @@ DIST jetbrains-annotations-26.0.2.1.tar.gz 147939 BLAKE2B 2d662402362ce5ee4cdb548c2411b209e74848faa6ce3392c7ac3d935cdf56a783c2fd000f035232ee13a7d454f1929c2ab0021646758d0e5972e34d9c4ffc97 SHA512 14d5c0573502a75e83ec41d87091fa2c78f554769396b6e874e3fad9e3f1953f6eab2269d4eca02d2c96200752a63dd438db958824c0808443f201303398a526 DIST jetbrains-annotations-26.0.2.tar.gz 148148 BLAKE2B 0cbb42b5bd8a63def0cd985923ce4a4b12cac50e68cd48c65f5608495af317af2dc66f2780c38ab42623e74527ba19199ca35833963ef27b573a371ed975ce8e SHA512 ab57b5ea281e44aa21aa3f90fb297cceabdb5dc577af1adfa0c3c697a0ab436476e16c1655cdfea18fc41e92ebdf6798b15a18e0760ecd84282e46c45fd88803 +DIST jetbrains-annotations-26.1.0.tar.gz 147976 BLAKE2B 2dcdf2f61296abc46a462c59c1f6c9bddff4dd8ff3d89e94fcff22ae1bf8c84c29a642908fd6c21ae8aed5d013d654965d87d5b828dfdc1e807fb1eebb6a8cbb SHA512 688b5322ca0b1fbcda3a91c064acdf56f0b34cc4526e2ea2b5ddf7d07e54f634eff5f40d00e8f41e7c1ee2843290e6cac3f096c1d28df95e126783d3f1345ba8 diff --git a/dev-java/jetbrains-annotations/jetbrains-annotations-26.1.0.ebuild b/dev-java/jetbrains-annotations/jetbrains-annotations-26.1.0.ebuild new file mode 100644 index 000000000000..baeea5cee727 --- /dev/null +++ b/dev-java/jetbrains-annotations/jetbrains-annotations-26.1.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Annotations for JVM-based languages" +HOMEPAGE="https://github.com/JetBrains/java-annotations" +SRC_URI="https://github.com/JetBrains/java-annotations/archive/$(ver_rs 3 -).tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN/jetbrains/java}-$(ver_rs 3 -)" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64" + +DEPEND=">=virtual/jdk-11:*" # module-info +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_SRC_DIR=( src/jvmMain/{java,moduleInfo} ) diff --git a/dev-java/objenesis/Manifest b/dev-java/objenesis/Manifest index c474ebc59816..88d76d346e9a 100644 --- a/dev-java/objenesis/Manifest +++ b/dev-java/objenesis/Manifest @@ -1 +1,2 @@ DIST objenesis-3.4.tar.gz 128447 BLAKE2B 220694fb496b4a29ad50c92741477e08475a6bdbd4f6ff647a03995a86945d9474672ee1be4f60f1fc07f0b05a4f1e59110977fccf9fd063dbd57750a66e2a26 SHA512 e4b106ae71e5f62e6057dba749ac56c42030a2a1aca5c2ec5c95c934a7fe1af99e6c62ca9c50e76fa67610bfbf075e46a0c9f37d4e6c35ea6047175189ab686e +DIST objenesis-3.6.tar.gz 283086 BLAKE2B 3eefaad4f853d7355d84629fffde2bca7fcc4811f897343f3196b8986774e778ec0fb57b1e6ce127b6847f94b78f1944d2084a0024dd591bf36873382a8e0587 SHA512 9662d98da15c5720f5587eb793c818b22e86f26121e3d21fa0fe7cb5ccad8ea03fe917885e0c09ae166b27ce1e5c9788dc53f16d8f15c6706c9ac1124f617646 diff --git a/dev-java/objenesis/objenesis-3.6.ebuild b/dev-java/objenesis/objenesis-3.6.ebuild new file mode 100644 index 000000000000..3351cf6acada --- /dev/null +++ b/dev-java/objenesis/objenesis-3.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +JAVA_PKG_IUSE="doc source test" +JAVA_TESTING_FRAMEWORKS="junit-jupiter" + +inherit java-pkg-2 java-pkg-simple junit5 + +DESCRIPTION="A library for instantiating Java objects" +HOMEPAGE="https://objenesis.org/" +SRC_URI="https://github.com/easymock/objenesis/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64" + +DEPEND=" + >=virtual/jdk-1.8:* + test? ( dev-java/opentest4j:0 ) +" + +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_TEST_GENTOO_CLASSPATH="opentest4j" +JAVA_TEST_SRC_DIR="main/src/test/java" + +src_compile() { + if use test; then + einfo "Compiling objenesis-test" + JAVA_AUTOMATIC_MODULE_NAME="org.objenesis.test" + JAVA_SRC_DIR="test/src/main/java" + JAVA_JAR_FILENAME="objenesis-test.jar" + java-pkg-simple_src_compile + JAVA_GENTOO_CLASSPATH_EXTRA+=":objenesis-test.jar" + rm -r target || die + fi + + einfo "Compiling objenesis" + JAVA_SRC_DIR="main/src/main/java" + JAVA_JAR_FILENAME="objenesis.jar" + JAVA_AUTOMATIC_MODULE_NAME="org.objenesis" + java-pkg-simple_src_compile +} diff --git a/dev-java/testng/Manifest b/dev-java/testng/Manifest index 1e6432f6d3ff..61e5f76be454 100644 --- a/dev-java/testng/Manifest +++ b/dev-java/testng/Manifest @@ -4,3 +4,4 @@ DIST jlibs-core-3.0.1.jar 273505 BLAKE2B f09857d8c9e9f784f0158a0da6f990fb1cfe98a DIST jquery-3.7.1.jar 307911 BLAKE2B 6aca8f3e1bc5448018b20f04e2a7ae9d3ecde7a9e6471af7a560aa89a52dbadf798244781df843467673a11a9db334414ec4f6610c65bd751b5a5f53e70099c0 SHA512 a15af2262b4bf3f465310877a2e57b8efe6c0654abcd35ac3614d1b79666628786224e1dc19857bded72bc02b9a21cd437adffbed34f21050f9b348a07b11a7d DIST kotlin-compiler-2.2.0.zip 78044187 BLAKE2B cc2520d0b93299c715b6be809c94ef0ce2e52f69687429f7e8e1f3fefa9e2e951748b8b0cbef40e51bf47a849210e9e064048707b133a8180c14215c0e763bc5 SHA512 3d5c25cc34e1b916646a1fc5ad8428df52136034fe03e95dcb2b0682eaecb8eeeaf3720422a415872514326e26bb84bb9f6ea46ac5926a77109f56c8421db3e7 DIST testng-7.11.0.tar.gz 912532 BLAKE2B 44578931a8d933caacbd9845ffe217f1f70cb7c485c7f0caf4cb09b6780aeb18d8b7aac94d460d6736d9e308572c2e149532d494a4ae229edc1298878aec12cd SHA512 4f45eea5aedd2c26827d8628db79230338c3d49f7efd53ec13ebb28d5090024529960d39bdc53126cdf2c8f17ab8a0ce07424908e3e2f7155f0ff6185dffc0d1 +DIST testng-7.12.0.tar.gz 943572 BLAKE2B d963dfa53c3895369b1c715c7f1195c00155f56ebee75a3d619e4c82f9727dc56d2a3207cf2da068c168c148b4ff8438bb5e2302efe57660cfe52699b1a3d935 SHA512 6ec78fb5e43657431162f25cb9e1f4d8f687d7b84ae2882c95eb8dfc5b1d4237346f868c4028fac1be616aa0ace6c203804e8ccfc98191a277465c62d16c5967 diff --git a/dev-java/testng/files/testng-7.12.0-SkipFrom-XmlVerifyTest.patch b/dev-java/testng/files/testng-7.12.0-SkipFrom-XmlVerifyTest.patch new file mode 100644 index 000000000000..e87546233455 --- /dev/null +++ b/dev-java/testng/files/testng-7.12.0-SkipFrom-XmlVerifyTest.patch @@ -0,0 +1,17 @@ +FAILED: test.xml.XmlVerifyTest.testThreadPoolRelatedAttributesPresentInXml + GITHUB-3177 +java.net.UnknownHostException: testng.org + +diff --git a/testng-core/src/test/java/test/xml/XmlVerifyTest.java b/testng-core/src/test/java/test/xml/XmlVerifyTest.java +index c173dc6..c06ab62 100644 +--- a/testng-core/src/test/java/test/xml/XmlVerifyTest.java ++++ b/testng-core/src/test/java/test/xml/XmlVerifyTest.java +@@ -49,7 +49,7 @@ public class XmlVerifyTest extends SimpleBaseTest { + assertThat(xml).doesNotContain(DEFAULT_SUITE); + } + +- @Test(description = "GITHUB-3177") ++ @Test(enabled = false, description = "GITHUB-3177") + public void testThreadPoolRelatedAttributesPresentInXml() throws Exception { + XmlSuite suite = createSuite(); + suite.setShareThreadPoolForDataProviders(true); diff --git a/dev-java/testng/testng-7.12.0.ebuild b/dev-java/testng/testng-7.12.0.ebuild new file mode 100644 index 000000000000..b88940bc48f1 --- /dev/null +++ b/dev-java/testng/testng-7.12.0.ebuild @@ -0,0 +1,183 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +JAVA_PKG_IUSE="doc source test" +JAVA_TESTING_FRAMEWORKS="testng" + +inherit java-pkg-2 java-pkg-simple + +# Presently we install the binary version of jquery since it is not packaged in ::gentoo. +JQV="3.7.1" # jquery +# These are used only for tests, we don't install them. +AGV="5.0.2" # groovyc compiler +GAV="3.0.22" # groovy +JCV="3.0.1" # jlibs-core, to be packaged +KCV="2.2.0" # kotlin-compiler + +DESCRIPTION="Testing framework inspired by JUnit and NUnit with new features" +HOMEPAGE="https://testng.org/" +SRC_URI="https://github.com/testng-team/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + https://repo1.maven.org/maven2/org/webjars/jquery/${JQV}/jquery-${JQV}.jar + test? ( + mirror://apache/groovy/${AGV}/distribution/apache-groovy-binary-${AGV}.zip + https://github.com/JetBrains/kotlin/releases/download/v${KCV}/kotlin-compiler-${KCV}.zip + https://repo1.maven.org/maven2/in/jlibs/jlibs-core/${JCV}/jlibs-core-${JCV}.jar + https://repo1.maven.org/maven2/org/codehaus/groovy/groovy/${GAV}/groovy-${GAV}.jar + )" +S="${WORKDIR}/${P}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64" + +BDEPEND="app-arch/unzip" + +CP_DEPEND=" + >=dev-java/guice-7.0.0:0 + >=dev-java/jcommander-1.83:0 + dev-java/slf4j-api:0 + >=dev-java/snakeyaml-2.5:0 +" + +DEPEND=" + ${CP_DEPEND} + >=virtual/jdk-11:* + test? ( + >=dev-java/assertj-core-3.27.6:0 + >=dev-java/bsh-2.1.1-r2:0 + >=dev-java/commons-io-2.21.0:0 + >=dev-java/guava-33.5.0:0 + >=dev-java/javax-inject-1-r4:0 + >=dev-java/jetbrains-annotations-26.0.2:0 + dev-java/junit:4 + >=dev-java/mockito-5.21.0:0 + >=dev-java/shrinkwrap-api-1.2.6:0 + >=dev-java/shrinkwrap-impl-base-1.2.6:0 + >=dev-java/slf4j-simple-2.0.3:0 + >=dev-java/xmlunit-core-2.11.0:0 + ) +" + +# reason: '<>' with anonymous inner classes is not supported in -source 8 +# (use -source 9 or higher to enable '<>' with anonymous inner classes) +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-11:* + dev-java/jsr305:0 +" + +DOCS=( README.md {ANNOUNCEMENT,CHANGES}.txt ) +PATCHES=( + "${FILESDIR}/testng-7.11.0-skipDynamicDataProviderLoadingTest.patch" + "${FILESDIR}/testng-7.11.0-SkipFrom-ClassHelperTest.patch" + "${FILESDIR}/testng-7.11.0-SkipFrom-FailedInvocationCountTest.patch" # pass for normal user + "${FILESDIR}/testng-7.11.0-SkipFrom-FailedReporterTest.patch" + "${FILESDIR}/testng-7.11.0-SkipFrom-GroovyTest.patch" + "${FILESDIR}/testng-7.11.0-SkipFrom-GuiceTest.patch" + "${FILESDIR}/testng-7.11.0-SkipFrom-HookableTest.patch" + "${FILESDIR}/testng-7.11.0-SkipFrom-JitBindingTest.patch" + "${FILESDIR}/testng-7.11.0-SkipFrom-ScriptTest.patch" + "${FILESDIR}/testng-7.11.0-SkipFrom-XmlSuiteTest.patch" + "${FILESDIR}/testng-7.11.0-SkipFrom-YamlTest.patch" + "${FILESDIR}/testng-7.12.0-SkipFrom-XmlVerifyTest.patch" +) + +JAVA_AUTOMATIC_MODULE_NAME="org.testng" +JAVA_MAIN_CLASS="org.testng.TestNG" +JAVA_RESOURCE_DIRS="testng-core/src/main/resources" +JAVA_SRC_DIR=( + testng-asserts/src/main/java + testng-collections/src/main/java + testng-core-api/src/main/java + testng-core/src/main/java + testng-reflection-utils/src/main/java + testng-runner-api/src/main/java +) + +JAVA_TEST_EXTRA_ARGS=( -Dtest.resources.dir=src/test/resources ) +JAVA_TEST_GENTOO_CLASSPATH="assertj-core bsh commons-io guice javax-inject jetbrains-annotations junit-4 mockito shrinkwrap-api shrinkwrap-impl-base slf4j-simple xmlunit-core" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" +JAVA_TEST_RUN_ONLY="testng-core/src/test/resources/testng.xml" +JAVA_TEST_SRC_DIR=( + testng-core/src/test + testng-asserts/src/test + testng-test-kit/src/main/java +# testng-test-osgi/src/test/java # error: package org.ops4j.pax.exam does not exist +) + +src_unpack () { + # do not unpack anything except testng + unpack "${P}.tar.gz" +} + +src_prepare() { + java-pkg-2_src_prepare + java-pkg_clean ! -path "./testng-core/src/test/*" + mkdir -p src/test || die + cp -vr testng-core/src/test/resources src/test || die "move test resources" + mkdir -p build/resources/test || die + cp {testng-core/src/test/resources,build/resources/test}/2532.xml || die +} + +src_test() { + # import org.netbeans.lib.profiler.heap.HeapFactory2 # error: unresolved reference 'HeapFactory2' + # Tried with 'org-netbeans-lib-profiler-2.2.0.jar' which contains 'HeapFactory' but not 'HeapFactory2'. + rm testng-core/src/test/kotlin/org/testng/dataprovider/DynamicDataProviderLoadingTest.kt || die + # With a patch we also remove it from testng-core/src/test/resources/testng.xml + + # Removing the above file leads to: + # import org.testng.dataprovider.DynamicDataProviderLoadingTest + # error: unresolved reference 'DynamicDataProviderLoadingTest'. + rm testng-core/src/test/kotlin/org/testng/dataprovider/sample/issue2724/SampleDPUnloaded.kt || die + + # Almost all tests want to 'import test.SimpleBaseTest;'. In the past this was + # built from 'SimpleBaseTest.java' which was changed to 'SimpleBaseTest.kt'. + + # Step 1 creates a list of sources to be processed with 'kotlinc' + # (the kotlin compiler), then lets it create the classes. + unzip -q "${DISTDIR}/kotlin-compiler-${KCV}.zip" || die "unzip kotlin" + local CP="${DISTDIR}/jlibs-core-${JCV}.jar" + find ${JAVA_TEST_SRC_DIR[@]} \ + -type f \( -name '*.kt' -o -name '*.java' \) \ + > testng_kotlinc_sources || die "find for kotlinc" + einfo "Running kotlinc" + kotlinc/bin/kotlinc \ + -cp "${PN}.jar:${CP}:$(java-pkg_getjars --build-only assertj-core)" \ + -d generated-test @testng_kotlinc_sources || die "kotlinc" + + # Step 2 creates a few classes which are needed for processing '*.groovy' sources. + find ${JAVA_TEST_SRC_DIR[@]} -type f -name 'InvokedMethodNameListener.java' \ + > testng_ejavac_sources || die "find" + einfo "Running ejavac" + ejavac \ + -cp "${PN}.jar:generated-test:$(java-pkg_getjars --build-only guava)" \ + -d generated-test @testng_ejavac_sources + + # Step 3 creates a list of '*.groovy' sources and passes it to + # groovyc (the groovy compiler) for creating the classes. + unzip -q "${DISTDIR}/apache-groovy-binary-${AGV}.zip" || die + find ${JAVA_TEST_SRC_DIR[@]} -type f -name '*.groovy' \ + > testng_groovy_sources || die "find" + einfo "Running groovyc" + "groovy-${AGV}/bin/groovyc" \ + -cp generated-test:"$(java-pkg_getjars --build-only assertj-core)" \ + -d generated-test @testng_groovy_sources || die + + # Step 4 finally builds all remaining test-classes and runs the tests. + JAVA_GENTOO_CLASSPATH_EXTRA="${DISTDIR}/groovy-${GAV}.jar" + JAVA_GENTOO_CLASSPATH_EXTRA+=":kotlinc/lib/kotlin-stdlib.jar" + JAVA_GENTOO_CLASSPATH_EXTRA+=":kotlinc/lib/kotlin-reflect.jar" + JAVA_TEST_EXTRA_ARGS=( -Dtest.resources.dir=src/test/resources ) + java-pkg-simple_src_test +} + +src_install() { + java-pkg-simple_src_install + + java-pkg_newjar "${DISTDIR}/jquery-${JQV}.jar" jquery.jar + java-pkg_regjar "${ED}/usr/share/${PN}/lib/jquery.jar" + + java-pkg_register-dependency jsr305 +} |
