summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/jackson-dataformat-xml/ChangeLog11
-rw-r--r--dev-java/jackson-dataformat-xml/Manifest26
-rw-r--r--dev-java/jackson-dataformat-xml/jackson-dataformat-xml-2.5.1.ebuild63
-rw-r--r--dev-java/jackson-dataformat-xml/metadata.xml10
4 files changed, 110 insertions, 0 deletions
diff --git a/dev-java/jackson-dataformat-xml/ChangeLog b/dev-java/jackson-dataformat-xml/ChangeLog
new file mode 100644
index 000000000000..65df0c5b96b8
--- /dev/null
+++ b/dev-java/jackson-dataformat-xml/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/jackson-dataformat-xml
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jackson-dataformat-xml/ChangeLog,v 1.1 2015/03/05 23:23:27 chewi Exp $
+
+*jackson-dataformat-xml-2.5.1 (05 Mar 2015)
+
+ 05 Mar 2015; James Le Cuirot <chewi@gentoo.org>
+ +jackson-dataformat-xml-2.5.1.ebuild, +metadata.xml:
+ New package required by Log4j 2. It would be optional but we cannot yet skip
+ dependencies at build time. Unfortunately the tests are quite explosive. A new
+ Woodstox is possibly needed?
diff --git a/dev-java/jackson-dataformat-xml/Manifest b/dev-java/jackson-dataformat-xml/Manifest
new file mode 100644
index 000000000000..5630a1d70df6
--- /dev/null
+++ b/dev-java/jackson-dataformat-xml/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST jackson-dataformat-xml-2.5.1.tar.gz 90436 SHA256 e5281b076d11a689c485326a30eecd422c11c36578fcb344079ffbbe09f04aff SHA512 e780f28d650b843ab80710acd20ba67d74dc4c567633eb12e0b82102880bbd0d4cd2e9a0869587bb03a1038a1380076c174e04c7fdc1d1eaa2896bf36562967a WHIRLPOOL 8581d83343b09a009b9d9b0c3bb1e5f3e40e8c57a2dfd5eba7bdbd6804c52d2d1e35183995a7a6efcb61761843943f1231e0b61ef826d8d9190b216f4ca77f1a
+EBUILD jackson-dataformat-xml-2.5.1.ebuild 2029 SHA256 209d819764c201ea5f3cef48d780f99eb58012f9c3a626ff91dc1ef8b70f5400 SHA512 054927020a27fca3212e94d9aa5a07e73ff53785d63af9abe8fd33f54b7c85e052805b0fd2d402b811b3d07093992f1b8cc493897ea420e76e2e58a938d412b0 WHIRLPOOL 7fbabccda07378dfc3823cb58cff91f7dfd3bca88fdf39e131273a869fca7bbcd215a4cdbf6aac220c4a61199f9623579832815e58e6e86ab69112abae75ea67
+MISC ChangeLog 575 SHA256 3d3bf480230d79ac1e9a5e4963f58924cea5e292083348f1cae68b232f651c37 SHA512 9bc69997a3455a1cba1fd10a7cb8b255ef7a5a1a5245d9fe957161ee54afe55485e9e9d9dbfd093819ebdcf62d5bad742d602a3c41bb472db3925f381dfe86cf WHIRLPOOL b13e389764eff8e911d70131d2558f973969f7b89f1e71e7bd07c7c0583784afa555fb742bc3999a39ddbb707589bfb4ad8eb42ca328f09ecb5370a0b3a6e736
+MISC metadata.xml 681 SHA256 f1020e75dc1d8e480f8e2ad88698de1504fd9bb970931a2bd96be49396ee4e10 SHA512 4923efefbbab9ba4b154bf21a7a99f2e8630ede99ade3ba68e221de4f01fe330a534a29d6917b3cf551deba92180c8f9617d11a02f9d5060038ca81f36fab5e2 WHIRLPOOL 280a11abe957b23128c2f47dae56cefe2529862a15e568d253cfd81a6dd00828297281fee63d149b182c5716d6f7782e7b472217e00869803e3cc96aef034e05
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0
+
+iQJ8BAEBCABmBQJU+OV1XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1MjhERTZCRDg2OTFBNDM5MUZEQTJFRDQy
+MUM2MzIxMjlDNkQ3REU0AAoJECHGMhKcbX3klJkP/RyNMTgdhrE+1jtxhbqRVEsD
+crw5qTas9Dn5Ocr8AuULvlcT6VPu+ecEwU9c69ACJi9v1V3kV4hFVzB8WKAFBAEy
+6ZxQ4HJQGen5yEMzl3FP8qwkhM9gJUjkX9tmJddsrwc45R+TdLstFEDHFtQvtTn2
+5M/4uj4QTVFt2gjE/y0feJCQVp+Aa3zSfOk7r2RsSzJ9peD5SDYpjEqOEVWl4QHM
+biNvX5VwW2rZ7lbrxegbCaWVwytcWO7ZIEnrNQpuP9qhVtsQnlB9ZG9WZ09Mh4Yt
+ubijT7591aCapmUFu5p/Z6J8bjWvONkckh1mlcbPacIZh3Twb8l9qP9tgQbYeIz3
+giysDpLTbDo64VMVDpOYaCehPRxOKYOc8MF/9hHL1NQl8CWql1BvaSrSSdyfVZcb
+6RcFcPcVGBw6sRxDVJazwmVHxUe3Vz4JdW/6OcIZGfSeW/15js2fCxF35l2f47Dp
+UoMPKVb1fHpXYrWQhzR/gtySEEodH0htlGBTP5V71i4DAP7Hi8IaHgWqKgUV5TCn
+qLapzLvicPFK/5R3tsspTU/ELvciASC2+Sn4g32GuXsOtZsmrB/75IgiboX6Wbx3
+V+nTTyA+jZL2kCYULcXBTKBBRV+pR+AhfFoATC7N8Hl/ib1jtXG9wFzRJmsFctM0
+Sls3N02RjmLWVIhM4ri5
+=bS1V
+-----END PGP SIGNATURE-----
diff --git a/dev-java/jackson-dataformat-xml/jackson-dataformat-xml-2.5.1.ebuild b/dev-java/jackson-dataformat-xml/jackson-dataformat-xml-2.5.1.ebuild
new file mode 100644
index 000000000000..e9688142df89
--- /dev/null
+++ b/dev-java/jackson-dataformat-xml/jackson-dataformat-xml-2.5.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jackson-dataformat-xml/jackson-dataformat-xml-2.5.1.ebuild,v 1.1 2015/03/05 23:23:27 chewi Exp $
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="XML data format extension for Jackson"
+HOMEPAGE="https://github.com/FasterXML/jackson-dataformat-xml"
+SRC_URI="https://github.com/FasterXML/${PN}/archive/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="test" # Lots of failures, new Woodstox needed?
+
+CDEPEND="~dev-java/jackson-${PV}:${SLOT}
+ ~dev-java/jackson-annotations-${PV}:${SLOT}
+ ~dev-java/jackson-databind-${PV}:${SLOT}
+ ~dev-java/jackson-module-jaxb-annotations-${PV}:${SLOT}
+ dev-java/stax2-api:0"
+RDEPEND=">=virtual/jre-1.5
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.5
+ ${CDEPEND}
+ test? (
+ dev-java/hamcrest-core:1.3
+ dev-java/junit:4
+ )"
+
+S="${WORKDIR}/${PN}-${P}/src"
+JAVA_SRC_DIR="main/java"
+JAVA_GENTOO_CLASSPATH="jackson-${SLOT},jackson-annotations-${SLOT},jackson-databind-${SLOT},jackson-module-jaxb-annotations-${SLOT},stax2-api"
+
+java_prepare() {
+ sed -e 's:@package@:com.fasterxml.jackson.dataformat.xml:g' \
+ -e "s:@projectversion@:${PV}:g" \
+ -e 's:@projectgroupid@:com.fasterxml.jackson.dataformat:g' \
+ -e 's:@projectartifactid@:jackson-dataformat-xml:g' \
+ "${S}/main/java/com/fasterxml/jackson/dataformat/xml/PackageVersion.java.in" \
+ > "${S}/main/java/com/fasterxml/jackson/dataformat/xml/PackageVersion.java" || die
+}
+
+src_install() {
+ java-pkg-simple_src_install
+ dodoc ../README.md ../release-notes/{CREDITS,VERSION}
+}
+
+src_test() {
+ cd test/java || die
+
+ local CP=".:../resources:${S}/${PN}.jar:$(java-pkg_getjars hamcrest-core-1.3,junit-4,${JAVA_GENTOO_CLASSPATH})"
+ local TESTS=$(find * -name "Test*.java" ! -path "*/failing/*")
+ TESTS="${TESTS//.java}"
+ TESTS="${TESTS//\//.}"
+
+ ejavac -cp "${CP}" -d . $(find * -name "*.java")
+ ejunit4 -classpath "${CP}" ${TESTS}
+}
diff --git a/dev-java/jackson-dataformat-xml/metadata.xml b/dev-java/jackson-dataformat-xml/metadata.xml
new file mode 100644
index 000000000000..e5c27c617fe8
--- /dev/null
+++ b/dev-java/jackson-dataformat-xml/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription>
+ This projects contains Jackson extension component for reading and writing XML encoded data.
+
+ Further, the goal is to emulate how JAXB data-binding works with "Code-first" approach (that is, no support is added for "Schema-first" approach). Support for JAXB annotations is provided by JAXB annotation module; this module provides low-level abstractions (JsonParser, JsonGenerator, JsonFactory) as well as small number of higher level overrides needed to make data-binding work.
+ </longdescription>
+</pkgmetadata>