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/jackson-annotations/Manifest | 5 +++ .../jackson-annotations-2.8.5.ebuild | 46 ++++++++++++++++++++++ dev-java/jackson-annotations/metadata.xml | 11 ++++++ 3 files changed, 62 insertions(+) create mode 100644 dev-java/jackson-annotations/Manifest create mode 100644 dev-java/jackson-annotations/jackson-annotations-2.8.5.ebuild create mode 100644 dev-java/jackson-annotations/metadata.xml (limited to 'dev-java/jackson-annotations') diff --git a/dev-java/jackson-annotations/Manifest b/dev-java/jackson-annotations/Manifest new file mode 100644 index 000000000000..23a421233360 --- /dev/null +++ b/dev-java/jackson-annotations/Manifest @@ -0,0 +1,5 @@ +DIST jackson-annotations-2.8.5.tar.gz 44906 SHA256 31484a8151cb1918b502ddac6d926a8ddc1cfa0f697b92b98c53a37eceacdbda SHA512 2d98a51c0e3b44e3ac2fe47647b0c7499d7b978cd46df275807e3802ba877717a6c2f620edfe581f31ef947de7096950816104250989eebf029d7a5bf1b53381 WHIRLPOOL 3c4f71b4724cece49f6b943d0744ce4f917d313835d2733cf631a6e3d6d2145941cc61a98a9da1600de84b5c53413986f221aa90b076ce90f1c124c22f0f7aef +EBUILD jackson-annotations-2.8.5.ebuild 1039 SHA256 e023a10968a46dd9f98ef2658638e35425c245c0938778030c2f54a64da84383 SHA512 c5b3aaa3fdb15c111ced4a3ad2f3f5772a764d3ccc6e8a8f137c7f956a9134379bc8283bceca0eb5108281c1a7e14b5709b0221615a681f973482984cd010eae WHIRLPOOL 8fdce00be9758eaf48cb122d4ff51ad10b3727cfafbdf07e295f572853b7a719eea82d3f1d461d34c4f720ed888fcb874a29394fa33981a4b3864f81ca1dc3a1 +MISC ChangeLog 3072 SHA256 229d6c21e6fe69cabcfd6361573990034404c4ae7e9e44fc241ac025911a0dd2 SHA512 4dc454dece5f01420989ebcdbcfde376561889c4bf544cac9bf845914058ff249cba30ea1d00df5d07cbbc57271f99e3398401c85a47f7a5f1e310fdc38684eb WHIRLPOOL 42495a2f33cb284b2165efa8c596ac58421478209e053ce08c37d35eddbdd104411b4d5ad2af300c1cb40063a55db7e26c18bd418936828f3077f1aa27d77f82 +MISC ChangeLog-2015 768 SHA256 8cf45ac4175d7f52b6e7791d75ce9595d3f431faa30c7f852b7b2bbae5fd7a66 SHA512 3b37fdf622a57b9cdc23f40d803370869266035b057458e9728fb20c73912b8977e8be82609576b2770746adf4888f2a3f907548cfbc998cc200cc8d06ecf3fc WHIRLPOOL f15742d92f073ef7226db0ce66a532002da2d1834d3ef4ea61b64dfd0c17117cfbd677d344b6f28f3bb3f9bfc9026a38ae4108d0b9e673734be72719ab246087 +MISC metadata.xml 340 SHA256 736ca00761d8eb8711bde1177233122a08444d0e396d0c2c09304b39fdf1261c SHA512 52a2836de2359eb77cf2ff83ecc97efb34e19028261cb69655808cb2e939bb1120eaa4e3dcfac242747998ca397caabcf9ca4448e52c8a9772558f3ebf4037f7 WHIRLPOOL c9f7db76b622485c2e7cfbb3e9ac6895380e9efbd1598a06655c152a603e7b6e78ad6b4086d6d83f880508487e28ea894df1e5b5dfa6f802c5b3fe954efca944 diff --git a/dev-java/jackson-annotations/jackson-annotations-2.8.5.ebuild b/dev-java/jackson-annotations/jackson-annotations-2.8.5.ebuild new file mode 100644 index 000000000000..983a3502db4a --- /dev/null +++ b/dev-java/jackson-annotations/jackson-annotations-2.8.5.ebuild @@ -0,0 +1,46 @@ +# 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="Annotations for the Java Jackson data processor" +HOMEPAGE="https://github.com/FasterXML/jackson-annotations" +SRC_URI="https://github.com/FasterXML/${PN}/archive/${PN}-${PV}.tar.gz" +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=">=virtual/jre-1.7" + +DEPEND=">=virtual/jdk-1.7 + test? ( dev-java/junit:4 )" + +S="${WORKDIR}/${PN}-${P}" +JAVA_SRC_DIR="src/main/java" + +src_install() { + java-pkg-simple_src_install + dodoc README.md release-notes/VERSION +} + +src_compile() { + java-pkg-simple_src_compile + java-pkg_addres ${PN}.jar src/main/resources +} + +src_test() { + cd src/test/java || die + + local CP=".:${S}/${PN}.jar:$(java-pkg_getjars junit-4)" + local TESTS=$(find * -name "*Test.java") + TESTS="${TESTS//.java}" + TESTS="${TESTS//\//.}" + + ejavac -cp "${CP}" -d . $(find * -name "*.java") + ejunit4 -classpath "${CP}" ${TESTS} +} diff --git a/dev-java/jackson-annotations/metadata.xml b/dev-java/jackson-annotations/metadata.xml new file mode 100644 index 000000000000..4e2290156ae9 --- /dev/null +++ b/dev-java/jackson-annotations/metadata.xml @@ -0,0 +1,11 @@ + + + + + java@gentoo.org + Java + + + FasterXML/jackson-annotations + + -- cgit v1.2.3