From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-java/commons-compress/Manifest | 5 + .../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 | 8 + 5 files changed, 371 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..c39fd4d7c1e0 --- /dev/null +++ b/dev-java/commons-compress/Manifest @@ -0,0 +1,5 @@ +AUX MANIFEST.MF 1222 BLAKE2B a7ec1ac35802d24cbc9ce95d3974004d89e6233aa41f95a33733b08dc447c54bbd6da2a3a01ef2d46cee303578a4dd116704e7e1dc551af1212b0b3ed891ea1e SHA512 048b09aa2ae2e20c8b5b0e116eb49fd680634e9b654d5026004e32a39bec4e5b669afcadea8338764a157f70cc0c3fdb5d2ce98513bfeae267be7ae02935381d +AUX build.xml 11340 BLAKE2B 9a0366053069ca9d060257887cbe70a9de8e8796894975b00b0c25fb96b80d84e83e371debb619efbfbd244f31a0214d7487f38611f8532da838a971b5b8d528 SHA512 09abd59212021ac20fae760ce127546bde53e40e2ed0db26a0a93417c681e46b038d1940964e55fd46a8f7db44b5ea2666459d75358ee1dd5882895c803e0c89 +DIST commons-compress-1.10-src.tar.gz 8528642 BLAKE2B 7fe3891340f8d215134c6926711dabe139cc978560c1c92739a755d69f8f99503e3aa7f8b9a5728922e11109ee196f27ae04a03e26e009a61415d5df2bba975e SHA512 1eee157134d861f49b735df02f028781ef86370d7d246cb8fbfc1f445427d5cdd753a9df7a78e760d53667c43ab5c37df315a1e36e845e5d308961ebe138d910 +EBUILD commons-compress-1.10.ebuild 1498 BLAKE2B 753e2e3e8cc14f90ccadcdfc82f73dc5af6d54d7db6ad81b28465c235895325119df88e03028b214427a6642c05aa4b8b4554a5572dcf71dceebdb61bfef42a9 SHA512 0a172dfe3c1026925fd92418085c1324e9fae506f85917e84fee68d9ee4fb38d38c8019c7730157deb2e3fea7ab241296ff74787be3e5a23c996f81267695537 +MISC metadata.xml 232 BLAKE2B 513679b02247d8e4cb4c874abd785119d9ca62ad24c44969d52a42c3765d0ebf689024512a2c4c48e69688a4ce02a74ae05708b050a720bc73d8d2bf2ceff58d SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 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..2444066aa02b --- /dev/null +++ b/dev-java/commons-compress/metadata.xml @@ -0,0 +1,8 @@ + + + + + java@gentoo.org + Java + + -- cgit v1.2.3