diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2024-10-27 09:04:13 +0100 |
---|---|---|
committer | Eli Schwartz <eschwartz@gentoo.org> | 2024-10-27 13:38:14 -0400 |
commit | d36557eb42202c3bc2dff08bd629e9b652da8ca0 (patch) | |
tree | 486e7e5dc7f72038bc0cc84168fe2edec5b1e88e /dev-java | |
parent | dev-java/commons-compress: drop 1.26.1 (diff) | |
download | gentoo-d36557eb42202c3bc2dff08bd629e9b652da8ca0.tar.gz gentoo-d36557eb42202c3bc2dff08bd629e9b652da8ca0.tar.bz2 gentoo-d36557eb42202c3bc2dff08bd629e9b652da8ca0.zip |
dev-java/cdi-api: drop 4.0.1-r2
Closes: https://bugs.gentoo.org/923599
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/cdi-api/cdi-api-4.0.1-r2.ebuild | 102 |
1 files changed, 0 insertions, 102 deletions
diff --git a/dev-java/cdi-api/cdi-api-4.0.1-r2.ebuild b/dev-java/cdi-api/cdi-api-4.0.1-r2.ebuild deleted file mode 100644 index 275c3587d5ac..000000000000 --- a/dev-java/cdi-api/cdi-api-4.0.1-r2.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom api/pom.xml --download-uri https://github.com/jakartaee/cdi/archive/4.0.1.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild cdi-api-4.0.1.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="jakarta.enterprise:jakarta.enterprise.cdi-api:4.0.1" -JAVA_TESTING_FRAMEWORKS="testng" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="APIs for CDI (Contexts and Dependency Injection for Java)" -HOMEPAGE="https://projects.eclipse.org/projects/ee4j.cdi" -SRC_URI="https://github.com/jakartaee/cdi/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64" - -EL_API_SLOT="5.0" - -DEPEND=" - dev-java/injection-api:0 - dev-java/jakarta-annotations-api:0 - dev-java/jakarta-el-api:${EL_API_SLOT} - dev-java/jakarta-interceptors:0 - >=virtual/jdk-11:* -" -RDEPEND=">=virtual/jre-11:*" - -DOCS=( CONTRIBUTING.adoc {NOTICE,README}.md ) - -PATCHES=( - # https://bugs.gentoo.org/856412 - # org.jboss.cdi.api.test.se.SeContainerInitializerTest # Tests run: 4, Failures: 1 - # org.jboss.cdi.api.test.CDITest # Tests run: 11, Failures: 5 - "${FILESDIR}/cdi-api-4.0.1-skip-tests.patch" -) - -S="${WORKDIR}/cdi-${PV}" - -JAVA_TEST_GENTOO_CLASSPATH="testng" -JAVA_TEST_EXTRA_ARGS=( -DserviceDir="target/test-classes/META-INF/services" ) -JAVA_TEST_SRC_DIR="api/src/test/java" -JAVA_TEST_RESOURCE_DIRS="api/src/test/resources" - -JAVA_TEST_EXCLUDES=( - # Tests run: 1, Failures: 1 - org.jboss.cdi.api.test.privileged.CDIPrivilegedTest -) - -src_prepare(){ - default # https://bugs.gentoo.org/780585 -} - -src_compile() { - JAVA_CLASSPATH_EXTRA=" - injection-api - jakarta-annotations-api - jakarta-el-api-${EL_API_SLOT} - jakarta-interceptors - " - JAVA_SRC_DIR="lang-model/src/main/java" - JAVA_JAR_FILENAME="lang-model.jar" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":lang-model.jar" - rm -r target || die - - JAVA_SRC_DIR="api/src/main/java" - JAVA_RESOURCE_DIRS="api/src/main/resources" - JAVA_JAR_FILENAME="cdi-api.jar" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":cdi-api.jar" - rm -r target || die - - if use doc; then - rm lang-model/src/main/java/module-info.java || die - JAVA_SRC_DIR=( - "lang-model/src/main/java" - "api/src/main/java" - ) - JAVA_JAR_FILENAME="ignoreme.jar" - java-pkg-simple_src_compile - fi -} - -src_install() { - java-pkg_dojar "lang-model.jar" - java-pkg_dojar "cdi-api.jar" - - if use doc; then - java-pkg_dojavadoc target/api - fi - - if use source; then - java-pkg_dosrc "lang-model/src/main/java/*" - java-pkg_dosrc "api/src/main/java/*" - fi -} |