summaryrefslogtreecommitdiff
path: root/dev-java/hamcrest-core/hamcrest-core-1.1-r5.ebuild
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-11-07 09:54:26 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-11-12 08:52:23 +0100
commit7773197669f220bcfae37f6d867e737af4034da2 (patch)
treece2105fbbeb082c14a842b639535b41a14ad8524 /dev-java/hamcrest-core/hamcrest-core-1.1-r5.ebuild
parent279a7a6a516587b9eba7bacc5efa7b8ef6ab9d87 (diff)
downloadgentoo-7773197669f220bcfae37f6d867e737af4034da2.tar.gz
gentoo-7773197669f220bcfae37f6d867e737af4034da2.tar.bz2
gentoo-7773197669f220bcfae37f6d867e737af4034da2.zip
dev-java/hamcrest-core: style update, update EAPI 7 -> 8
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/39233/commits/59009d1f6030061bf9f6be0b79542eb797c91620 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/hamcrest-core/hamcrest-core-1.1-r5.ebuild')
-rw-r--r--dev-java/hamcrest-core/hamcrest-core-1.1-r5.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-java/hamcrest-core/hamcrest-core-1.1-r5.ebuild b/dev-java/hamcrest-core/hamcrest-core-1.1-r5.ebuild
new file mode 100644
index 000000000000..3d30d5dcadd7
--- /dev/null
+++ b/dev-java/hamcrest-core/hamcrest-core-1.1-r5.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2024 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
+
+MY_PN="hamcrest"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Library of matchers for building test expressions"
+HOMEPAGE="https://hamcrest.org/JavaHamcrest/"
+SRC_URI="https://github.com/${MY_PN}/JavaHamcrest/archive/${MY_PN}-java-${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/JavaHamcrest-${MY_PN}-java-${PV}"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="amd64 arm64 ppc64 ~amd64-linux ~x64-solaris"
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ source? ( app-arch/zip )
+"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+JAVA_SRC_DIR="${PN}/src"
+
+PATCHES=(
+ # https://bugs.gentoo.org/751379
+ "${FILESDIR}"/hamcrest-core-1.1-java-11.patch
+)
+
+src_prepare() {
+ default #780585
+ java-pkg-2_scr_prepare
+ java-pkg_clean
+}