summaryrefslogtreecommitdiff
path: root/dev-java
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-23 13:59:28 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-23 13:59:28 +0000
commit1ffbeeb1643e9197d8a58c65a1d76bbaf3656292 (patch)
tree2cb5d912afaf290c355b58f8a7334b0e6c5277f0 /dev-java
parent7819ef4baadbb9171070ce385f7051989fe64e49 (diff)
gentoo auto-resync : 23:12:2022 - 13:59:28
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/Manifest.gzbin55986 -> 56475 bytes
-rw-r--r--dev-java/commons-junit4/Manifest3
-rw-r--r--dev-java/commons-junit4/commons-junit4-1.2.17.ebuild39
-rw-r--r--dev-java/commons-junit4/metadata.xml10
-rw-r--r--dev-java/commons-nullanalysis/Manifest3
-rw-r--r--dev-java/commons-nullanalysis/commons-nullanalysis-1.2.17.ebuild24
-rw-r--r--dev-java/commons-nullanalysis/metadata.xml10
-rw-r--r--dev-java/janino/Manifest2
-rw-r--r--dev-java/janino/janino-3.1.8.ebuild101
-rw-r--r--dev-java/jdisasm/Manifest3
-rw-r--r--dev-java/jdisasm/jdisasm-1.0.6.ebuild110
-rw-r--r--dev-java/jdisasm/metadata.xml7
12 files changed, 312 insertions, 0 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz
index 0b432b40f2ac..b885a55b64fb 100644
--- a/dev-java/Manifest.gz
+++ b/dev-java/Manifest.gz
Binary files differ
diff --git a/dev-java/commons-junit4/Manifest b/dev-java/commons-junit4/Manifest
new file mode 100644
index 000000000000..e744886ff406
--- /dev/null
+++ b/dev-java/commons-junit4/Manifest
@@ -0,0 +1,3 @@
+DIST unkrig-commons1.2.17.tar.gz 2187066 BLAKE2B 29addd6ba41edf475ff878c15a40ee328682fc7d458fae4f745e20cd00afbaa99a8f202e0d285a81a45e47177944d8dcce2e30d6f3c74d2374b46f34c5813dff SHA512 dd8652bcffd62aa847e7c36358de8eecca66f731f06da504cbdcb29f55608e384db2e0d9a7847773423d82d7ae9f3bf75e07142c95ae0ec758f15e5a3020db99
+EBUILD commons-junit4-1.2.17.ebuild 838 BLAKE2B cd36c050966055367b50cc7482dec96972a0425e3468d0c8f379898b123af0d044bdc212e6f77a5a55167c9831faf142e8adc7399bbda569e094e5f55e508972 SHA512 61332054b777968960a8e6d4417d465fbf2ef8e6f6de7ecbd3b170c244986a17040e390c18b47a6440b11532d40140a4f31618bac455610f6060e2e952304b60
+MISC metadata.xml 297 BLAKE2B 0790cfad4115f6cd8b3d39aa0817a5248a6c815af9ee21d0547e0eb0f851e266608816d73303110872de0b38611ab3ad1324394de157155eaf154a36aa532570 SHA512 b91d7935a2b313790f0c40d536826fc7a4948b67a29ef0cbe26cc1ea7b5a8dfd50a9ff5dc70b6efce718e3e203e693fd747c1c1a0b7e8463aaf66b916551e20f
diff --git a/dev-java/commons-junit4/commons-junit4-1.2.17.ebuild b/dev-java/commons-junit4/commons-junit4-1.2.17.ebuild
new file mode 100644
index 000000000000..978b35a7b5f3
--- /dev/null
+++ b/dev-java/commons-junit4/commons-junit4-1.2.17.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="de.unkrig.commons:commons-junit4:1.2.17"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Assertions etc. for those who write tests with JUNIT 4"
+HOMEPAGE="https://unkrig.de/w/Commons.unkrig.de"
+SRC_URI="https://github.com/aunkrig/commons/archive/V${PV}.tar.gz -> unkrig-commons${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+CP_DEPEND="
+ ~dev-java/commons-nullanalysis-${PV}:0
+ dev-java/junit:4
+"
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ ${CP_DEPEND}
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+ ${CP_DEPEND}"
+
+S="${WORKDIR}/commons-${PV}/commons-junit4"
+
+JAVA_SRC_DIR="src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_SRC_DIR="src/test/java"
diff --git a/dev-java/commons-junit4/metadata.xml b/dev-java/commons-junit4/metadata.xml
new file mode 100644
index 000000000000..4fc465e4c3e9
--- /dev/null
+++ b/dev-java/commons-junit4/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">aunkrig/commons</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/commons-nullanalysis/Manifest b/dev-java/commons-nullanalysis/Manifest
new file mode 100644
index 000000000000..059ff8cbd708
--- /dev/null
+++ b/dev-java/commons-nullanalysis/Manifest
@@ -0,0 +1,3 @@
+DIST unkrig-commons1.2.17.tar.gz 2187066 BLAKE2B 29addd6ba41edf475ff878c15a40ee328682fc7d458fae4f745e20cd00afbaa99a8f202e0d285a81a45e47177944d8dcce2e30d6f3c74d2374b46f34c5813dff SHA512 dd8652bcffd62aa847e7c36358de8eecca66f731f06da504cbdcb29f55608e384db2e0d9a7847773423d82d7ae9f3bf75e07142c95ae0ec758f15e5a3020db99
+EBUILD commons-nullanalysis-1.2.17.ebuild 646 BLAKE2B 4c3b12e492ba2c05d44e74baf45e06ddafd62211e7afc9f2fc95283ca06a877dd41a0f99dbfa61db5bd11f0b24345970050230cbd6d9c9a8aebf62239febf68b SHA512 779546bf8857eff5d07c59793d44e630745752fe1642ebd60d5d7a39389da1be6aefeecf3ed63af39a1d079242932acc9fc2d08eea5aff5bff6c1f1a3f1c6f60
+MISC metadata.xml 297 BLAKE2B 0790cfad4115f6cd8b3d39aa0817a5248a6c815af9ee21d0547e0eb0f851e266608816d73303110872de0b38611ab3ad1324394de157155eaf154a36aa532570 SHA512 b91d7935a2b313790f0c40d536826fc7a4948b67a29ef0cbe26cc1ea7b5a8dfd50a9ff5dc70b6efce718e3e203e693fd747c1c1a0b7e8463aaf66b916551e20f
diff --git a/dev-java/commons-nullanalysis/commons-nullanalysis-1.2.17.ebuild b/dev-java/commons-nullanalysis/commons-nullanalysis-1.2.17.ebuild
new file mode 100644
index 000000000000..cf6c5a7325f4
--- /dev/null
+++ b/dev-java/commons-nullanalysis/commons-nullanalysis-1.2.17.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="de.unkrig.commons:commons-nullanalysis:1.2.17"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Annotations and utility classes for ECLIPSE annotation-base null analysis"
+HOMEPAGE="https://unkrig.de/w/Commons.unkrig.de"
+SRC_URI="https://github.com/aunkrig/commons/archive/V${PV}.tar.gz -> unkrig-commons${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=">=virtual/jdk-1.8:*"
+RDEPEND=">=virtual/jre-1.8:*"
+
+S="${WORKDIR}/commons-${PV}/commons-nullanalysis"
+
+JAVA_SRC_DIR="src/main/java"
diff --git a/dev-java/commons-nullanalysis/metadata.xml b/dev-java/commons-nullanalysis/metadata.xml
new file mode 100644
index 000000000000..4fc465e4c3e9
--- /dev/null
+++ b/dev-java/commons-nullanalysis/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">aunkrig/commons</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/janino/Manifest b/dev-java/janino/Manifest
index 77e62a7ebfd1..5f7b3281395e 100644
--- a/dev-java/janino/Manifest
+++ b/dev-java/janino/Manifest
@@ -1,3 +1,5 @@
DIST janino-3.1.7.tar.gz 1747439 BLAKE2B 6e42a9d5cc079c2cf17b76c1d76420ff3fa0027b54736f23e0aa2c5062f4dad19c1ac7efa678fa06cee369a01125a64a4ee32e4120e60ecd8a56d47aa4f69503 SHA512 541925fc10f5fbefde45e60cec1925e3d6f5b7244a6b9de251b5483224bee05c16182e2bf137a00349cbdb6c209ce18b2203ca066e5a7a1f146efa255f5f7799
+DIST janino-3.1.8.tar.gz 1753540 BLAKE2B 4fe3031133d9f4e9f20ffb559b9785399de8c5908abc97894eb63d7b16c197fc27763c274da7163e2bb3c5552bb5bbc9ae69da88d87da5b1c061baa2358d1441 SHA512 d79e68351f42069eb32974b0ba68e70a5510950ec04bfab49d4000310e487f3d4a3f50f0cc06d158830530d3cdb2cf9d68b291acea2218ad21f34c280604dad7
EBUILD janino-3.1.7.ebuild 2531 BLAKE2B caf33b93b566fae939db016e12aac84d89be6c7ca0d876a7fdf660584873637d0ec2557997195e641c10608b8cfe918c2506284ea7afa586fef31ead7efdbc48 SHA512 705a2509e4d16abab317edbae29dd688b99ff1eab1c832a8503d33b03d1d76dc9e90db0908c70d5e92faf2502b84ad64ea311d5abcab1cba9e05387bceda3a14
+EBUILD janino-3.1.8.ebuild 2517 BLAKE2B 76366cd77760727a42fd1b79cb33380689a7f7322a3e2b0be3fd1fa0b8224e99b0d71c5a9b25e3a986f40be3755a49cd61594eec8f8a222017cd9e356f35bfb7 SHA512 120c0fe3f2fac43b4725c581a5a413232f0f7a7960f0a5d65586dbaa1fa32a25d417d044a2b3a8299dd87261ec4e85d029867f6ff69d73b34b8c0c7d2a9fec1d
MISC metadata.xml 402 BLAKE2B 24ce6bf4574089a37f3f65f463269ffaa05cc5491b630b69ce205d62967d9dda038caa1af286974c908921c57819e59c4f63a1377c3c6d4dc5ab87fbc20286da SHA512 c26dddfc7e65fcfe8cd2d359acecc410592cbe1b73453110b3c27b360676d3ecdd247e05c936bef1125d19d97e78ccaeaff9707f52be882e5dd14b9b1b04df56
diff --git a/dev-java/janino/janino-3.1.8.ebuild b/dev-java/janino/janino-3.1.8.ebuild
new file mode 100644
index 000000000000..d4e4b2388cb3
--- /dev/null
+++ b/dev-java/janino/janino-3.1.8.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom janino/pom.xml --download-uri https://github.com/janino-compiler/janino/archive/refs/tags/v3.1.8.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild janino-3.1.8.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.codehaus.janino:janino:3.1.8"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="An embedded compiler for run-time compilation purposes"
+HOMEPAGE="https://janino-compiler.github.io/janino/"
+SRC_URI="https://github.com/janino-compiler/janino/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# Compile dependencies
+# POM: ${PN}/pom.xml
+# org.apache.ant:ant:1.10.11 -> !!!suitable-mavenVersion-not-found!!!
+# POM: ${PN}/pom.xml
+# test? de.unkrig.jdisasm:jdisasm:1.0.6 -> !!!groupId-not-found!!!
+# test? junit:junit:4.13.1 -> >=dev-java/junit-4.13.2:4
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ dev-java/ant-core:0
+ test? (
+ dev-java/jdisasm:0
+ )
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*"
+
+S="${WORKDIR}/${P}/janino"
+
+src_prepare() {
+ default
+ java-pkg_clean
+}
+
+src_compile() {
+ JAVA_JAR_FILENAME="commons-compiler.jar"
+ JAVA_SRC_DIR="../commons-compiler/src/main/java"
+ java-pkg-simple_src_compile
+ JAVA_GENTOO_CLASSPATH_EXTRA+=":commons-compiler.jar"
+ rm -r target || die
+
+ JAVA_CLASSPATH_EXTRA="ant-core"
+ JAVA_JAR_FILENAME="janino.jar"
+ JAVA_RESOURCE_DIRS="src/main/resources"
+ JAVA_SRC_DIR="src/main/java"
+ java-pkg-simple_src_compile
+ JAVA_GENTOO_CLASSPATH_EXTRA+=":janino.jar"
+ rm -r target || die
+
+ if use doc; then
+ JAVA_SRC_DIR=(
+ "../commons-compiler/src/main/java"
+ "src/main/java"
+ )
+ JAVA_JAR_FILENAME="ignoreme.jar"
+ java-pkg-simple_src_compile
+ fi
+}
+
+src_test() {
+ einfo "Testing commons-compiler"
+ JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+ JAVA_TEST_RESOURCE_DIRS="../commons-compiler/src/test/resources"
+ JAVA_TEST_SRC_DIR="../commons-compiler/src/test/java"
+ java-pkg-simple_src_test
+
+ einfo "Testing janino"
+ JAVA_TEST_GENTOO_CLASSPATH="jdisasm,junit-4"
+ JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+ JAVA_TEST_SRC_DIR="src/test/java"
+ java-pkg-simple_src_test
+}
+
+src_install() {
+ default
+
+ java-pkg_dojar "commons-compiler.jar"
+ java-pkg_dojar "janino.jar"
+
+ if use doc; then
+ java-pkg_dojavadoc target/api
+ fi
+
+ if use source; then
+ java-pkg_dosrc "../commons-compiler/src/main/java/*"
+ java-pkg_dosrc "src/main/java/*"
+ fi
+}
diff --git a/dev-java/jdisasm/Manifest b/dev-java/jdisasm/Manifest
new file mode 100644
index 000000000000..965dafa4c943
--- /dev/null
+++ b/dev-java/jdisasm/Manifest
@@ -0,0 +1,3 @@
+DIST jdisasm-1.0.6.tar.gz 60275 BLAKE2B 75231659b51891df37dbc74a150a26ca6ee661f3bc1a5674c99c9ff9b37850f68cba893922e2549fb2b05ec82e479d5b348b6018f2ac6689fd764ebb8d19bbbb SHA512 3c006ae74e7ada7a987a68cbdc0e99694290a3ad984a2d9985a9484c6dea4be08eb48cc66cbeb81b56ff875ad3c2d6ed20a57646d29ab5a6d2d39ae5a939f841
+EBUILD jdisasm-1.0.6.ebuild 2786 BLAKE2B 42ae025316619c31ac15b817f4bacf2a9e0773d040a53e0180a7c842fda74dd61fe61f4a6c89e1ddb5346c367c48cfb3d86196703f66a806d363cbcf999e9619 SHA512 bdeea938425ce301055b7aa48eb97ba9f31bb8c898356e26ff89725ecf40efdf106ab3366d5ad949d25895090c61c62c82c52dd21c0f3a8b253e5dc5e39ddddf
+MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6
diff --git a/dev-java/jdisasm/jdisasm-1.0.6.ebuild b/dev-java/jdisasm/jdisasm-1.0.6.ebuild
new file mode 100644
index 000000000000..0191e918c661
--- /dev/null
+++ b/dev-java/jdisasm/jdisasm-1.0.6.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/aunkrig/jdisasm/archive/5e354d659e4320d154b3f1fbff24c89c1ba48987.tar.gz --slot 0 --keywords "~amd64" --ebuild jdisasl-1.0.6.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="de.unkrig.jdisasm:jdisasm:1.0.6"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A disassembler for Java .class files"
+HOMEPAGE="https://github.com/aunkrig/jdisasm"
+MY_COMMIT="5e354d659e4320d154b3f1fbff24c89c1ba48987"
+SRC_URI="https://github.com/aunkrig/jdisasm/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# There was 1 failure:
+# 1) testWideLocals(jdisasm.Tests)
+# java.lang.AssertionError: regex [(?m)^ iload_2 \[int l1\]$] not found in [
+# // *** Disassembly of 'target/test-classes/subject/WideLocals.class'.
+#
+# // Class file version = 52.0 (Java 8)
+#
+# package subject;
+#
+# public class WideLocals extends Object {
+#
+# public WideLocals() {
+# // Line 35
+# aload_0 [this]
+# invokespecial Object()
+# return
+# }
+#
+# public int methodWithOnlyAFewLocals(int p0) {
+# // Line 39
+# iconst_2
+# iload_1 [p0]
+# imul
+# istore_2 [v2]
+# // Line 40
+# iload_2 [v2]
+# ireturn
+# }
+#
+# public int methodWithManyLocals(int p0) {
+# // Line 79
+# iconst_3
+# istore [v202]
+# // Line 80
+# iconst_4
+# wide istore [v272]
+# // Line 81
+# iload_1 [p0]
+# ireturn
+# }
+# }
+# ]
+# at org.junit.Assert.fail(Assert.java:89)
+# at de.unkrig.commons.junit4.AssertRegex.assertFind(AssertRegex.java:182)
+# at de.unkrig.commons.junit4.AssertRegex.assertFind(AssertRegex.java:169)
+# at jdisasm.Tests.testWideLocals(Tests.java:44)
+#
+# FAILURES!!!
+# Tests run: 1, Failures: 1
+RESTRICT="test"
+
+# Common dependencies
+# POM: pom.xml
+# de.unkrig.commons:commons-nullanalysis:1.2.13 -> >=dev-java/commons-nullanalysis-1.2.17:0
+
+CP_DEPEND="
+ dev-java/commons-nullanalysis:0
+"
+
+# Compile dependencies
+# POM: pom.xml
+# test? de.unkrig.commons:commons-junit4:1.2.13 -> >=dev-java/commons-junit4-1.2.17:0
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ ${CP_DEPEND}
+ test? (
+ dev-java/commons-junit4:0
+ )
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+ ${CP_DEPEND}"
+
+S="${WORKDIR}/jdisasm-${MY_COMMIT}/jdisasm"
+
+JAVA_SRC_DIR="src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="commons-junit4"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+src_test() {
+ # but it doesn't help :-(
+ export LANG="C" LC_ALL="C"
+ java-pkg-simple_src_test
+}
diff --git a/dev-java/jdisasm/metadata.xml b/dev-java/jdisasm/metadata.xml
new file mode 100644
index 000000000000..75321cfb5598
--- /dev/null
+++ b/dev-java/jdisasm/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>