diff options
Diffstat (limited to 'dev-java')
| -rw-r--r-- | dev-java/byte-buddy/byte-buddy-1.12.13.ebuild | 2 | ||||
| -rw-r--r-- | dev-java/fishbowl/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/fishbowl/fishbowl-1.4.1.ebuild | 53 | ||||
| -rw-r--r-- | dev-java/fishbowl/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-java/log4j-core/log4j-core-2.18.0-r1.ebuild | 2 | ||||
| -rw-r--r-- | dev-java/snappy/snappy-1.1.7.8-r1.ebuild | 2 | ||||
| -rw-r--r-- | dev-java/system-rules/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/system-rules/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-java/system-rules/system-rules-1.19.0.ebuild | 58 |
9 files changed, 134 insertions, 3 deletions
diff --git a/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild index 19a18b9b4eae..110d7f1784f3 100644 --- a/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild +++ b/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild @@ -18,7 +18,7 @@ SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" DEPEND=" >=virtual/jdk-11:* diff --git a/dev-java/fishbowl/Manifest b/dev-java/fishbowl/Manifest new file mode 100644 index 000000000000..4175f48650ea --- /dev/null +++ b/dev-java/fishbowl/Manifest @@ -0,0 +1 @@ +DIST fishbowl-1.4.1.tar.gz 54572 BLAKE2B 75adfbbdf8c2d48ba6ca52d223f87d840e938514183f01bdb6b505a9cfd3485414d32d63f8f1cfc303c3a431c32e1accc9d319003f82b84016a621c8324f70b8 SHA512 9040bc8bad19457a828a88cdbe448ecbb6af6af279db58a4447670cd8a32cacf30d01ea0bc6614f75e3bfd6bf73e0bce06f33014d22e9963fd9e46fbcd2c94c9 diff --git a/dev-java/fishbowl/fishbowl-1.4.1.ebuild b/dev-java/fishbowl/fishbowl-1.4.1.ebuild new file mode 100644 index 000000000000..9f5b7717ade0 --- /dev/null +++ b/dev-java/fishbowl/fishbowl-1.4.1.ebuild @@ -0,0 +1,53 @@ +# 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/stefanbirkner/fishbowl/archive/fishbowl-1.4.1.tar.gz --slot 0 --keywords "~amd64" --ebuild fishbowl-1.4.1.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="com.github.stefanbirkner:fishbowl:1.4.1" +# Tests not possible, several test dependencies are missing. +# JAVA_TESTING_FRAMEWORKS="testng junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Use the AAA pattern for writing tests for code that throws an exception" +HOMEPAGE="https://github.com/stefanbirkner/fishbowl/" +SRC_URI="https://github.com/stefanbirkner/${PN}/archive/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# Compile dependencies +# POM: pom.xml +# test? com.google.truth:truth:0.25 -> !!!groupId-not-found!!! +# test? de.bechte.junit:junit-hierarchicalcontextrunner:4.12.0 -> !!!groupId-not-found!!! +# test? junit:junit:4.12 -> >=dev-java/junit-4.13.2:4 +# test? org.assertj:assertj-core:1.7.1 -> >=dev-java/assertj-core-2.3.0:2 +# test? org.easytesting:fest-assert:1.4 -> !!!groupId-not-found!!! +# test? org.hamcrest:hamcrest-core:1.3 -> >=dev-java/hamcrest-core-1.3:1.3 +# test? org.hamcrest:hamcrest-library:1.3 -> >=dev-java/hamcrest-library-1.3:1.3 +# test? org.mockito:mockito-core:1.10.19 -> >=dev-java/mockito-4.4.0:4 +# test? org.testng:testng:6.8.17 -> !!!groupId-not-found!!! + +DEPEND=">=virtual/jdk-1.8:*" +# test? ( +# !!!groupId-not-found!!! +# >=dev-java/assertj-core-2.3.0:2 +# >=dev-java/hamcrest-core-1.3:1.3 +# >=dev-java/hamcrest-library-1.3:1.3 +# >=dev-java/mockito-4.4.0:4 +# ) +# " + +RDEPEND=">=virtual/jre-1.8:*" + +S="${WORKDIR}/${PN}-${P}" + +JAVA_SRC_DIR="src/main/java" + +# JAVA_TEST_GENTOO_CLASSPATH="!!!groupId-not-found!!!,!!!groupId-not-found!!!,junit-4,assertj-core-2,!!!groupId-not-found!!!,hamcrest-core-1.3,hamcrest-library-1.3,mockito-4,!!!groupId-not-found!!!" +# JAVA_TEST_SRC_DIR="src/test/java" diff --git a/dev-java/fishbowl/metadata.xml b/dev-java/fishbowl/metadata.xml new file mode 100644 index 000000000000..a63267abaf71 --- /dev/null +++ b/dev-java/fishbowl/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/log4j-core/log4j-core-2.18.0-r1.ebuild b/dev-java/log4j-core/log4j-core-2.18.0-r1.ebuild index 139a53d77109..833e8d09cd5f 100644 --- a/dev-java/log4j-core/log4j-core-2.18.0-r1.ebuild +++ b/dev-java/log4j-core/log4j-core-2.18.0-r1.ebuild @@ -18,7 +18,7 @@ SRC_URI="mirror://apache/logging/log4j/${PV}/apache-log4j-${PV}-src.tar.gz" LICENSE="Apache-2.0" SLOT="2" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" # We don't have junit-vintage and junit-jupiter RESTRICT="test" diff --git a/dev-java/snappy/snappy-1.1.7.8-r1.ebuild b/dev-java/snappy/snappy-1.1.7.8-r1.ebuild index a0190bc964ba..8d35ecece414 100644 --- a/dev-java/snappy/snappy-1.1.7.8-r1.ebuild +++ b/dev-java/snappy/snappy-1.1.7.8-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/xerial/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar. LICENSE="Apache-2.0" SLOT="1.1" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" # Tests require org.apache.hadoop:hadoop-common:2.7.*, which is yet to be # packaged. Some extra steps are required before running the tests: diff --git a/dev-java/system-rules/Manifest b/dev-java/system-rules/Manifest new file mode 100644 index 000000000000..bed7ffa0b465 --- /dev/null +++ b/dev-java/system-rules/Manifest @@ -0,0 +1 @@ +DIST system-rules-1.19.0.tar.gz 76900 BLAKE2B a9f9be08b930632a72af0ee851f17da875d42a08c3187b435c06dd5553afb629e41d06d87c423fecd7ea665197be19a53955e9880617aff7175310bcc2b2735d SHA512 6238a9673456977f6a2bc129f30849460954816bb4e1927f37b9c5b01f322d966c77d5a4eda9e1f0f24e51879d1946d0e121e5432b809793a9b95cb49ee35bdb diff --git a/dev-java/system-rules/metadata.xml b/dev-java/system-rules/metadata.xml new file mode 100644 index 000000000000..a63267abaf71 --- /dev/null +++ b/dev-java/system-rules/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/system-rules/system-rules-1.19.0.ebuild b/dev-java/system-rules/system-rules-1.19.0.ebuild new file mode 100644 index 000000000000..e606eb666462 --- /dev/null +++ b/dev-java/system-rules/system-rules-1.19.0.ebuild @@ -0,0 +1,58 @@ +# 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/stefanbirkner/system-rules/archive/system-rules-1.19.0.tar.gz --slot 0 --keywords "~amd64" --ebuild system-rules-1.19.0.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="com.github.stefanbirkner:system-rules:1.19.0" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A collection of JUnit rules for testing code which uses java.lang.System." +HOMEPAGE="https://stefanbirkner.github.io/system-rules/" +SRC_URI="https://github.com/stefanbirkner/${PN}/archive/${P}.tar.gz" + +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="~amd64" + +# Common dependencies +# POM: pom.xml +# junit:junit-dep:[4.9,) -> !!!artifactId-not-found!!! + +CP_DEPEND="dev-java/junit:4" + +# Compile dependencies +# POM: pom.xml +# test? com.github.stefanbirkner:fishbowl:1.4.0 -> >=dev-java/fishbowl-1.4.1:0 +# test? commons-io:commons-io:2.4 -> >=dev-java/commons-io-2.11.0:1 +# test? org.assertj:assertj-core:1.7.1 -> >=dev-java/assertj-core-2.3.0:2 +# test? org.mockito:mockito-core:1.10.19 -> >=dev-java/mockito-4.4.0:4 + +# Restricting to jdk:1.8 since it doesn't work with java 11 or higher. +DEPEND=" + virtual/jdk:1.8 + ${CP_DEPEND} + test? ( + dev-java/assertj-core:3 + dev-java/commons-io:1 + dev-java/fishbowl:0 + dev-java/mockito:4 + ) +" + +RDEPEND=" + >=virtual/jre-1.8:* + ${CP_DEPEND}" + +S="${WORKDIR}/${PN}-${P}" + +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="fishbowl,commons-io-1,assertj-core-3,mockito-4" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" |
