diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-java/classmate/classmate-1.0.0.ebuild | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/classmate/classmate-1.0.0.ebuild')
-rw-r--r-- | dev-java/classmate/classmate-1.0.0.ebuild | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/dev-java/classmate/classmate-1.0.0.ebuild b/dev-java/classmate/classmate-1.0.0.ebuild deleted file mode 100644 index 14bf78fc27ec..000000000000 --- a/dev-java/classmate/classmate-1.0.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2015 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-pkg-simple - -DESCRIPTION="Zero-dependency Java library for accurately introspecting type information" -HOMEPAGE="https://github.com/cowtowncoder/java-classmate/" -SRC_URI="https://github.com/cowtowncoder/java-classmate/archive/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="" - -RDEPEND=" - >=virtual/jre-1.6" - -DEPEND=" - >=virtual/jdk-1.6 - test? ( - dev-java/junit:4 - )" - -S="${WORKDIR}/java-${PN}-${P}" - -JAVA_SRC_DIR="src/main/java" - -# This one test is buggy. -JAVA_RM_FILES=( - src/test/java/com/fasterxml/classmate/AnnotationsTest.java -) - -java_prepare() { - rm pom.xml || die -} - -src_test() { - testcp="${S}/${PN}.jar:$(java-pkg_getjars junit-4):target/tests" - - mkdir target/tests || die - ejavac -cp "${testcp}" -d target/tests $(find src/test/java -name "*.java") - - tests=$(find target/tests -name "*Test.class" -not -name "BaseTest.class" \ - | sed -e 's/target\/tests\///g' -e "s/\.class//" -e "s/\//./g" \ - | grep -vP '\$'); - ejunit4 -cp "${testcp}" ${tests} -} |