diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-05-16 20:01:39 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-05-16 20:01:39 +0200 |
commit | 94b45e9356226bb3b5b7d8c3c6d71f69d8390fb0 (patch) | |
tree | e6284028b1effa10cbb982f1836e932d71245a0c /dev-java/snakeyaml | |
parent | dev-util/elfkickers: user ${DESTDIR}, not ${D} (diff) | |
download | gentoo-94b45e9356226bb3b5b7d8c3c6d71f69d8390fb0.tar.gz gentoo-94b45e9356226bb3b5b7d8c3c6d71f69d8390fb0.tar.bz2 gentoo-94b45e9356226bb3b5b7d8c3c6d71f69d8390fb0.zip |
dev-java/snakeyaml: removed obsolete and vulnerable 1.16
Bug: https://bugs.gentoo.org/776796
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/snakeyaml')
-rw-r--r-- | dev-java/snakeyaml/Manifest | 1 | ||||
-rw-r--r-- | dev-java/snakeyaml/snakeyaml-1.16.ebuild | 50 |
2 files changed, 0 insertions, 51 deletions
diff --git a/dev-java/snakeyaml/Manifest b/dev-java/snakeyaml/Manifest index 585b73ed3681..6fb3ce63e073 100644 --- a/dev-java/snakeyaml/Manifest +++ b/dev-java/snakeyaml/Manifest @@ -1,2 +1 @@ DIST asomov-snakeyaml-b28f0b4d87c6.tar.gz 397832 BLAKE2B 054c228cd739e0d7ae89227cba7ae1aba76e5b6a7aae4915a765816d916ab3a47e80d6c2795a5e9bcaee96a70c1751fb9e67523e7faed2db5a6d2123d773d04a SHA512 2d19aee8c3aef2c4c300382451c1241dd2452180fe28c39eb9fe1bbc9d6c615bb8504535d3cf1cf5fe2ad55def8c43b709e8ecd97f760403cfaee7db977f074c -DIST snakeyaml-1.16.tar.bz2 234954 BLAKE2B dea06c3501ceab4e92b4d125dc882ce7b7773d67ac5526fdf39fafb421f339fe892cfd3f8e80e413aa080fecbc94425842ccabd099d97e1c705eab7025c489e9 SHA512 77ef0b1fa2ebe7ab1618745c407436ac6965159e29e1271b0d571006b967bcd94658eb3a8047180ea7c3160eb66ecbac1f24414537a24a81c11fb735ce65e3a4 diff --git a/dev-java/snakeyaml/snakeyaml-1.16.ebuild b/dev-java/snakeyaml/snakeyaml-1.16.ebuild deleted file mode 100644 index 84d47f987398..000000000000 --- a/dev-java/snakeyaml/snakeyaml-1.16.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple vcs-snapshot - -DESCRIPTION="A YAML 1.1 parser and emitter for Java 5" -HOMEPAGE="https://bitbucket.org/asomov/snakeyaml" -SRC_URI="https://bitbucket.org/asomov/${PN}/get/v${PV}.tar.bz2 -> ${P}.tar.bz2" -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND=">=virtual/jdk-1.6 - test? ( - dev-java/joda-time:0 - dev-java/junit:4 )" - -RDEPEND=">=virtual/jre-1.6" - -S="${WORKDIR}/${P}" -JAVA_SRC_DIR="src/main/java" - -java_prepare() { - # Remove some tests with tricky dependencies. - rm -rv src/test/java/{examples/SpringTest.java,org/yaml/snakeyaml/{emitter/template/VelocityTest.java,issues/issue9}} || die -} - -src_install() { - java-pkg-simple_src_install - dodoc README.md src/etc/announcement.msg -} - -src_test() { - local DIR="src/test/java" - local CP="${DIR}/../resources:${DIR}:${PN}.jar:$(java-pkg_getjars joda-time,junit-4)" - - local TESTS=$(find "${DIR}" -name "*Test.java" ! -name AbstractTest.java ! -name PyImportTest.java) - TESTS="${TESTS//src\/test\/java\/}" - TESTS="${TESTS//.java}" - TESTS="${TESTS//\//.}" - - ejavac -cp "${CP}" -d "${DIR}" $(find "${DIR}" -name "*.java") - ejunit4 -classpath "${CP}" ${TESTS} -} |