summaryrefslogtreecommitdiff
path: root/dev-java/jackson-databind
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/jackson-databind
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/jackson-databind')
-rw-r--r--dev-java/jackson-databind/Manifest5
-rw-r--r--dev-java/jackson-databind/jackson-databind-2.8.5.ebuild68
-rw-r--r--dev-java/jackson-databind/metadata.xml11
3 files changed, 84 insertions, 0 deletions
diff --git a/dev-java/jackson-databind/Manifest b/dev-java/jackson-databind/Manifest
new file mode 100644
index 000000000000..9512c7e47d85
--- /dev/null
+++ b/dev-java/jackson-databind/Manifest
@@ -0,0 +1,5 @@
+DIST jackson-databind-2.8.5.tar.gz 1093933 SHA256 375f20c52fef47473c1b5ef414ebb5f1a38abbe69592d6193657a84709641d1c SHA512 6935b469804fc14a5d2e562c80449c4e3368256358b8ed2a0d5a0bf2bcea47385ef19a708b94f25e450f42f6f70e868d6fc79f22cdc2fb6f88a4faf35bfc3cb7 WHIRLPOOL ced41007e87cd9d7b65e6421a5d2a8299ab87ad0ec333b3426e075e42e4b7fab10693f62eaa3b7718f704a3be347dbce24b56be5764dbe9b90a6cf6c46825223
+EBUILD jackson-databind-2.8.5.ebuild 1864 SHA256 82e2399d242f58b97ce6b14e92d94143095c64b3a2c3423637685fb8b60a5591 SHA512 4990afed70541489c06fc01aaa08ade57c266b3353cf8f4cd09f176808326074dc8a6689321ebf222c113ecfa459a8d800fe7469f73bc86259d8b2dbe309f9a8 WHIRLPOOL 78731f864602539e6dad9ec4ed4fb380f3bb49d2da55fe5dc540274b79649936335eb35336ecd6ce65f4db27c0cf6f5ab642dff0802103909e0fe80351b349ef
+MISC ChangeLog 3104 SHA256 8d9640fc79ba115dec30ba37ced59ee99552228e0d1166c5e6063bebd3ed71f4 SHA512 08a9b88093ac864c453ee0f1fd95f7fe29c0d41c11a24ae065b4dc72611269788674b8af5097d67990d07f78561541b6cc2c1b00366ad9efd6feb1543da7d13d WHIRLPOOL c2400522d1ce7f273a3ec0dc0c3b893a43ef939ef00ceabebcc646c2a2dd0537dcb52c81d21b800e6329f123630d61908c0b1da07bacfc85c50baa21fe4b6d1c
+MISC ChangeLog-2015 1117 SHA256 2cb14b27f076e1dc9764638152c818787d875042f64b103e88b741a85776f6a5 SHA512 6529171104886521f13daebe52d5bff32fe6cca6942a6c6cd592e35af47f85afe17b03c42be94368c4c111cd2c0811254d577b5ac14e0688d3f20852467621c3 WHIRLPOOL 26fe881c3c82df4a2e76f3273a8160ad0c9158f00c6561e56fa6034c4a8d49fd11db1af45b81eaed508d006d233bb8892d71f760b3410c766b4f3b73a8557b11
+MISC metadata.xml 337 SHA256 40f5f8d47dfd457e049763c0ae3374fc41bb064c9352507250ea7515ac63c5a9 SHA512 1266365fb582e8a7aa2477bad93e7222f03bf656b952bcc0943087884adb0eb4686ceca8feb0ea1912fd81aa62cf89b7949cb69b2a1737d820de0c7ce1c124f3 WHIRLPOOL 0021c5a4ee918b51bd13e9d85f36ef87e80b0854d4de92d6b592ef75be109fdd697edb04a40b66385a3b476573fdcf63f3cec84aeb57ef69125d8071df85b850
diff --git a/dev-java/jackson-databind/jackson-databind-2.8.5.ebuild b/dev-java/jackson-databind/jackson-databind-2.8.5.ebuild
new file mode 100644
index 000000000000..b999673fd45c
--- /dev/null
+++ b/dev-java/jackson-databind/jackson-databind-2.8.5.ebuild
@@ -0,0 +1,68 @@
+# 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="Data-binding functionality and tree-model for the Java Jackson data processor"
+HOMEPAGE="https://github.com/FasterXML/jackson-databind"
+SRC_URI="https://github.com/FasterXML/${PN}/archive/${PN}-${PV}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="test" # Missing deps.
+
+CP_DEPEND="~dev-java/jackson-${PV}:${SLOT}
+ ~dev-java/jackson-annotations-${PV}:${SLOT}"
+
+RDEPEND=">=virtual/jre-1.7
+ ${CP_DEPEND}"
+
+DEPEND=">=virtual/jdk-1.7
+ ${CP_DEPEND}
+ test? ( dev-java/junit:4 )"
+
+S="${WORKDIR}/${PN}-${P}"
+JAVA_SRC_DIR="src/main/java"
+
+src_prepare() {
+ default
+
+ sed -e 's:@package@:com.fasterxml.jackson.databind.cfg:g' \
+ -e "s:@projectversion@:${PV}:g" \
+ -e 's:@projectgroupid@:com.fasterxml.jackson.core:g' \
+ -e 's:@projectartifactid@:jackson-databind:g' \
+ "${JAVA_SRC_DIR}/com/fasterxml/jackson/databind/cfg/PackageVersion.java.in" \
+ > "${JAVA_SRC_DIR}/com/fasterxml/jackson/databind/cfg/PackageVersion.java" || die
+
+ # Requires newer JScience. Could be any class but they chose this!
+ rm "${S}/src/test/java/com/fasterxml/jackson/databind/introspect/NoClassDefFoundWorkaroundTest.java" || die
+
+ java-pkg-2_src_prepare
+}
+
+src_compile() {
+ java-pkg-simple_src_compile
+ java-pkg_addres ${PN}.jar src/main/resources
+}
+
+src_install() {
+ java-pkg-simple_src_install
+ dodoc README.md release-notes/{CREDITS,VERSION}
+}
+
+src_test() {
+ cd src/test/java || die
+
+ local CP=".:../resources:${S}/${PN}.jar:$(java-pkg_getjars junit-4,${JAVA_GENTOO_CLASSPATH})"
+ 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-databind/metadata.xml b/dev-java/jackson-databind/metadata.xml
new file mode 100644
index 000000000000..ddac6dfb29cc
--- /dev/null
+++ b/dev-java/jackson-databind/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-databind</remote-id>
+ </upstream>
+</pkgmetadata>