diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/jts-core | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/jts-core')
-rw-r--r-- | dev-java/jts-core/Manifest | 3 | ||||
-rw-r--r-- | dev-java/jts-core/jts-core-1.14.ebuild | 43 | ||||
-rw-r--r-- | dev-java/jts-core/metadata.xml | 11 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-java/jts-core/Manifest b/dev-java/jts-core/Manifest new file mode 100644 index 000000000000..ee8306af9b05 --- /dev/null +++ b/dev-java/jts-core/Manifest @@ -0,0 +1,3 @@ +DIST jts-1.14.tar.gz 19693410 BLAKE2B 1784032fbd41858caebcca60898d947da4e47e98a33f82a25540bdf940203c923529df09066260b5998f9b85f475a725e32cf01d005401698dde71f380918542 SHA512 1d90f2e2774bf8738ce24fc65c5430f7970fcc1823c304a18bbdc243040e66409fc33bf9058ebc22217640e4c384772f852316031ef1b8779592d0e041e2261d +EBUILD jts-core-1.14.ebuild 1072 BLAKE2B 27ca70f2326ef90ffd1fb8b77b8dbc63286ecc152ceb73dd6aa03e835b25a66aa105fbda9dc5f8bc3146d57eb327c55288b22b5dddb29a6ef334e980415e75b3 SHA512 aab15bdba6a01675aba8a4580c29bd8510bf924a37bf9d16e5c0be7ea9ba0ecaba5d29bef185679570ed687bb165207522483b60a582fcd8292eeb1fd78c11ee +MISC metadata.xml 311 BLAKE2B af7b97c34bdece8fb17065e507ee06633fd911095d3eaeee8600d76826bfbd48e17123ed58a0425aeb7d6d2f595e2a4362db345876d116ba55346d72bbd2cd56 SHA512 58a717b155e3578187d875a85037af30366c22ed5f2a1c634b7cc43442d7ff3b123f11617569643fa5f0b7330e49c3e9d50f9850dd771d7e9a5180146ba251c2 diff --git a/dev-java/jts-core/jts-core-1.14.ebuild b/dev-java/jts-core/jts-core-1.14.ebuild new file mode 100644 index 000000000000..b3559fafc3df --- /dev/null +++ b/dev-java/jts-core/jts-core-1.14.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# The project recently switched to git. There are no tags yet. +GIT_REF="f67d35c1da06922c8165f66a919490ee94a04649" + +MY_PN="jts" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="JTS Topology Suite for Java" +HOMEPAGE="https://tsusiatsoftware.net/jts/main.html" +SRC_URI="https://github.com/dr-jts/jts/archive/${GIT_REF}.tar.gz -> ${MY_PN}-${PV}.tar.gz" +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND=">=virtual/jdk-1.7 + app-arch/unzip + test? ( dev-java/junit:4 )" + +RDEPEND=">=virtual/jre-1.7" + +S="${WORKDIR}/${MY_PN}-${GIT_REF}/${MY_PN}" +JAVA_SRC_DIR="java/src" + +java_prepare() { + java-pkg_clean + + # Use text-based test runner. + sed -i "s/swingui/textui/g" java/test/test/jts/junit/SimpleTest.java || die +} + +src_test() { + cd java/test || die + local CP=".:${S}/${PN}.jar:$(java-pkg_getjars junit-4)" + ejavac -cp "${CP}" -d . $(find * -name "*.java") + ejunit4 -classpath "${CP}" test.jts.junit.MasterTester +} diff --git a/dev-java/jts-core/metadata.xml b/dev-java/jts-core/metadata.xml new file mode 100644 index 000000000000..1cbcbcf30180 --- /dev/null +++ b/dev-java/jts-core/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <upstream> + <remote-id type="github">dr-jts/jts</remote-id> + </upstream> +</pkgmetadata> |