summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-13 01:17:56 +0000
committerSam James <sam@gentoo.org>2021-11-13 08:28:57 +0000
commitbb114787fc795451a41c0f8c9b8f363702bdf446 (patch)
treebd0e284f5585bd5e72fe9ad9703538510b0383fa /dev-java/treelayout
parentsys-devel/clang-runtime: Stabilize 13.0.0 x86, #821862 (diff)
downloadgentoo-bb114787fc795451a41c0f8c9b8f363702bdf446.tar.gz
gentoo-bb114787fc795451a41c0f8c9b8f363702bdf446.tar.bz2
gentoo-bb114787fc795451a41c0f8c9b8f363702bdf446.zip
dev-java/treelayout: add 1.0.3
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-java/treelayout')
-rw-r--r--dev-java/treelayout/Manifest1
-rw-r--r--dev-java/treelayout/treelayout-1.0.3.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-java/treelayout/Manifest b/dev-java/treelayout/Manifest
index a5149631fce6..4410cb6512f8 100644
--- a/dev-java/treelayout/Manifest
+++ b/dev-java/treelayout/Manifest
@@ -1 +1,2 @@
DIST treelayout-1.0.2.tar.gz 1007086 BLAKE2B c5ef3f0bc2a7c99a983f648efcca65a4a4fd9d72710b7a1a8263629435da6a79a328778983475565dfc23738978bf658067e3e63e7c36db84a54189821c0da07 SHA512 89a627d8ab2f248bb9b22139de0a28f310deb555f78825f29f4acfd0df7b4c212c8df241b004f8452a4be8a0f7717ee996df3eef4dd88ca905f4ad211df92655
+DIST treelayout-1.0.3.tar.gz 965389 BLAKE2B 5fb893ca0176e245778cf115a3c537d7a0ae4bcaf8119be41aa214dcf3887f5c286445d3d289134193a1b28269a2ba4952c6b9e81e3e462163bead188768f919 SHA512 5fb6a70206978c6bf8ea3c70603f38049cad21038bcedfd5a7f4dde1e4f8b080bfa78ca6dc2e43a7d0771ded39d5793f0c5340cf60ce63348d28a9be6abc3be4
diff --git a/dev-java/treelayout/treelayout-1.0.3.ebuild b/dev-java/treelayout/treelayout-1.0.3.ebuild
new file mode 100644
index 000000000000..6785a357c359
--- /dev/null
+++ b/dev-java/treelayout/treelayout-1.0.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+JAVA_PKG_IUSE="doc source"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+JAVA_PKG_BSFIX_NAME="build-impl.xml"
+EANT_BUILD_XML="nbproject/build-impl.xml"
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Efficiently create compact tree layouts in Java"
+HOMEPAGE="https://github.com/abego/treelayout"
+SRC_URI="https://github.com/abego/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P}/org.abego.${PN}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=virtual/jre-1.8:*"
+DEPEND=">=virtual/jdk-1.8:*
+ test? ( dev-java/ant-junit:0 )"
+
+src_configure() {
+ EANT_EXTRA_ARGS="-Dplatform.home=${JAVA_HOME}"
+}
+
+src_test() {
+ java-pkg-2_src_test
+}
+
+src_install() {
+ java-pkg_newjar dist/org.abego.${PN}.core.jar
+ dodoc CHANGES.txt src/website/abegoTreeLayout.pdf
+ use doc && java-pkg_dojavadoc dist/javadoc
+ use source && java-pkg_dosrc src/main/java/*
+}