mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 01:37:34 -08:00
After a message to gentoo-dev ML, and no reply from any user on x86, we decided to dekeyword most Java packages from x86, and reverse dependencies of them. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
56 lines
1.3 KiB
Bash
56 lines
1.3 KiB
Bash
# Copyright 2022-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
JAVA_PKG_IUSE="doc source test"
|
|
JAVA_TESTING_FRAMEWORKS="junit-4"
|
|
MAVEN_ID="jakarta.xml.soap:jakarta.xml.soap-api:1.4.2"
|
|
|
|
inherit java-pkg-2 java-pkg-simple
|
|
|
|
DESCRIPTION="SOAP with Attachments API for Java (SAAJ) API (Eclipse Project for JAX-WS)"
|
|
HOMEPAGE="https://projects.eclipse.org/projects/ee4j.jaxws"
|
|
SRC_URI="https://github.com/jakartaee/saaj-api/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/saaj-api-${PV}"
|
|
|
|
# EDL-1.0 equivalent to BSD
|
|
# - 'SPDX-License-Identifier: BSD-3-Clause' in source files' headers
|
|
# - https://www.eclipse.org/org/documents/edl-v10.php
|
|
LICENSE="BSD"
|
|
# Since version 2.0.0, the namespace has changed to jakarta.xml.soap
|
|
SLOT="1"
|
|
KEYWORDS="amd64 arm64 ppc64"
|
|
|
|
CP_DEPEND="
|
|
>=dev-java/jakarta-activation-api-1.2.2-r1:1
|
|
"
|
|
|
|
DEPEND="
|
|
>=virtual/jdk-11:*
|
|
${CP_DEPEND}
|
|
"
|
|
|
|
RDEPEND="
|
|
>=virtual/jre-1.8:*
|
|
${CP_DEPEND}
|
|
"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/jakarta-xml-soap-api-1.4.2-dropSecurityManager.patch"
|
|
)
|
|
|
|
JAVA_SRC_DIR="api/src/main/java"
|
|
|
|
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
|
JAVA_TEST_SRC_DIR="api/src/test/java"
|
|
JAVA_TEST_RESOURCE_DIRS=( "api/src/test/resources" )
|
|
JAVA_TEST_EXTRA_ARGS=( -Xbootclasspath/a:target/classes )
|
|
|
|
DOCS=( CONTRIBUTING.md NOTICE.md README.md )
|
|
|
|
src_prepare() {
|
|
default #780585
|
|
java-pkg-2_src_prepare
|
|
}
|