diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2022-02-17 11:15:39 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2022-02-17 11:21:19 +0100 |
commit | 0308cae80ad4f2ba9c06b8e057cca6b9e9bae496 (patch) | |
tree | 585500adb48ac30705c32d6f0f120d4ef92c29bb /dev-java | |
parent | dev-java/colt: treeclean (diff) | |
download | gentoo-0308cae80ad4f2ba9c06b8e057cca6b9e9bae496.tar.gz gentoo-0308cae80ad4f2ba9c06b8e057cca6b9e9bae496.tar.bz2 gentoo-0308cae80ad4f2ba9c06b8e057cca6b9e9bae496.zip |
dev-java/freehep-graphics2d: treeclean
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/freehep-graphics2d/Manifest | 2 | ||||
-rw-r--r-- | dev-java/freehep-graphics2d/freehep-graphics2d-2.4.ebuild | 74 | ||||
-rw-r--r-- | dev-java/freehep-graphics2d/metadata.xml | 11 |
3 files changed, 0 insertions, 87 deletions
diff --git a/dev-java/freehep-graphics2d/Manifest b/dev-java/freehep-graphics2d/Manifest deleted file mode 100644 index c46a7d1e42f7..000000000000 --- a/dev-java/freehep-graphics2d/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST freehep-chartable-converter-plugin-2.2.1.tar.gz 18159 BLAKE2B 3b0c166c00fb2fa86fbb13adf8855ac21907d7397bb62997457e8528c7fd2d88657f7bdd4c820e4561e4303a36730b3826806e0cbc76506d49f27d0a4d528996 SHA512 4caac8b83b9efdee59e2a801bb001fdf7bab144bb5734bdb89ef3e1163bc9ffd05b2c8c59d611665573c432045a854fba28eb4d24260baea5286b34ae298add1 -DIST freehep-vectorgraphics-2.4.tar.gz 4118379 BLAKE2B c8a5840ebab43398a6f87f97855a38f843b0e05267f5446b5f22a0c0124c98717c00801fe93ef3b541b2c53d07176ab1319a27ad26ed177b6dded11e3fa2e7bb SHA512 b5cf083cc6951e7c4b438d5e648f61ca20b23e02163a8cfc4669beaaec2fa9e33338b0ba6875bfe4a3864ac48f9774acfedc2a3b2f59a7488ef99a4817e39382 diff --git a/dev-java/freehep-graphics2d/freehep-graphics2d-2.4.ebuild b/dev-java/freehep-graphics2d/freehep-graphics2d-2.4.ebuild deleted file mode 100644 index 9b6f57c388c4..000000000000 --- a/dev-java/freehep-graphics2d/freehep-graphics2d-2.4.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -CHARTABLE_PN="freehep-chartable-converter-plugin" -CHARTABLE_P="${CHARTABLE_PN}-2.2.1" - -MY_PN="freehep-vectorgraphics" -MY_P="${MY_PN}-${PV}" - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="High Energy Physics Java library - FreeHEP Graphics 2D Library" -HOMEPAGE="http://java.freehep.org/" -SRC_URI="https://github.com/freehep/${MY_PN}/archive/${MY_P}.tar.gz - https://github.com/freehep/${CHARTABLE_PN}/archive/${CHARTABLE_P}.tar.gz" -LICENSE="Apache-2.0 LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -CDEPEND="~dev-java/freehep-graphicsbase-${PV}:${SLOT}" - -DEPEND="${CDEPEND} - >=virtual/jdk-1.7 - test? ( dev-java/junit:4 )" - -RDEPEND="${CDEPEND} - >=virtual/jre-1.7" - -S="${WORKDIR}/${MY_PN}-${MY_P}/${PN}" -JAVA_SRC_DIR="src/main/java" -JAVA_GENTOO_CLASSPATH="freehep-graphicsbase" - -src_compile() { - # This package uses a custom Maven plugin to generate some - # sources. We're not using Maven but we can run it manually. We - # could package the plugin separately but it's not used elsewhere. - - local SRC ENC CP="${WORKDIR}"/${CHARTABLE_PN}-${CHARTABLE_P}/src/main/java CLASS=org/freehep/graphics2d/font/encoding/CharTableConverter - ejavac "${CP}/${CLASS}.java" - - for SRC in src/main/encoding/{Expert,Symbol,Zapfdingbats}.utf-16; do - ebegin "Converting ${SRC}" - java -cp "${CP}" ${CLASS} ${JAVA_SRC_DIR} org.freehep.graphics2d.font ${SRC} || die - eend $? - done - - SRC=src/main/encoding/Latin.utf-16 - - for ENC in ISO MAC WIN PDF STD; do - ebegin "Converting ${SRC} (${ENC})" - java -cp "${CP}" ${CLASS} ${JAVA_SRC_DIR} org.freehep.graphics2d.font ${SRC} ${ENC} || die - eend $? - done - - java-pkg-simple_src_compile -} - -src_test() { - local DIR=src/test/java - local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4,${JAVA_GENTOO_CLASSPATH})" - local TESTS=$(find ${DIR} -name "Test*.java") - TESTS="${TESTS//src\/test\/java\/}" - TESTS="${TESTS//.java}" - TESTS="${TESTS//\//.}" - - ejavac -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java") - ejunit4 -classpath "${CP}" ${TESTS} -} diff --git a/dev-java/freehep-graphics2d/metadata.xml b/dev-java/freehep-graphics2d/metadata.xml deleted file mode 100644 index 496b6e6faccc..000000000000 --- a/dev-java/freehep-graphics2d/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - <upstream> - <remote-id type="github">freehep/freehep-vectorgraphics</remote-id> - </upstream> -</pkgmetadata> |