Diff java-getopt-1.0.14-r1 with a java-getopt-1.0.14-r2

/usr/portage/dev-java/java-getopt/java-getopt-1.0.14-r2.ebuild 2023-10-09 14:52:29.428368349 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
JAVA_PKG_IUSE="doc source"
7
MAVEN_ID="gnu.getopt:java-getopt:§{PV}"
7 8

  
8
inherit java-pkg-2 java-ant-2
9
inherit java-pkg-2 java-pkg-simple
9 10

  
10 11
DESCRIPTION="Java command line option parser"
11 12
HOMEPAGE="https://www.urbanophile.com/arenn/hacking/download.html"
......
13 14

  
14 15
LICENSE="LGPL-2.1"
15 16
SLOT="1"
16
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
17
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
17 18

  
18 19
DEPEND=">=virtual/jdk-1.8:*"
19 20
RDEPEND=">=virtual/jre-1.8:*"
20 21

  
21
S="${WORKDIR}"
22
DOCS=( gnu/getopt/{COPYING.LIB,ChangeLog,LANGUAGES,README} )
22 23

  
23
src_prepare() {
24
	default
25
	mv gnu/getopt/buildx.xml build.xml || die
26
}
24
JAVA_RESOURCE_DIRS="resources"
25
JAVA_SRC_DIR="gnu/getopt"
27 26

  
28
src_install() {
29
	java-pkg_dojar build/lib/gnu.getopt.jar
30
	dodoc gnu/getopt/COPYING.LIB gnu/getopt/ChangeLog gnu/getopt/README
31
	use doc && java-pkg_dojavadoc build/api
32
	use source && java-pkg_dosrc gnu
27
src_prepare() {
28
	java-pkg-2_src_prepare
29
		mkdir resources || die
30
		find gnu/getopt -type f -name '*.properties' \
31
		| xargs cp --parent -t resources || die
33 32
}
Thank you!