summaryrefslogtreecommitdiff
path: root/dev-java/jackson-annotations
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/jackson-annotations
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/jackson-annotations')
-rw-r--r--dev-java/jackson-annotations/Manifest3
-rw-r--r--dev-java/jackson-annotations/jackson-annotations-2.8.5.ebuild46
-rw-r--r--dev-java/jackson-annotations/metadata.xml11
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-java/jackson-annotations/Manifest b/dev-java/jackson-annotations/Manifest
new file mode 100644
index 000000000000..94f5e365490e
--- /dev/null
+++ b/dev-java/jackson-annotations/Manifest
@@ -0,0 +1,3 @@
+DIST jackson-annotations-2.8.5.tar.gz 44906 BLAKE2B bea484d1b7b7312ff83f87f373fdcecb718b62f1d694ee687df8da7d3f09d70007bc4a6da111a57bed14b2a7921c71825b966f6709f3e143ce9f6fbf6069b45a SHA512 2d98a51c0e3b44e3ac2fe47647b0c7499d7b978cd46df275807e3802ba877717a6c2f620edfe581f31ef947de7096950816104250989eebf029d7a5bf1b53381
+EBUILD jackson-annotations-2.8.5.ebuild 1039 BLAKE2B ec39892afc0cfd82680a94cb84104e60f0a881143000f7ea91cf4ef33dfa87199f2c4f4fe02e64ddc7df77f92cfa246c626ddf6ece32185c9834ca2afe773428 SHA512 c5b3aaa3fdb15c111ced4a3ad2f3f5772a764d3ccc6e8a8f137c7f956a9134379bc8283bceca0eb5108281c1a7e14b5709b0221615a681f973482984cd010eae
+MISC metadata.xml 340 BLAKE2B a9f7d89117ded69cf6f51d86ad904597123d218e694938716deafd4fa66f0308777eaf89a42f1b8c030b0fb23646ddbfd5dfddebe8a17562bc332cf8f174b469 SHA512 52a2836de2359eb77cf2ff83ecc97efb34e19028261cb69655808cb2e939bb1120eaa4e3dcfac242747998ca397caabcf9ca4448e52c8a9772558f3ebf4037f7
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 @@
+<?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>
+ <upstream>
+ <remote-id type="github">FasterXML/jackson-annotations</remote-id>
+ </upstream>
+</pkgmetadata>