summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2022-08-10 19:08:05 +0200
committerFlorian Schmaus <flow@gentoo.org>2022-09-05 20:44:59 +0200
commit3180b6052f4d9e386c3d67714e310a67e8a6a773 (patch)
tree72de35623cbe990f30bacb591087b7c7744ad213 /dev-java
parentsys-kernel/gentoo-kernel-bin: Bump to 5.19.7 (diff)
downloadgentoo-3180b6052f4d9e386c3d67714e310a67e8a6a773.tar.gz
gentoo-3180b6052f4d9e386c3d67714e310a67e8a6a773.tar.bz2
gentoo-3180b6052f4d9e386c3d67714e310a67e8a6a773.zip
dev-java/hamcrest-generator: use SRC_URI from Github, update EAPI 7 -> 8
* Switch to java-pkg-simple.eclass * EAPI 7 -> 8 * Add 'doc' to JAVA_PKG_IUSE * Drop useless 'test' from JAVA_PKG_IUSE (seems to do nothing in -r3) * https for HOMEPAGE * SRC_URI, use github instead of mirror://gentoo Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/hamcrest-generator/Manifest1
-rw-r--r--dev-java/hamcrest-generator/hamcrest-generator-1.3-r4.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-java/hamcrest-generator/Manifest b/dev-java/hamcrest-generator/Manifest
index 480364f4e8f4..42f381d82b57 100644
--- a/dev-java/hamcrest-generator/Manifest
+++ b/dev-java/hamcrest-generator/Manifest
@@ -1 +1,2 @@
DIST hamcrest-1.3.tgz 3686096 BLAKE2B 38ff91a524064cb00b4d2e82c0a50a2df870bbb0a6e43055f33ce344a1dc8de3760530652691db26aa42890d8517940c038a570b5acaaf91b7e970aca7df3493 SHA512 5672bc627bc71d6fd64b6f776b89ac16ed68819fa4a0748c1250b57f1065c1e7e18ba184d9fe3392e54000ddeb353d0d8d67f4eecdf464974563f05c6b226fc2
+DIST hamcrest-java-1.3.tar.gz 2007925 BLAKE2B 7d54f056814ba30d669e171f00c31e71a0aaea37d345fa93d0c88afb8c3f916180ba699c2cee9219504c3e931b4f4548d708c927cf2caf483847f217c22c7cdf SHA512 4356df7b5b78f821847fde027b416b49b8456e84ab2ec98c2982adf54e2bdc01a5ca2c2b5425620c5ee34bfe3f95ea43c77190504f76ddc9f8b93b137a4ca54b
diff --git a/dev-java/hamcrest-generator/hamcrest-generator-1.3-r4.ebuild b/dev-java/hamcrest-generator/hamcrest-generator-1.3-r4.ebuild
new file mode 100644
index 000000000000..401c4fb05f9a
--- /dev/null
+++ b/dev-java/hamcrest-generator/hamcrest-generator-1.3-r4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 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
+
+DESCRIPTION="Code generator for Hamcrest's library of matchers for building test expressions"
+HOMEPAGE="https://hamcrest.org/JavaHamcrest/"
+SRC_URI="https://github.com/hamcrest/JavaHamcrest/archive/hamcrest-java-${PV}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~ppc-macos ~x64-macos"
+
+CP_DEPEND="dev-java/qdox:1.12"
+
+DEPEND=">=virtual/jdk-1.8:*
+ ${CP_DEPEND}"
+
+RDEPEND=">=virtual/jre-1.8:*
+ ${CP_DEPEND}"
+
+S="${WORKDIR}/JavaHamcrest-hamcrest-java-${PV}"
+
+JAVA_SRC_DIR="${PN}/src/main/java"