summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/jackson/ChangeLog10
-rw-r--r--dev-java/jackson/Manifest19
-rw-r--r--dev-java/jackson/files/2.3.1-build.xml100
-rw-r--r--dev-java/jackson/jackson-2.3.1.ebuild53
4 files changed, 172 insertions, 10 deletions
diff --git a/dev-java/jackson/ChangeLog b/dev-java/jackson/ChangeLog
index 1295ca920828..b9395b5e65af 100644
--- a/dev-java/jackson/ChangeLog
+++ b/dev-java/jackson/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/jackson
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jackson/ChangeLog,v 1.1 2013/10/14 16:59:09 ercpe Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jackson/ChangeLog,v 1.2 2014/01/12 18:19:01 ercpe Exp $
+
+*jackson-2.3.1 (12 Jan 2014)
+
+ 12 Jan 2014; Johann Schmitz <ercpe@gentoo.org> +files/2.3.1-build.xml,
+ +jackson-2.3.1.ebuild:
+ Version bump of jackson to 2.3.1
*jackson-1.9.13 (14 Oct 2013)
diff --git a/dev-java/jackson/Manifest b/dev-java/jackson/Manifest
index a0ef40e2c79d..2fda2d739483 100644
--- a/dev-java/jackson/Manifest
+++ b/dev-java/jackson/Manifest
@@ -1,18 +1,21 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX 2.3.1-build.xml 4545 SHA256 f4df2a593fb4ca996189a3b9c3e181a520cf9b2549b2b80990fbdf600c67f406 SHA512 adfad4033b5fa9f98fdf08e9e4e8ca3bd1b8988a9794109a4611b917b49e3d63231fabe18fca89d0222f82a066ed9d29d5d796279f3acd76c3430133114a5676 WHIRLPOOL c958e2c3299845d62aaf1e16be2e15fe33284ff6008fd45352a025a8e6669fab22b250ee8ecef2c74f437f992de6a54cc221cb6e517b5f48b2cb5bec09d9d868
+DIST jackson-core-2.3.1.tar.gz 249262 SHA256 51e6a8caeda8cf907992c352323bcc448c7d34d8b32bbd51ec08e40a43a0a4b1 SHA512 a9785e6bb841da305109868f609e0ba8a5e3618950bbd8366074e5edd9392ec207f0feb9067ec0a9960f9bf60ddd97d074e1c52838025889789612d197de0cb3 WHIRLPOOL 5c72dc7c2e02736bce98bc553cbd94599176c1755114aed8c1de527c5615010060ea948fc8a5cd54a09a0e3cc94e4c6a4edde1cd0485d2d35144d33e47e638ad
DIST jackson-core-lgpl-1.9.13-sources.jar 240367 SHA256 f4dad3a1b9a20fbcfd375034309e717e16740c3d770725037f165ef2cfe852bd SHA512 eae08be1f72e868a41423a67abc0af4b63365cb98bdebff4178c8b89fdfaf24324aacec1c95b1bb3d04da0b18c2fe05c87fbe6601a52c9cdbf4a8d3de3457542 WHIRLPOOL bbf02776cfef330e6283569ba0caca323846cd4562c80e6671a6e47e4afead5fc5c5e7cca95feb9d461e560285fab301f65f33cadab1ef039ece78a6fc39e8f5
EBUILD jackson-1.9.13.ebuild 628 SHA256 1a6842924d6f12613d4528e28cc7ebe55c960974393549edf9de7d0f4857d472 SHA512 3d5979a18df620d6fba126706e7e6e398f28d4cfe22c39cd0bfe87d9bb714fbee7b60d583db0a9551bcddf8514767f8a8b5452d5c10d9337abf6fc5e25b3fa09 WHIRLPOOL f641074d5b3092b6092604cd56529e4aa0e70be647dd6afbfa7a25895a11e96a7b60db05710c180ae665dc4f430bc0b17d5dc0083ddc7039ef296fb9fc2a2c54
-MISC ChangeLog 422 SHA256 817232c0a7140ddde73e249706c297495eb4e287e8d48603312658ce64a15949 SHA512 9d771f3b1a9e968f30cd2aa66901f1949a57ce311d7a72ef04cfa67d2e889152accd7fd4431afe0dcce0b12289632600707bcb8f63eb1a85f856c94c151a0455 WHIRLPOOL 491c63f53b597c7d0745b638177c31bd634889dff17a1ae996aac59be2839875ee798498703e7d778a9f74dda8cee07ad9fd02415434337c499b99573d03dce1
+EBUILD jackson-2.3.1.ebuild 1420 SHA256 94f1afe1eb3e7b12f542838333fe5784ca85b00737261b708cf3eafd70041e72 SHA512 67f2a705b953cd53b2fd1938ab5d46bb00aba6308175b833c78f4f7105debcf9897f1a1816202591d1fe63642a17809cc5e1066ab6300539f1078d54b5b08c4e WHIRLPOOL 701dd1fb427da090a2c3522ed379217314e5aa0fa543e25c191a601820cc32d1d08dd44e14b5771fdba443d0588b867203901197e94bc24d1b6b2eead0d4d47b
+MISC ChangeLog 586 SHA256 ea6aa1ac2b7c2f2f4d9723e60b2d336c94d2fe62f9eba562fe41bf1ab2af08e8 SHA512 9dc273b0b16515a5c75ba5204f85f91b9f8da10aa6ca5346e58ac35103e2b1892662b0da531d22706edfe8334cee87fc2b44ac02e5233efbd0a7595b6234e165 WHIRLPOOL 4b22859e5f4d201318387f6c70a58b526ae32ae2978a6bfdf6743d6165eae7025ee4bff78a5d589a246d3d912e90630fba839659c0749acab39ff40956c7b1d2
MISC metadata.xml 159 SHA256 1c070a909e96d9d193f84ad9304d196febbe33b60a724cc4b0d20634bb82255b SHA512 269cf19c37f2d136b926f546ec83ffdbc1374b2b6e26f8a31f21854143380386c31bfc7b2a0b9c47fb1f7c02607ddbdd43e517cb5c3270515e465c4dd7788843 WHIRLPOOL afb402fec04cddb3184b69eb8a8d36b404edd2870fd06c8f5e99be39c341ea6fa7542e0b680fac05529522ed33838e8279381d7a6de9dbc58fe55841229d8a51
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQEcBAEBCAAGBQJSXCLeAAoJEKCEBkJ3xQHt9uQIAKl5+YNfZANWQ/+J3AcDnLKe
-FljK9U5T1ElKAgkkGRQcUyrST7Zx5Zqdrxh1PZG6Z/l30kcCC3lutYDSRDxbZqn7
-pVXpnKdA9KHWctCS5IlYZsSy9Fz1W+a0GMWxSHYkExD1oYehcX8+35wtttgkZcWm
-6GBLALow0L8S8Z2k0XTVa6Nsx/gKfq6pjH4ykgDWoAkyQNfMEuNDMeKVFWizp//n
-3xzhqIA/sINMQjdbROnmNGQTJxaQ1EY5bP1K/FFTsxqlS1nXv4SCLk/PzS4Harlx
-5YAgmEkvb/pge0xX4FiUB1vOMwrGAIALAp7aHLpMRGXM0ZGPsbbYccvKeBYwgd0=
-=7DO4
+iQEcBAEBCAAGBQJS0tyaAAoJEKCEBkJ3xQHtByAH/1hK5EhTemSwF8guwUQef46+
+iYfAHmXwwqSppsqRhQp08Ip/jgj3o+lgIafZkVHDoPD7E3BZbhXFhhdegeMEq2gt
+5HlPVuzKv4gNer936aB0WeZ0uwKyCCJecA+AyuQgMyUstKkdDZaqUL3Xrfg4k7Ns
+M7eLIjLWDNunYzDIfUxXgNzOJVjXvEbFpZ2yCvPXReE54OABEXrxfyVjLeK8cxGr
+4o4c0oIWBs4KEe+iFV68u66DP19ouNU11QQ/QMqK3c7W4h5ug2bQuHD7g2I2FAJC
+1VxmRTspMa0ysFjrwgb7d3oBbrjVZj6JNNwSrs6yDMKew03Eue7QlKMZ8rlTff8=
+=AZ2Y
-----END PGP SIGNATURE-----
diff --git a/dev-java/jackson/files/2.3.1-build.xml b/dev-java/jackson/files/2.3.1-build.xml
new file mode 100644
index 000000000000..884cb9d51869
--- /dev/null
+++ b/dev-java/jackson/files/2.3.1-build.xml
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project name="jackson-core" default="jar" basedir=".">
+ <property file="${user.home}/.m2/maven.properties" />
+ <property file="maven-build.properties" />
+
+ <property name="maven.build.finalName" value="${ant.project.name}" />
+ <property name="maven.build.dir" value="target" />
+ <property name="maven.build.outputDir" value="${maven.build.dir}/classes" />
+ <property name="maven.build.srcDir.0" value="src/main/java" />
+ <property name="maven.build.resourceDir.0" value="src/main/resources" />
+ <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes" />
+ <property name="maven.build.testDir.0" value="src/test/java" />
+ <property name="maven.build.testResourceDir.0" value="src/test/resources" />
+ <property name="maven.test.reports" value="${maven.build.dir}/test-reports" />
+ <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site" />
+
+ <property name="maven.repo.local" value="${user.home}/.m2/repository" />
+ <property name="maven.settings.offline" value="false" />
+ <property name="maven.settings.interactiveMode" value="true" />
+
+ <path id="build.classpath" />
+ <path id="build.test.classpath">
+ </path>
+
+ <target name="clean" description="Clean the output directory">
+ <delete dir="${maven.build.dir}" />
+ </target>
+
+ <target name="compile" description="Compile the code">
+ <mkdir dir="${maven.build.outputDir}" />
+ <javac destdir="${maven.build.outputDir}" nowarn="true" debug="true" optimize="true" deprecation="true" target="1.6" verbose="false" fork="false" source="1.6">
+ <src>
+ <pathelement location="${maven.build.srcDir.0}" />
+ </src>
+ <classpath refid="build.classpath" />
+ </javac>
+ <copy todir="${maven.build.outputDir}">
+ <fileset dir="${maven.build.resourceDir.0}" />
+ </copy>
+ </target>
+
+ <target name="compile-tests" depends="compile" description="Compile the test code" unless="maven.test.skip">
+ <mkdir dir="${maven.build.testOutputDir}" />
+ <javac destdir="${maven.build.testOutputDir}" nowarn="true" debug="true" optimize="true" deprecation="true" target="1.6" verbose="false" fork="false" source="1.6">
+ <src>
+ <pathelement location="${maven.build.testDir.0}" />
+ </src>
+ <classpath>
+ <path refid="build.test.classpath" />
+ <pathelement location="${maven.build.outputDir}" />
+ </classpath>
+ </javac>
+ <copy todir="${maven.build.testOutputDir}">
+ <fileset dir="${maven.build.testResourceDir.0}" />
+ </copy>
+ </target>
+
+ <target name="test" depends="compile-tests" description="Run the test cases">
+ <mkdir dir="${maven.test.reports}" />
+ <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
+ <sysproperty key="basedir" value="." />
+ <formatter type="xml" />
+ <formatter type="plain" usefile="false" />
+ <classpath>
+ <path refid="build.test.classpath" />
+ <pathelement location="${maven.build.outputDir}" />
+ <pathelement location="${maven.build.testOutputDir}" />
+ </classpath>
+ <batchtest todir="${maven.test.reports}" unless="test">
+ <fileset dir="${maven.build.testDir.0}">
+ <include name="**/Test*.java" />
+ <include name="**/*Test.java" />
+ <include name="**/*TestCase.java" />
+ <exclude name="**/*Abstract*Test.java" />
+ <exclude name="**/BaseTest.java" />
+ <exclude name="**/ConcurrencyReadTest.java" />
+ </fileset>
+ </batchtest>
+ <batchtest todir="${maven.test.reports}" if="test">
+ <fileset dir="${maven.build.testDir.0}">
+ <include name="**/${test}.java" />
+ <exclude name="**/*Abstract*Test.java" />
+ <exclude name="**/BaseTest.java" />
+ <exclude name="**/ConcurrencyReadTest.java" />
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+ <target name="javadoc" description="Generates the Javadoc of the application">
+ <javadoc sourcepath="${maven.build.srcDir.0}" packagenames="*" destdir="${maven.reporting.outputDirectory}/apidocs" access="protected" old="false" verbose="false" encoding="UTF-8" version="true" use="true" author="true" splitindex="false" nodeprecated="false" nodeprecatedlist="false" notree="false" noindex="false" nohelp="false" nonavbar="false" serialwarn="false" charset="ISO-8859-1" source="1.6" linksource="false" breakiterator="false" maxmemory="1g">
+ </javadoc>
+ </target>
+
+ <target name="jar" depends="compile" description="Package the application">
+ <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" compress="true" index="false" basedir="${maven.build.outputDir}" excludes="**/package.html" />
+ </target>
+
+</project>
diff --git a/dev-java/jackson/jackson-2.3.1.ebuild b/dev-java/jackson/jackson-2.3.1.ebuild
new file mode 100644
index 000000000000..39fbdad08bb8
--- /dev/null
+++ b/dev-java/jackson/jackson-2.3.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jackson/jackson-2.3.1.ebuild,v 1.1 2014/01/12 18:19:01 ercpe Exp $
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="High-performance JSON processor"
+HOMEPAGE="http://jackson.codehaus.org"
+SRC_URI="https://github.com/FasterXML/${PN}-core/archive/${PN}-core-${PV}.tar.gz"
+
+LICENSE="|| ( Apache-2.0 LGPL-2.1 )"
+SLOT="2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5"
+DEPEND=">=virtual/jdk-1.5
+ test? (
+ dev-java/ant-junit4
+ dev-java/junit:4
+ )
+"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_TEST_GENTOO_CLASSPATH="junit-4"
+
+S="${WORKDIR}/${PN}-core-${PN}-core-${PV}"
+
+java_prepare() {
+ cp "${FILESDIR}"/${PV}-build.xml "${S}"/build.xml || die
+
+ sed -e 's:@package@:com.fasterxml.jackson.core.json:g' \
+ -e "s:@projectversion@:${PV}:g" \
+ -e 's:@projectgroupid@:com.fasterxml.jackson.core:g' \
+ -e 's:@projectartifactid@:jackson-core:g' \
+ "${S}/src/main/java/com/fasterxml/jackson/core/json/PackageVersion.java.in" \
+ > "${S}/src/main/java/com/fasterxml/jackson/core/json/PackageVersion.java" || die
+}
+
+src_install() {
+ java-pkg_dojar target/${PN}-core.jar
+
+ use doc && java-pkg_dojavadoc target/site/apidocs/
+ use source && java-pkg_dosrc src/main/java/*
+}
+
+src_test() {
+ EANT_TASKS="ant-junit4"
+ java-pkg-2_src_test
+} \ No newline at end of file