gentoo/dev-java/hamcrest-core/hamcrest-core-1.1-r5.ebuild
Fabian Groffen 2d25fad95c
*/*: drop *-linux keywords
Bug: https://bugs.gentoo.org/473598
Bug: https://bugs.gentoo.org/720224
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2025-12-19 10:51:55 +01:00

41 lines
830 B
Bash

# 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 ~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_src_prepare
java-pkg_clean
}