summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2022-10-12 21:43:51 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2022-10-12 23:02:05 +0300
commit010dc6c07ddc9a929644b88c8247d78ffea52452 (patch)
treed95d6ded8d05da4d6721f81c3bad843aae7eb1be /dev-java/snakeyaml
parentsys-libs/timezone-data: drop 2022d (diff)
downloadgentoo-010dc6c07ddc9a929644b88c8247d78ffea52452.tar.gz
gentoo-010dc6c07ddc9a929644b88c8247d78ffea52452.tar.bz2
gentoo-010dc6c07ddc9a929644b88c8247d78ffea52452.zip
dev-java/snakeyaml: drop 1.30-r1
Bug: https://bugs.gentoo.org/868621 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-java/snakeyaml')
-rw-r--r--dev-java/snakeyaml/Manifest1
-rw-r--r--dev-java/snakeyaml/files/snakeyaml-1.30-fix-test-check.patch18
-rw-r--r--dev-java/snakeyaml/snakeyaml-1.30-r1.ebuild91
3 files changed, 0 insertions, 110 deletions
diff --git a/dev-java/snakeyaml/Manifest b/dev-java/snakeyaml/Manifest
index 9b7bb7dc83e5..c2603d2f156f 100644
--- a/dev-java/snakeyaml/Manifest
+++ b/dev-java/snakeyaml/Manifest
@@ -1,2 +1 @@
-DIST snakeyaml-1.30.tar.gz 402525 BLAKE2B 1d130ce8c5313b302463df11493a0fa845faf3921cd0b0a47f9db8d31f568f266f14a1543e33d77bf9e1b86c462ae4bba8e140339a6245341bdc05d76a1ccf07 SHA512 9ae09163d933e0899cf48ba0c80b5f01423847f1c18306859fa4c4002f0c909611df7096d494e04bb0f8f7d2bc5d1eb4f656e2f322941ddef642b0c23a351908
DIST snakeyaml-1.33.tar.gz 406196 BLAKE2B 9b7e7d7a5d35d433445737f4b5cc07744e3686a71cc4b9e44ce46153831b76f01da7ef6bc60ea82a7173283a77d0da500bea2bc7ee76bdde4ebda00aa6054aa8 SHA512 ad367d7e7bcb2225094d132df77d91e7401026af02f4ede14a2a4fc5cf78f0cfa1e4400f16f43a669faa2f0e444d36c3745e3c9df3d9114d62fee070c4c99414
diff --git a/dev-java/snakeyaml/files/snakeyaml-1.30-fix-test-check.patch b/dev-java/snakeyaml/files/snakeyaml-1.30-fix-test-check.patch
deleted file mode 100644
index f2742f658fa2..000000000000
--- a/dev-java/snakeyaml/files/snakeyaml-1.30-fix-test-check.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/src/test/java/org/yaml/snakeyaml/issues/issue377/BillionLaughsAttackTest.java
-+++ b/src/test/java/org/yaml/snakeyaml/issues/issue377/BillionLaughsAttackTest.java
-@@ -69,7 +69,7 @@ public class BillionLaughsAttackTest {
- map.toString();
- fail("Expected overflow");
- } catch (Throwable e) {
-- assertTrue(e.getMessage().contains("heap"));
-+ assertTrue("Catched exception " + e + " is not an instance of OutOfMemoryError", e instanceof OutOfMemoryError);
- }
- }
-
-@@ -94,4 +94,4 @@ public class BillionLaughsAttackTest {
- assertNotNull(map);
- }
-
--}
-\ No newline at end of file
-+}
diff --git a/dev-java/snakeyaml/snakeyaml-1.30-r1.ebuild b/dev-java/snakeyaml/snakeyaml-1.30-r1.ebuild
deleted file mode 100644
index 8dd5b2edb63c..000000000000
--- a/dev-java/snakeyaml/snakeyaml-1.30-r1.ebuild
+++ /dev/null
@@ -1,91 +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 pom.xml --download-uri https://bitbucket.org/snakeyaml/snakeyaml/get/snakeyaml-1.30.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild snakeyaml-1.30.ebuild
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="org.yaml:snakeyaml:1.30"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="YAML 1.1 parser and emitter for Java"
-HOMEPAGE="https://bitbucket.org/snakeyaml/snakeyaml"
-SRC_URI="https://bitbucket.org/${PN}/${PN}/get/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-# Compile dependencies
-# POM: pom.xml
-# test? joda-time:joda-time:2.10.1 -> >=dev-java/joda-time-2.10.10:0
-# test? junit:junit:4.13.1 -> >=dev-java/junit-4.13.2:4
-# test? org.apache.velocity:velocity:1.6.2 -> !!!artifactId-not-found!!!
-
-DEPEND="
- >=virtual/jdk-1.8:*
- test? (
- dev-java/velocity:0
- dev-java/joda-time:0
- )
-"
-
-RDEPEND="
- >=virtual/jre-1.8:*
-"
-
-# https://bitbucket.org/snakeyaml/snakeyaml/pull-requests/7
-PATCHES=( "${FILESDIR}/snakeyaml-1.30-fix-test-check.patch" )
-DOCS=( README.md )
-
-S="${WORKDIR}/snakeyaml-snakeyaml-49227c24d741/"
-
-JAVA_SRC_DIR="src/main/java"
-JAVA_AUTOMATIC_MODULE_NAME="org.yaml.snakeyaml"
-
-JAVA_TEST_GENTOO_CLASSPATH="joda-time,junit-4,velocity"
-JAVA_TEST_SRC_DIR="src/test/java"
-JAVA_TEST_RESOURCE_DIRS="src/test/resources"
-
-src_prepare() {
- default
- java-utils-2_src_prepare
-}
-
-src_test() {
- export EnvironmentKey1="EnvironmentValue1"
- export EnvironmentEmpty=""
-
- # There were 2 failures:
- # 1) yamlClassInYAMLCL(org.yaml.snakeyaml.issues.issue318.ContextClassLoaderTest)
- # java.lang.ClassNotFoundException: org.yaml.snakeyaml.Yaml
- # at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
- # at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
- # at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
- # at org.yaml.snakeyaml.issues.issue318.ContextClassLoaderTest.yamlClassInYAMLCL(ContextClassLoaderTest.java:127)
- # 2) domainInDifferentConstructor(org.yaml.snakeyaml.issues.issue318.ContextClassLoaderTest)
- # java.lang.ClassNotFoundException: org.yaml.snakeyaml.Yaml
- # at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
- # at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
- # at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
- # at org.yaml.snakeyaml.issues.issue318.ContextClassLoaderTest.domainInDifferentConstructor(ContextClassLoaderTest.java:135)
-
- pushd src/test/java || die
- local JAVA_TEST_RUN_ONLY=$(find * -name "*Test.java" \
- ! -name "StressTest.java" \
- ! -name "ParallelTest.java" \
- ! -name "AbstractTest.java" \
- ! -name "PyImportTest.java" \
- ! -name "ContextClassLoaderTest.java" \
- )
- popd
-
- JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
- JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
-
- java-pkg-simple_src_test
-}