From fd57488a76e3d4aed30d4cdfd48aa3ae30da84c7 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 10 Apr 2022 14:38:07 +0000 Subject: Adding metadata --- dev-java/gwt/gwt-2.9.0-r1.ebuild | 94 +++++++++++++++++++++ dev-java/gwt/gwt-2.9.0.ebuild | 96 ---------------------- .../jcip-annotations-1.0.1-r1.ebuild | 3 +- dev-java/jsr305/Manifest | 2 +- dev-java/jsr305/jsr305-3.0.2-r1.ebuild | 4 +- 5 files changed, 100 insertions(+), 99 deletions(-) create mode 100644 dev-java/gwt/gwt-2.9.0-r1.ebuild delete mode 100644 dev-java/gwt/gwt-2.9.0.ebuild (limited to 'dev-java') diff --git a/dev-java/gwt/gwt-2.9.0-r1.ebuild b/dev-java/gwt/gwt-2.9.0-r1.ebuild new file mode 100644 index 000000000000..9df96d799da3 --- /dev/null +++ b/dev-java/gwt/gwt-2.9.0-r1.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +JAVA_PKG_IUSE="source" + +inherit java-pkg-2 java-ant-2 java-utils-2 + +GWT_TOOLS_COMMIT="194772ed94078802d8030136796de344eb1fdbe1" +GWT_TOOLS_PN="tools" + +DESCRIPTION="Google Web Toolkit library" +HOMEPAGE="http://www.gwtproject.org/" +SRC_URI="https://github.com/gwtproject/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/gwtproject/${GWT_TOOLS_PN}/archive/${GWT_TOOLS_COMMIT}.tar.gz -> ${PN}-${GWT_TOOLS_PN}-${GWT_TOOLS_COMMIT}.tar.gz" +# While the test suite does compile and does execute with an exit status of 0, +# there are many tests that end with FAILED status. It is unclear if this is +# expected from upstream or not, but in order to keep things honest, the test +# suite is being restricted +RESTRICT="mirror test" +SLOT="2.8" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +CDEPEND=" + dev-java/guava:20 + dev-java/rhino:1.6 + dev-java/asm:9 + dev-java/eclipse-ecj:4.5 + dev-java/validation-api:1.0 +" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.8:*" +DEPEND=" + ${CDEPEND} + virtual/jdk:1.8 +" + +JAVA_ANT_REWRITE_CLASSPATH="yes" +EANT_BUILD_TARGET="build" +EANT_GENTOO_CLASSPATH=" + asm-9 + guava-20 + rhino-1.6 + eclipse-ecj-4.5 + validation-api-1.0 +" + +PATCHES=( + "${FILESDIR}/${PN}-2.9.0-jsinterop-classpath.patch" + "${FILESDIR}/${PN}-2.9.0-remove-git-usage.patch" +) + +src_prepare() { + default + + java-pkg-2_src_prepare +} + +src_compile() { + # the default setup assumes that you've placed these in ${S}/tools. We put + # it in ${WORKDIR} though + export GWT_TOOLS="${WORKDIR}/${GWT_TOOLS_PN}-${GWT_TOOLS_COMMIT}" + export GWT_VERSION="${PV}" + + java-pkg-2_src_compile +} + +src_test() { + local -x ANT_OPTS=-Dfile.encoding=UTF-8 + local -x TZ=America/Los_Angeles + + java-pkg-2_src_test +} + +src_install() { + local i18nCreater_launcher_args=( + i18nCreater + --main com.google.gwt.i18n.tools.I18NCreater + --jar gwt-dev.jar + ) + local webAppCreator_launcher_args=( + webAppCreator + --main com.google.gwt.user.tools.WebAppCreator + --jar gwt-dev.jar + ) + + java-pkg_dojar build/lib/*.jar + java-pkg_dolauncher ${i18nCreater_launcher_args[@]} + java-pkg_dolauncher ${webAppCreator_launcher_args[@]} +} diff --git a/dev-java/gwt/gwt-2.9.0.ebuild b/dev-java/gwt/gwt-2.9.0.ebuild deleted file mode 100644 index b3a3173ebca2..000000000000 --- a/dev-java/gwt/gwt-2.9.0.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="source" - -inherit java-pkg-2 java-ant-2 java-utils-2 - -GWT_TOOLS_COMMIT="194772ed94078802d8030136796de344eb1fdbe1" -GWT_TOOLS_PN="tools" - -DESCRIPTION="Google Web Toolkit library" -HOMEPAGE="http://www.gwtproject.org/" -SRC_URI="https://github.com/gwtproject/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - https://github.com/gwtproject/${GWT_TOOLS_PN}/archive/${GWT_TOOLS_COMMIT}.tar.gz -> ${PN}-${GWT_TOOLS_PN}-${GWT_TOOLS_COMMIT}.tar.gz" -# While the test suite does compile and does execute with an exit status of 0, -# there are many tests that end with FAILED status. It is unclear if this is -# expected from upstream or not, but in order to keep things honest, the test -# suite is being restricted -RESTRICT="mirror test" -SLOT="2.8" -LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -CDEPEND=" - dev-java/json:0 - dev-java/guava:20 - dev-java/rhino:1.6 - dev-java/asm:9 - dev-java/eclipse-ecj:4.5 - dev-java/validation-api:1.0 -" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.8:*" -DEPEND=" - ${CDEPEND} - virtual/jdk:1.8 -" - -JAVA_ANT_REWRITE_CLASSPATH="yes" -EANT_BUILD_TARGET="build" -EANT_GENTOO_CLASSPATH=" - json - asm-9 - guava-20 - rhino-1.6 - eclipse-ecj-4.5 - validation-api-1.0 -" - -PATCHES=( - "${FILESDIR}/${PN}-2.9.0-jsinterop-classpath.patch" - "${FILESDIR}/${PN}-2.9.0-remove-git-usage.patch" -) - -src_prepare() { - default - - java-pkg-2_src_prepare -} - -src_compile() { - # the default setup assumes that you've placed these in ${S}/tools. We put - # it in ${WORKDIR} though - export GWT_TOOLS="${WORKDIR}/${GWT_TOOLS_PN}-${GWT_TOOLS_COMMIT}" - export GWT_VERSION="${PV}" - - java-pkg-2_src_compile -} - -src_test() { - local -x ANT_OPTS=-Dfile.encoding=UTF-8 - local -x TZ=America/Los_Angeles - - java-pkg-2_src_test -} - -src_install() { - local i18nCreater_launcher_args=( - i18nCreater - --main com.google.gwt.i18n.tools.I18NCreater - --jar gwt-dev.jar - ) - local webAppCreator_launcher_args=( - webAppCreator - --main com.google.gwt.user.tools.WebAppCreator - --jar gwt-dev.jar - ) - - java-pkg_dojar build/lib/*.jar - java-pkg_dolauncher ${i18nCreater_launcher_args[@]} - java-pkg_dolauncher ${webAppCreator_launcher_args[@]} -} diff --git a/dev-java/jcip-annotations/jcip-annotations-1.0.1-r1.ebuild b/dev-java/jcip-annotations/jcip-annotations-1.0.1-r1.ebuild index 1f9c6101e325..5ee98d998748 100644 --- a/dev-java/jcip-annotations/jcip-annotations-1.0.1-r1.ebuild +++ b/dev-java/jcip-annotations/jcip-annotations-1.0.1-r1.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 JAVA_PKG_IUSE="doc source" +MAVEN_ID="com.github.stephenc.jcip:jcip-annotations:1.0-1" inherit java-pkg-2 java-pkg-simple diff --git a/dev-java/jsr305/Manifest b/dev-java/jsr305/Manifest index 066315e28ad0..7dc9938f0d2d 100644 --- a/dev-java/jsr305/Manifest +++ b/dev-java/jsr305/Manifest @@ -1 +1 @@ -DIST jsr305-3.0.2.jar 18102 BLAKE2B fa6c40a63eb3e4683ae70612058420a905428b9ac9b920b2f7f4024579a5ff6fcffa576d50a616ed585b4896cbba87f4496273b860930f047184cf5df77004d0 SHA512 02327071dde09470c8cd0fe39405263146d7e86b15312bc3f909c6a6fa9b11c730bdb833b6cdbdf1aee0c6553e519cecd0257a296947f94636650e88cd8c5b79 +DIST jsr305-3.0.2-sources.jar 18102 BLAKE2B fa6c40a63eb3e4683ae70612058420a905428b9ac9b920b2f7f4024579a5ff6fcffa576d50a616ed585b4896cbba87f4496273b860930f047184cf5df77004d0 SHA512 02327071dde09470c8cd0fe39405263146d7e86b15312bc3f909c6a6fa9b11c730bdb833b6cdbdf1aee0c6553e519cecd0257a296947f94636650e88cd8c5b79 diff --git a/dev-java/jsr305/jsr305-3.0.2-r1.ebuild b/dev-java/jsr305/jsr305-3.0.2-r1.ebuild index 816af8fe7a4a..83b864f8feb9 100644 --- a/dev-java/jsr305/jsr305-3.0.2-r1.ebuild +++ b/dev-java/jsr305/jsr305-3.0.2-r1.ebuild @@ -2,13 +2,15 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 + JAVA_PKG_IUSE="source doc" +MAVEN_ID="com.google.code.findbugs:jsr305:3.0.2" inherit java-pkg-2 java-pkg-simple DESCRIPTION="Annotations for Software Defect Detection in Java" HOMEPAGE="https://jcp.org/en/jsr/detail?id=305" -SRC_URI="http://central.maven.org/maven2/com/google/code/findbugs/${PN}/${PV}/${P}-sources.jar -> ${P}.jar" +SRC_URI="https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/${PV}/jsr305-${PV}-sources.jar" LICENSE="BSD" SLOT="0" -- cgit v1.3.1