summaryrefslogtreecommitdiff
path: root/dev-java/japitools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/japitools
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/japitools')
-rw-r--r--dev-java/japitools/Manifest3
-rw-r--r--dev-java/japitools/japitools-0.9.7-r4.ebuild50
-rw-r--r--dev-java/japitools/metadata.xml16
3 files changed, 69 insertions, 0 deletions
diff --git a/dev-java/japitools/Manifest b/dev-java/japitools/Manifest
new file mode 100644
index 000000000000..eab9938b7d1c
--- /dev/null
+++ b/dev-java/japitools/Manifest
@@ -0,0 +1,3 @@
+DIST japitools-0.9.7.tar.gz 92537 BLAKE2B 00dd8f7586cbf08aab0bfce9eda477d37798dae17f5d517b1e6ba091604cc2eb6216bd9a9f84be9ccec147cc4f366172a86d8b53f276a3dc33f414ea67d74d2b SHA512 28e2ecb76d8b180134904ec7aef5b15c60b02be32ef2519886eb38bb468f80ab59abb7ce27752ddbd380a3ef580e8435a983cc17797f3147933894786fd8e52d
+EBUILD japitools-0.9.7-r4.ebuild 897 BLAKE2B 1b51b53ee6bed382ad5edb6bdc20389ab95e116a3586aa56e04fbfcc0514e6d8a44d02fa2e6175020c98179cb4263d849e8e9ff9429689c4b0eabe6ad678f050 SHA512 14179276f3df2934ac8eaafc136808ec0e56a00da3ba6c7ebac55fd600344329b8b5f4481776ef0ec683bd7b620cc2a445aeac80e7a76d383983f32ab7a00f2f
+MISC metadata.xml 566 BLAKE2B 82235344744651fbe502c987cccf6f285f1074eeac226de22fc315cb81408e8ff9922ba96abb9e41bbe4a85f619ea363b17abcbb9f854321f8f275f68226fda4 SHA512 5698677c3bce76843a148c771e9c0d66012a642fe4c2c378eed27ffe0f4fb914ef5596a2ab1895167ae8637306c912b8e4f78d764c8b705c194327e6ff2c601f
diff --git a/dev-java/japitools/japitools-0.9.7-r4.ebuild b/dev-java/japitools/japitools-0.9.7-r4.ebuild
new file mode 100644
index 000000000000..a8dd8eb2d0b6
--- /dev/null
+++ b/dev-java/japitools/japitools-0.9.7-r4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java API compatibility testing tools"
+HOMEPAGE="http://sab39.netreach.com/japi/"
+SRC_URI="http://www.kaffe.org/~stuart/japi/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+RESTRICT="test"
+
+CDEPEND="dev-java/ant-core:0"
+
+RDEPEND="
+ dev-lang/perl
+ ${CDEPEND}
+ >=virtual/jre-1.7"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.7"
+
+S="${WORKDIR}/${P}"
+
+JAVA_GENTOO_CLASSPATH="ant-core"
+JAVA_SRC_DIR="src"
+
+src_prepare() {
+ default
+
+ rm bin/*.bat || die
+ sed -e "s:\.\./share/java:../share/${PN}/lib:" -i bin/* \
+ || die "Failed to correct the location of the jar file in perl scripts."
+
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ dobin bin/*
+
+ java-pkg-simple_src_install
+ java-pkg_register-ant-task
+}
diff --git a/dev-java/japitools/metadata.xml b/dev-java/japitools/metadata.xml
new file mode 100644
index 000000000000..d3913f579046
--- /dev/null
+++ b/dev-java/japitools/metadata.xml
@@ -0,0 +1,16 @@
+<?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>
+
+<longdescription>
+Japitools consists of two simple tools designed to test for compatibility
+between Java APIs. They were originally designed for testing free implementations
+of Java itself for compatibility with Sun's JDK, but they can also be used for
+testing backward compatibility between versions of any API.
+</longdescription>
+
+</pkgmetadata>