diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-12-23 12:52:13 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-12-23 12:52:13 +0000 |
| commit | 60c474b4849adab50b70b7cfbe81da8305056a0c (patch) | |
| tree | 64ea48a788a96b02782173a46dc1cfdcb12d7997 /dev-java | |
| parent | b2c3200882b55698cc652446041af86bc4585094 (diff) | |
| download | baldeagleos-repo-60c474b4849adab50b70b7cfbe81da8305056a0c.tar.gz baldeagleos-repo-60c474b4849adab50b70b7cfbe81da8305056a0c.tar.xz baldeagleos-repo-60c474b4849adab50b70b7cfbe81da8305056a0c.zip | |
Adding metadata
Diffstat (limited to 'dev-java')
| -rw-r--r-- | dev-java/commons-junit4/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/commons-junit4/commons-junit4-1.2.17.ebuild | 39 | ||||
| -rw-r--r-- | dev-java/commons-junit4/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-java/commons-nullanalysis/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/commons-nullanalysis/commons-nullanalysis-1.2.17.ebuild | 24 | ||||
| -rw-r--r-- | dev-java/commons-nullanalysis/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-java/janino/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/janino/janino-3.1.8.ebuild | 101 | ||||
| -rw-r--r-- | dev-java/jdisasm/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/jdisasm/jdisasm-1.0.6.ebuild | 110 | ||||
| -rw-r--r-- | dev-java/jdisasm/metadata.xml | 9 |
11 files changed, 305 insertions, 0 deletions
diff --git a/dev-java/commons-junit4/Manifest b/dev-java/commons-junit4/Manifest new file mode 100644 index 000000000000..081aa48e41a9 --- /dev/null +++ b/dev-java/commons-junit4/Manifest @@ -0,0 +1 @@ +DIST unkrig-commons1.2.17.tar.gz 2187066 BLAKE2B 29addd6ba41edf475ff878c15a40ee328682fc7d458fae4f745e20cd00afbaa99a8f202e0d285a81a45e47177944d8dcce2e30d6f3c74d2374b46f34c5813dff SHA512 dd8652bcffd62aa847e7c36358de8eecca66f731f06da504cbdcb29f55608e384db2e0d9a7847773423d82d7ae9f3bf75e07142c95ae0ec758f15e5a3020db99 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..a63267abaf71 --- /dev/null +++ b/dev-java/commons-junit4/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/commons-nullanalysis/Manifest b/dev-java/commons-nullanalysis/Manifest new file mode 100644 index 000000000000..081aa48e41a9 --- /dev/null +++ b/dev-java/commons-nullanalysis/Manifest @@ -0,0 +1 @@ +DIST unkrig-commons1.2.17.tar.gz 2187066 BLAKE2B 29addd6ba41edf475ff878c15a40ee328682fc7d458fae4f745e20cd00afbaa99a8f202e0d285a81a45e47177944d8dcce2e30d6f3c74d2374b46f34c5813dff SHA512 dd8652bcffd62aa847e7c36358de8eecca66f731f06da504cbdcb29f55608e384db2e0d9a7847773423d82d7ae9f3bf75e07142c95ae0ec758f15e5a3020db99 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..a63267abaf71 --- /dev/null +++ b/dev-java/commons-nullanalysis/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-java/janino/Manifest b/dev-java/janino/Manifest index fb07b1534b7c..98ab4e04aed5 100644 --- a/dev-java/janino/Manifest +++ b/dev-java/janino/Manifest @@ -1 +1,2 @@ DIST janino-3.1.7.tar.gz 1747439 BLAKE2B 6e42a9d5cc079c2cf17b76c1d76420ff3fa0027b54736f23e0aa2c5062f4dad19c1ac7efa678fa06cee369a01125a64a4ee32e4120e60ecd8a56d47aa4f69503 SHA512 541925fc10f5fbefde45e60cec1925e3d6f5b7244a6b9de251b5483224bee05c16182e2bf137a00349cbdb6c209ce18b2203ca066e5a7a1f146efa255f5f7799 +DIST janino-3.1.8.tar.gz 1753540 BLAKE2B 4fe3031133d9f4e9f20ffb559b9785399de8c5908abc97894eb63d7b16c197fc27763c274da7163e2bb3c5552bb5bbc9ae69da88d87da5b1c061baa2358d1441 SHA512 d79e68351f42069eb32974b0ba68e70a5510950ec04bfab49d4000310e487f3d4a3f50f0cc06d158830530d3cdb2cf9d68b291acea2218ad21f34c280604dad7 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..4d200cc3b0ed --- /dev/null +++ b/dev-java/jdisasm/Manifest @@ -0,0 +1 @@ +DIST jdisasm-1.0.6.tar.gz 60275 BLAKE2B 75231659b51891df37dbc74a150a26ca6ee661f3bc1a5674c99c9ff9b37850f68cba893922e2549fb2b05ec82e479d5b348b6018f2ac6689fd764ebb8d19bbbb SHA512 3c006ae74e7ada7a987a68cbdc0e99694290a3ad984a2d9985a9484c6dea4be08eb48cc66cbeb81b56ff875ad3c2d6ed20a57646d29ab5a6d2d39ae5a939f841 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..a63267abaf71 --- /dev/null +++ b/dev-java/jdisasm/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file |
