summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2016-11-24 22:59:22 +0000
committerJames Le Cuirot <chewi@gentoo.org>2016-11-26 22:22:08 +0000
commit835bba1504720269d30de4564c1f3035ec5ff117 (patch)
treecf46f2f88e9cbbd66c99c9229441599066105e27
parentdev-java/jackson: Version bump to 2.8.5 (diff)
downloadgentoo-835bba1504720269d30de4564c1f3035ec5ff117.tar.gz
gentoo-835bba1504720269d30de4564c1f3035ec5ff117.tar.bz2
gentoo-835bba1504720269d30de4564c1f3035ec5ff117.zip
dev-java/jackson-annotations: Version bump to 2.8.5
Package-Manager: portage-2.3.2
-rw-r--r--dev-java/jackson-annotations/Manifest1
-rw-r--r--dev-java/jackson-annotations/jackson-annotations-2.8.5.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-java/jackson-annotations/Manifest b/dev-java/jackson-annotations/Manifest
index eec1e4771be..d2b85aa4cde 100644
--- a/dev-java/jackson-annotations/Manifest
+++ b/dev-java/jackson-annotations/Manifest
@@ -1,2 +1,3 @@
DIST jackson-annotations-2.5.1.tar.gz 30360 SHA256 420d3ec38878c63d674500878539d1f32917e3aac1b9d53461020c01629d9f18 SHA512 3ff90be8927db847379371c5997a7f37bd55b368cd884b50913f454c704e10ac7819072409533cc6b8441dcb239c3694332ae8e800590d2b9c6701cccdc65364 WHIRLPOOL 04a484acf05db44e599da61388b288e5a9f9fff7289740d8620d8b4b1b6201fa4bc3722c5266904b28ab97caca84e7a4bcb67864c1b52b91ba96bc0c92ad3ef5
DIST jackson-annotations-2.5.2.tar.gz 30595 SHA256 2fd41931f638343db03ab6987e8d6e4639f349377c09f77814ce47d4e0089d18 SHA512 3cf7c9fc8b3a5328dcba502cee504caf8426111b9f49f32d23bd57dd8ec28bdbd3cb361c0b2cfdcbb1ea211fc0895f418a23e97464285255e733dfaa9a81805b WHIRLPOOL 7140ec369b57c257699db146e4730844ef3ffc17831ac2cca2dd0b0f8bf9b736c364ec60eb858406211d82e96e362bc352db4b64016346cf74d3fff2bfe196fa
+DIST jackson-annotations-2.8.5.tar.gz 44906 SHA256 31484a8151cb1918b502ddac6d926a8ddc1cfa0f697b92b98c53a37eceacdbda SHA512 2d98a51c0e3b44e3ac2fe47647b0c7499d7b978cd46df275807e3802ba877717a6c2f620edfe581f31ef947de7096950816104250989eebf029d7a5bf1b53381 WHIRLPOOL 3c4f71b4724cece49f6b943d0744ce4f917d313835d2733cf631a6e3d6d2145941cc61a98a9da1600de84b5c53413986f221aa90b076ce90f1c124c22f0f7aef
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 00000000000..6103e9e7102
--- /dev/null
+++ b/dev-java/jackson-annotations/jackson-annotations-2.8.5.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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}
+}