commit:     7773197669f220bcfae37f6d867e737af4034da2
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Thu Nov  7 08:54:26 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Nov 12 07:52:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77731976

dev-java/hamcrest-core: style update, update EAPI 7 -> 8

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: 
https://github.com/gentoo/gentoo/pull/39233/commits/59009d1f6030061bf9f6be0b79542eb797c91620
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 ...rest-core-1.1-r4.ebuild => hamcrest-core-1.1-r5.ebuild} | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/dev-java/hamcrest-core/hamcrest-core-1.1-r4.ebuild 
b/dev-java/hamcrest-core/hamcrest-core-1.1-r5.ebuild
similarity index 87%
rename from dev-java/hamcrest-core/hamcrest-core-1.1-r4.ebuild
rename to dev-java/hamcrest-core/hamcrest-core-1.1-r5.ebuild
index 954a5e07b1ea..3d30d5dcadd7 100644
--- a/dev-java/hamcrest-core/hamcrest-core-1.1-r4.ebuild
+++ b/dev-java/hamcrest-core/hamcrest-core-1.1-r5.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 JAVA_PKG_IUSE="doc source"
 
@@ -13,19 +13,18 @@ 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"
 
-RDEPEND="
-       >=virtual/jre-1.8:*"
-
 DEPEND="
        >=virtual/jdk-1.8:*
-       source? ( app-arch/zip )"
+       source? ( app-arch/zip )
+"
 
-S="${WORKDIR}/JavaHamcrest-${MY_PN}-java-${PV}"
+RDEPEND=">=virtual/jre-1.8:*"
 
 JAVA_SRC_DIR="${PN}/src"
 
@@ -35,6 +34,7 @@ PATCHES=(
 )
 
 src_prepare() {
-       default
+       default #780585
+       java-pkg-2_scr_prepare
        java-pkg_clean
 }

Reply via email to