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-graph/Manifest | 1 + dev-java/commons-graph/commons-graph-0.1.ebuild | 47 ++++ .../files/commons-graph-0.1-build.xml | 258 +++++++++++++++++++++ dev-java/commons-graph/metadata.xml | 9 + 4 files changed, 315 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..ca7824dcc5fa --- /dev/null +++ b/dev-java/commons-graph/Manifest @@ -0,0 +1 @@ +DIST commons-graph-0.1.tar.gz 96009 BLAKE2B 0914bebc5e4748a619396a5abc78c78edfce95d5c475d988185ea9d1735d57145a27b9139e91628e06c28c9adbb174945f1db9f21a605cb4dea305aae2064eaa SHA512 7214fd60eb348a7feee9c194f562e5a7cf1f211ba589d2a85eaae52ed3ced7089842405dfbd99413b1f06f87ea1a19d244989daa1e0f6fb857fa752647d52b16 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..b866ad3cfddf --- /dev/null +++ b/dev-java/commons-graph/metadata.xml @@ -0,0 +1,9 @@ + + + + + java@gentoo.org + Java + + gentoo-staging + -- cgit v1.3