From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-java/classmate/Manifest | 7 ++++ dev-java/classmate/classmate-0.9.0-r1.ebuild | 47 +++++++++++++++++++++++++ dev-java/classmate/classmate-1.0.0.ebuild | 52 ++++++++++++++++++++++++++++ dev-java/classmate/metadata.xml | 11 ++++++ 4 files changed, 117 insertions(+) create mode 100644 dev-java/classmate/Manifest create mode 100644 dev-java/classmate/classmate-0.9.0-r1.ebuild create mode 100644 dev-java/classmate/classmate-1.0.0.ebuild create mode 100644 dev-java/classmate/metadata.xml (limited to 'dev-java/classmate') diff --git a/dev-java/classmate/Manifest b/dev-java/classmate/Manifest new file mode 100644 index 000000000000..147ac97469a3 --- /dev/null +++ b/dev-java/classmate/Manifest @@ -0,0 +1,7 @@ +DIST classmate-0.9.0.tar.gz 57752 SHA256 6667a959b282b037aaed328fca3131a89c7649a347a72e1d2d4dd40bc8b393f2 SHA512 7fb331c462458c8aab143f23c0d128a0e4e976f9d12bd181eb5658961b217bd1fe0871d056fc38bff794522c8b3118a2a017eab265afffc1d60b5580df1237a2 WHIRLPOOL ecfa56a57d07c1486f92c1a635d5b294b9664994504649a5234daff34935c0f42dc590f55ee1fa3a780399a923728a30e083a809871777e68e78deaf3f6dd45c +DIST classmate-1.0.0.tar.gz 57807 SHA256 eae6fe3a0736d7773856363f2cd176c44cf9bb679974f8fe3add214c16c2f1d3 SHA512 cf721c813674e295fa6c1fe897493d14926d025cab51896ea0cec69ae285a540123060c39e3515daeffa48d6975d060861bf3ca5340bb9273980fee6d92d73b5 WHIRLPOOL ed590fff997700c80c1f4735b809a01599f58112de25248fc626be295e097ac9e1930ce26c140226d3e867733cec58fa7cc7d826e9a57eea351c7dde126902f9 +EBUILD classmate-0.9.0-r1.ebuild 1153 SHA256 724297024e4e658b736a3ee81004340d8abf378f543d82d23637119ae47f404e SHA512 3f65f469845ed7e6d86e6f5e0473cac8d0a6c606270a0c256a01f78a5896267c975bf4b9dfbb4f36e25092c20e2baa1fc808ceb1ac18227aba3bee18ba24cfe4 WHIRLPOOL f721ec75de09e259744f960d764fa340be6dcd3b12904206deac1164da33375bc396e3e59615a07528257df89e58cdc3b014cd969d81ce5c367959194f207360 +EBUILD classmate-1.0.0.ebuild 1161 SHA256 2c52c4979464837dd912355ad933f91aa31f16e22de4163732b1769bb7a12fa2 SHA512 d38fc03c084a8b941c8d6b6b2a8a5d07b2f092b416afc93b392c73c85eae14dd48485b223d61a14ac359c3526daf71bfe512d1080624b3d32f0562160a6a1ae3 WHIRLPOOL 4a668b53cbd133e9adbd6b9ee0545f5c77a955b66298077e181238fd4779e11b0ac8b79ae770def58c8ae7adc47fe001481d1c5e3611cd7d556d024a97a612c4 +MISC ChangeLog 3607 SHA256 e467625d8673314a876f781f65190cea77ef5a9096d00d4882a7b72377aef2d3 SHA512 b6483385257db6c6ec419f07d45b55ba29581ecf14c279128ba7593b5f822254ffde8c07541425a3c059fa1baeef34ddfa75a9254c6a549f5275c151e24f11cb WHIRLPOOL 21569a97d59fcc771c06687e16e3f5ca6febde6441c63feebe40539f3930ddfb858a8738b8afa96652508303949e2ff3bab70afb85746ecd66267cc332dc0ffa +MISC ChangeLog-2015 389 SHA256 0aefc8bcfbec00d16b5da703d15f8cf4fe6931e6bf63030ad0b7f7fcefcfecb7 SHA512 d5054fb75a5cb0d06ee943cb22445c685b1569e95d3969104ddd499ffdf09013e943e0d55384c7d68bd5dc6c95890625c1401379219011bb7dfab1eec97602de WHIRLPOOL 39a1063e8f17dede8116d6565698d36f630bef5ffa810988096bb553e6b30feb3b488d4227cc8e76fd5f938f925e9a8e4cb3883b24aaba3aa1d653089a3f93d8 +MISC metadata.xml 328 SHA256 d49962f50d454867829b3b28c824b0ad6b6dcb2a84b054a534523a1c9c5abae1 SHA512 ed87fc70d548ed88634183da0afb2548e74bbf5f7435edfa25e71392438df87cc1e18aa90264519009f445810ccd750626460dccb66e0f68ac844c44ba8d9430 WHIRLPOOL c6d41c6cb6cf19edaa577b019e573636058b6fd43e4b238e0d12176d3b673dbab13e00af825cd0b3ed3a1a129bf3026f829a78e96d2903a3476dbda491e0ad02 diff --git a/dev-java/classmate/classmate-0.9.0-r1.ebuild b/dev-java/classmate/classmate-0.9.0-r1.ebuild new file mode 100644 index 000000000000..f6deb6b4e717 --- /dev/null +++ b/dev-java/classmate/classmate-0.9.0-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 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 vcs-snapshot + +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}/${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} +} diff --git a/dev-java/classmate/classmate-1.0.0.ebuild b/dev-java/classmate/classmate-1.0.0.ebuild new file mode 100644 index 000000000000..14bf78fc27ec --- /dev/null +++ b/dev-java/classmate/classmate-1.0.0.ebuild @@ -0,0 +1,52 @@ +# 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} +} diff --git a/dev-java/classmate/metadata.xml b/dev-java/classmate/metadata.xml new file mode 100644 index 000000000000..b333734bceaa --- /dev/null +++ b/dev-java/classmate/metadata.xml @@ -0,0 +1,11 @@ + + + + + java@gentoo.org + Java + + + cowtowncoder/java-classmate + + -- cgit v1.2.3