From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-java/commons-compress/Manifest | 1 + .../commons-compress/commons-compress-1.10.ebuild | 65 +++++ dev-java/commons-compress/files/MANIFEST.MF | 24 ++ dev-java/commons-compress/files/build.xml | 269 +++++++++++++++++++++ dev-java/commons-compress/metadata.xml | 9 + 5 files changed, 368 insertions(+) create mode 100644 dev-java/commons-compress/Manifest create mode 100644 dev-java/commons-compress/commons-compress-1.10.ebuild create mode 100644 dev-java/commons-compress/files/MANIFEST.MF create mode 100644 dev-java/commons-compress/files/build.xml create mode 100644 dev-java/commons-compress/metadata.xml (limited to 'dev-java/commons-compress') diff --git a/dev-java/commons-compress/Manifest b/dev-java/commons-compress/Manifest new file mode 100644 index 000000000000..917a541bdd40 --- /dev/null +++ b/dev-java/commons-compress/Manifest @@ -0,0 +1 @@ +DIST commons-compress-1.10-src.tar.gz 8528642 BLAKE2B 7fe3891340f8d215134c6926711dabe139cc978560c1c92739a755d69f8f99503e3aa7f8b9a5728922e11109ee196f27ae04a03e26e009a61415d5df2bba975e SHA512 1eee157134d861f49b735df02f028781ef86370d7d246cb8fbfc1f445427d5cdd753a9df7a78e760d53667c43ab5c37df315a1e36e845e5d308961ebe138d910 diff --git a/dev-java/commons-compress/commons-compress-1.10.ebuild b/dev-java/commons-compress/commons-compress-1.10.ebuild new file mode 100644 index 000000000000..5670329df835 --- /dev/null +++ b/dev-java/commons-compress/commons-compress-1.10.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Java API for working with archive files" +HOMEPAGE="https://commons.apache.org/proper/commons-compress/" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="" + +CDEPEND="dev-java/xz-java:0" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.6 + test? ( + dev-java/junit:4 + dev-java/ant-junit:0 + dev-java/hamcrest-core:1.3 + )" + +S="${WORKDIR}/${P}-src" + +JAVA_ANT_BSFIX_EXTRA_ARGS="--maven-cleaning" +EANT_GENTOO_CLASSPATH="xz-java" +EANT_BUILD_TARGET="compile package" +EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4,hamcrest-core-1.3" + +# Dubious tests. +JAVA_RM_FILES=( + src/test/java/org/apache/commons/compress/archivers/zip/X5455_ExtendedTimestampTest.java +) + +java_prepare() { + cp "${FILESDIR}"/build.xml . || die "Failed to copy build.xml" + + # osgi stuff mvn ant:ant doesn't handle + mkdir -p target/osgi || die "Failed to create target dir" + cp "${FILESDIR}"/MANIFEST.MF target/osgi/ || die "Failed to copy manifest" + + if ! use test; then + find -name "*.jar" -delete || die "Failed to remove test resources" + fi +} + +src_test() { + EANT_TEST_TARGET="compile-tests test" \ + java-pkg-2_src_test +} + +src_install() { + java-pkg_newjar "target/${PN}-1.1.jar" + use doc && java-pkg_dojavadoc target/site/apidocs + use source && java-pkg_dosrc src/main/java/* +} diff --git a/dev-java/commons-compress/files/MANIFEST.MF b/dev-java/commons-compress/files/MANIFEST.MF new file mode 100644 index 000000000000..ab91795ef624 --- /dev/null +++ b/dev-java/commons-compress/files/MANIFEST.MF @@ -0,0 +1,24 @@ +Manifest-Version: 1.0 +Export-Package: org.apache.commons.compress.changes;version="1.1",org. + apache.commons.compress.archivers.ar;version="1.1",org.apache.commons + .compress.archivers.jar;version="1.1",org.apache.commons.compress.arc + hivers.cpio;version="1.1",org.apache.commons.compress.archivers.zip;v + ersion="1.1",org.apache.commons.compress.archivers;version="1.1",org. + apache.commons.compress.archivers.tar;version="1.1",org.apache.common + s.compress.compressors.bzip2;version="1.1",org.apache.commons.compres + s.compressors;version="1.1",org.apache.commons.compress.utils;version + ="1.1",org.apache.commons.compress.compressors.gzip;version="1.1" +Tool: Bnd-0.0.255 +Bundle-Name: Commons Compress +Created-By: 1.7.0-ea (Oracle Corporation) +Bundle-Vendor: The Apache Software Foundation +Bundle-Version: 1.1 +Bnd-LastModified: 1311506267618 +Bundle-ManifestVersion: 2 +Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt +Bundle-Description: Commons Compress defines an API for working with c + ompression and archive formats. These include: bzip2, gzip and ar, c + pio, jar, tar, zip. +Bundle-SymbolicName: org.apache.commons.compress +Bundle-DocURL: http://commons.apache.org/compress/ + diff --git a/dev-java/commons-compress/files/build.xml b/dev-java/commons-compress/files/build.xml new file mode 100644 index 000000000000..f42093f83866 --- /dev/null +++ b/dev-java/commons-compress/files/build.xml @@ -0,0 +1,269 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/commons-compress/metadata.xml b/dev-java/commons-compress/metadata.xml new file mode 100644 index 000000000000..b866ad3cfddf --- /dev/null +++ b/dev-java/commons-compress/metadata.xml @@ -0,0 +1,9 @@ + + + + + java@gentoo.org + Java + + gentoo-staging + -- cgit v1.3