Сравнение jaxb-api-3.0.1-r1 с jaxb-api-4.0.0

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

  
4
# Skeleton command:
5
# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/eclipse-ee4j/jaxb-api/archive/refs/tags/3.0.1.tar.gz --slot 2 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jaxb-api-3.0.1.ebuild
6

  
7 4
EAPI=8
8 5

  
9
JAVA_PKG_IUSE="doc source"
10
MAVEN_ID="jakarta.xml.bind:jakarta.xml.bind-api:3.0.1"
6
JAVA_PKG_IUSE="doc source test"
7
MAVEN_ID="jakarta.xml.bind:jakarta.xml.bind-api:4.0.0"
8
JAVA_TESTING_FRAMEWORKS="junit-4"
11 9

  
12 10
inherit java-pkg-2 java-pkg-simple
13 11

  
......
16 14
SRC_URI="https://github.com/eclipse-ee4j/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
17 15

  
18 16
LICENSE="EPL-1.0"
19
SLOT="3"
17
SLOT="4"
20 18
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
21 19

  
22
# Common dependencies
23
# POM: pom.xml
24
# com.sun.activation:jakarta.activation:2.0.1 -> >=dev-java/jakarta-activation-2.0.1:2
25

  
26
CDEPEND="dev-java/jakarta-activation:2"
20
CP_DEPEND="dev-java/jakarta-activation:2"
27 21

  
28
DEPEND="${CDEPEND}
22
DEPEND="${CP_DEPEND}
29 23
	>=virtual/jdk-11:*"
30 24

  
31
RDEPEND="${CDEPEND}
25
RDEPEND="${CP_DEPEND}
32 26
	>=virtual/jre-1.8:*"
33 27

  
34
S="${WORKDIR}/${P}/${PN}"
28
DOCS=( {CONTRIBUTING,NOTICE,README}.md )
29

  
30
S="${WORKDIR}/${P}"
31

  
32
JAVA_SRC_DIR="api/src/main/java"
33
JAVA_RESOURCE_DIRS="api/src/main/resources"
34

  
35
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
36
JAVA_TEST_SRC_DIR="jaxb-api-test/src/test/java"
37
JAVA_TEST_RESOURCE_DIRS="jaxb-api-test/src/test/resources"
35 38

  
36
JAVA_GENTOO_CLASSPATH="jakarta-activation-2"
37
JAVA_SRC_DIR="src/main/java"
38
JAVA_RESOURCE_DIRS="src/main/resources"
39
src_install() {
40
	default # https://bugs.gentoo.org/789582
41
	java-pkg-simple_src_install
42
}
Спасибо!