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-graph/Manifest | 4 + dev-java/commons-graph/commons-graph-0.1.ebuild | 47 ++++ .../files/commons-graph-0.1-build.xml | 258 +++++++++++++++++++++ dev-java/commons-graph/metadata.xml | 8 + 4 files changed, 317 insertions(+) create mode 100644 dev-java/commons-graph/Manifest create mode 100644 dev-java/commons-graph/commons-graph-0.1.ebuild create mode 100644 dev-java/commons-graph/files/commons-graph-0.1-build.xml create mode 100644 dev-java/commons-graph/metadata.xml (limited to 'dev-java/commons-graph') diff --git a/dev-java/commons-graph/Manifest b/dev-java/commons-graph/Manifest new file mode 100644 index 000000000000..a52b50dbc8a0 --- /dev/null +++ b/dev-java/commons-graph/Manifest @@ -0,0 +1,4 @@ +AUX commons-graph-0.1-build.xml 11134 BLAKE2B 6a50f6ebc8e4efdf2aec653034d0f448d5e4f7a760d374c0c25a871225ab9f2e5cec1e4c1999b93f53cf16102ea6b15f70b3a94ea37e50b348438d6683e0e624 SHA512 a2ab4d7cccdf79b94ee5af661039cb520d7c16f8a868f00d6e2329286690edad94fd162eafa650daa411912b8f888e81e809184b94124f1c9436d0bdd009b160 +DIST commons-graph-0.1.tar.gz 96009 BLAKE2B 0914bebc5e4748a619396a5abc78c78edfce95d5c475d988185ea9d1735d57145a27b9139e91628e06c28c9adbb174945f1db9f21a605cb4dea305aae2064eaa SHA512 7214fd60eb348a7feee9c194f562e5a7cf1f211ba589d2a85eaae52ed3ced7089842405dfbd99413b1f06f87ea1a19d244989daa1e0f6fb857fa752647d52b16 +EBUILD commons-graph-0.1.ebuild 1104 BLAKE2B aeda64cc1c3b4bcd99ef73d5548e23ed8278328da6dc6fd639ebe6ba9e7d2606c2773174da5648b839f0303dff37833c86c444b26a51c98bb695fffdabd64ab9 SHA512 b15984281bd5662631daef2524984c2a9727f5851170ad17bef8f50fb2234f911584a302bd2ca19933428a4f4e851dafb3ecaa27903430355538ce6a59b24c0c +MISC metadata.xml 232 BLAKE2B 513679b02247d8e4cb4c874abd785119d9ca62ad24c44969d52a42c3765d0ebf689024512a2c4c48e69688a4ce02a74ae05708b050a720bc73d8d2bf2ceff58d SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 diff --git a/dev-java/commons-graph/commons-graph-0.1.ebuild b/dev-java/commons-graph/commons-graph-0.1.ebuild new file mode 100644 index 000000000000..d62104317f83 --- /dev/null +++ b/dev-java/commons-graph/commons-graph-0.1.ebuild @@ -0,0 +1,47 @@ +# 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="A toolkit for managing graphs and graph based data structures" +HOMEPAGE="https://commons.apache.org/sandbox/commons-graph/" +SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=virtual/jdk-1.6 + test? ( + dev-java/ant-junit:0 + )" + +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" + +JAVA_ANT_REWRITE_CLASSPATH="yes" +EANT_TEST_TARGET="test" + +# Dubious tests. +JAVA_RM_FILES=( + src/test/java/org/apache/commons/graph/coloring/GraphColoringTestCase.java + src/test/java/org/apache/commons/graph/spanning/KruskalTestCase.java + src/test/java/org/apache/commons/graph/scc/TarjanTestCase.java +) + +java_prepare() { + cp "${FILESDIR}"/"${P}-build.xml" build.xml || die +} + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_newjar target/${P}.jar + use doc && java-pkg_dojavadoc target/site/apidocs + use source && java-pkg_dosrc src/main/java +} diff --git a/dev-java/commons-graph/files/commons-graph-0.1-build.xml b/dev-java/commons-graph/files/commons-graph-0.1-build.xml new file mode 100644 index 000000000000..5c3a9c19cdd4 --- /dev/null +++ b/dev-java/commons-graph/files/commons-graph-0.1-build.xml @@ -0,0 +1,258 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/commons-graph/metadata.xml b/dev-java/commons-graph/metadata.xml new file mode 100644 index 000000000000..2444066aa02b --- /dev/null +++ b/dev-java/commons-graph/metadata.xml @@ -0,0 +1,8 @@ + + + + + java@gentoo.org + Java + + -- cgit v1.2.3