From dff68e10e37810ee5bb0c806c8912f13f3cbd47f Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Tue, 6 Oct 2015 09:35:58 +0000 Subject: [PATCH] dev-java/commons-graph: Version bump. Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement --- dev-java/commons-graph/Manifest | 1 + .../commons-graph/commons-graph-0.1.ebuild | 49 ++++ .../files/commons-graph-0.1-build.xml | 258 ++++++++++++++++++ 3 files changed, 308 insertions(+) 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 diff --git a/dev-java/commons-graph/Manifest b/dev-java/commons-graph/Manifest index e8bbd79bd05a3..d17ed63ff64ed 100644 --- a/dev-java/commons-graph/Manifest +++ b/dev-java/commons-graph/Manifest @@ -1 +1,2 @@ +DIST commons-graph-0.1.tar.gz 96009 SHA256 b68f5c7132e9eea4872dfc0d5fd74c138d2489355540dff752a91311cbac040d SHA512 7214fd60eb348a7feee9c194f562e5a7cf1f211ba589d2a85eaae52ed3ced7089842405dfbd99413b1f06f87ea1a19d244989daa1e0f6fb857fa752647d52b16 WHIRLPOOL 90c014761b2a1f8572eba4339f2ea81ec34666a83c21ea27326b366f0089cc5f20a5d6bc53aefa1d09019114b34f424496af95a604c1b55b5bdfec879ab51a0b DIST graph2-0.8.1.cvs20040118.tar.gz 42653 SHA256 916e3ca83376acd9ca64ee87988c8a19dc86c6468d087ede82d1e05c14a5a142 SHA512 110f2365b9568a4059233c6c6e75aec1a52b4fdd9110d55f0a6b79df324f047bde87d49134d8ba73417223919ddce972dd4a3c86841f843dd0109ebb17177083 WHIRLPOOL e3cd70bc98187a4f581bfa60125cfbfd0490264582d8fe4f536f7ecfd12a2f8228b1ff64db5414f8fa95ea976be5db08a054eecbb86e098cba62cc8cedd6f4c1 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 0000000000000..2d7af9bab4a28 --- /dev/null +++ b/dev-java/commons-graph/commons-graph-0.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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="http://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz" + +DEPEND=">=virtual/jdk-1.6 + test? ( + dev-java/ant-junit:0 + )" + +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +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 0000000000000..5c3a9c19cdd4b --- /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. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +