commit:     f98b6e431b5a944fcd890f64faa3d0152b979f53
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Jul 31 19:07:11 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Aug  1 18:08:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f98b6e43

dev-java/gson: drop 2.8.8-r1

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/26687
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/gson/Manifest             |  1 -
 dev-java/gson/gson-2.8.8-r1.ebuild | 65 --------------------------------------
 2 files changed, 66 deletions(-)

diff --git a/dev-java/gson/Manifest b/dev-java/gson/Manifest
index 439250dc98ed..e539d331b471 100644
--- a/dev-java/gson/Manifest
+++ b/dev-java/gson/Manifest
@@ -1,2 +1 @@
-DIST gson-2.8.8-sources.tar.gz 393941 BLAKE2B 
ebdd1088a069eea58e5ea4e2eddea0d42064c53f7284778b1b7217c8bc7abeb7e14350e19d838af1d94f78c5c38aca6de0f37674b022f0e528ed65eef803c3f1
 SHA512 
f90ad679c99c5e9a6ee9e397e59ab1d7d94a9c82366902b808addc40ebbab101fdba7fc83e4666c4f35e52d8b127e6f901e65072a7de210496466074dcd043c5
 DIST gson-2.9.0.tar.gz 350309 BLAKE2B 
f17f7a7410744b14cb79c979b35c7f3c46a3d9e922722c41893b872013319a1bd06d81526e8380055aafa47524bfcc50e02629d1c5994e1f9f81df4391a9c651
 SHA512 
25e57f0e3cbff7e4d33070d250ba4ecf1c659380bce07863c52a3b30edd0ba88c923e55b0f38098b5ce3827a74a21c4d41f9de02f6a84da771ae39fd823667d3

diff --git a/dev-java/gson/gson-2.8.8-r1.ebuild 
b/dev-java/gson/gson-2.8.8-r1.ebuild
deleted file mode 100644
index a69ff0ad0aab..000000000000
--- a/dev-java/gson/gson-2.8.8-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Skeleton command:
-# java-ebuilder --generate-ebuild --workdir . --pom gson/pom.xml 
--download-uri https://github.com/google/gson/archive/gson-parent-2.8.8.tar.gz 
--slot 2.6 --keywords "~amd64 ~ppc64 ~x86" --ebuild gson-2.8.8.ebuild
-
-EAPI=7
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="com.google.code.gson:gson:2.8.8"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="Gson JSON library"
-HOMEPAGE="https://github.com/google/gson";
-SRC_URI="https://github.com/google/${PN}/archive/${PN}-parent-${PV}.tar.gz -> 
${P}-sources.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="2.6"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-# Compile dependencies
-# POM: ${PN}/pom.xml
-# test? com.github.wvengen:proguard-maven-plugin:2.4.0 -> 
!!!groupId-not-found!!!
-# test? junit:junit:4.13.2 -> >=dev-java/junit-4.13.2:4
-
-DEPEND="
-       virtual/jdk:11
-"
-
-RDEPEND="
-       >=virtual/jre-1.8:*
-"
-
-S="${WORKDIR}/${PN}-${PN}-parent-${PV}/${PN}"
-
-JAVA_SRC_DIR=(
-       "src/main/java"
-       "src/main/java-templates"
-)
-
-JAVA_TEST_GENTOO_CLASSPATH="junit-4"
-JAVA_TEST_SRC_DIR="src/test/java"
-JAVA_TEST_RESOURCE_DIRS=(
-       "src/test/resources"
-)
-
-JAVA_TEST_EXCLUDES=(
-       # requires the test class to be obfuscated using proguard which we do 
not have atm
-       "com.google.gson.functional.EnumWithObfuscatedTest"
-)
-
-src_prepare() {
-       default
-       sed -i "s/\${project.version}/${PV}/g" 
src/main/java-templates/com/google/gson/internal/GsonBuildConfig.java || die 
"Failed to set version"
-}
-
-src_test() {
-       local vm_version="$(java-config -g PROVIDES_VERSION)"
-       if [[ "${vm_version}" == "1.8" ]] ; then
-               JAVA_TEST_EXCLUDES+=( "com.google.gson.JsonArrayTest" )
-       fi
-       java-pkg-simple_src_test
-}

Reply via email to