diff options
author | Johann Schmitz <ercpe@gentoo.org> | 2014-01-12 18:26:29 +0000 |
---|---|---|
committer | Johann Schmitz <ercpe@gentoo.org> | 2014-01-12 18:26:29 +0000 |
commit | d87586c39c48d99da08b77637d0c98c009bf0633 (patch) | |
tree | 33f70093b3af53cf29f92e3b392a0a62d7fb9ebf /dev-java/jackson-annotations | |
parent | amd64 stable, bug #495864 (diff) | |
download | historical-d87586c39c48d99da08b77637d0c98c009bf0633.tar.gz historical-d87586c39c48d99da08b77637d0c98c009bf0633.tar.bz2 historical-d87586c39c48d99da08b77637d0c98c009bf0633.zip |
New ebuild for the annotations component of dev-java/jackson
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x77C501ED
Diffstat (limited to 'dev-java/jackson-annotations')
-rw-r--r-- | dev-java/jackson-annotations/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/jackson-annotations/Manifest | 19 | ||||
-rw-r--r-- | dev-java/jackson-annotations/files/2.3.0-build.xml | 100 | ||||
-rw-r--r-- | dev-java/jackson-annotations/jackson-annotations-2.3.0.ebuild | 34 | ||||
-rw-r--r-- | dev-java/jackson-annotations/metadata.xml | 6 |
5 files changed, 168 insertions, 0 deletions
diff --git a/dev-java/jackson-annotations/ChangeLog b/dev-java/jackson-annotations/ChangeLog new file mode 100644 index 000000000000..f3924e29f8ba --- /dev/null +++ b/dev-java/jackson-annotations/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-java/jackson-annotations +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jackson-annotations/ChangeLog,v 1.1 2014/01/12 18:26:21 ercpe Exp $ + +*jackson-annotations-2.3.0 (12 Jan 2014) + + 12 Jan 2014; Johann Schmitz <ercpe@gentoo.org> +files/2.3.0-build.xml, + +jackson-annotations-2.3.0.ebuild, +metadata.xml: + New ebuild for the annotations component of dev-java/jackson diff --git a/dev-java/jackson-annotations/Manifest b/dev-java/jackson-annotations/Manifest new file mode 100644 index 000000000000..619ce288a731 --- /dev/null +++ b/dev-java/jackson-annotations/Manifest @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX 2.3.0-build.xml 4552 SHA256 adac7635820206130910950a835be4ed5162d29216134084918059b3d2517679 SHA512 e4c0d5ab73125aa5d39873a175eadb01c26f5fb7bf1f9280028411988e44f6ce4d1ed4b3853bd913b0e6f3acf68cbe187af92e7f0c94783f27fcdeca2ab49e8c WHIRLPOOL 8858a5b711747d33f3d85ddd8ff8da7cb621d27b7b6db06bece33ef32138cb374c89f5d0c9788392c0fab8804afc79efeca6cdfb33b430b245cc796e5d12dd92 +DIST jackson-annotations-2.3.0.tar.gz 25784 SHA256 31075d438e9c289b88949c599eb117bf0df7be1b32a821cf9bcef85a94f38f54 SHA512 533c0a798e79d89395e803bb96cf3bc8d21ddbe9a1c35194350e3f61d1fe1b85683cbb6cd7d80c42ac014007cc86ac54a3c6702e55eeebebf359cf2c66254499 WHIRLPOOL 2079e689f3bc795e96bdfc88643c82901e09e6e288b36945b463e5f1c5b4df54d70b99d4898d2108abf29ea5e6628bde9ee6e913e5b0fa2e45d297550229b1bf +EBUILD jackson-annotations-2.3.0.ebuild 866 SHA256 05073e2507dae08c31bf7f37baeed7680aa505d6113eb1cf31245829af82b450 SHA512 d251032d6c4d9c9af9e67196c84a62faf7a70c1a61355bdc2c60d77d24667258d282a54570be286db1174eebf07e16cdec135c13686df5b36eb6fa969079d8ae WHIRLPOOL aa0730f34ea0a02a4094f72918caa16c0a9654f05ddf60ac476b5e6821210a47ac2f87e1594a144e5fde2587053eaef5d68fc5ce6e69b5be815f7f743e3927f9 +MISC ChangeLog 458 SHA256 479dd021db9a3e188fbd08b3f4557f26f3a1dd591ddf11cc5838e42066ea5427 SHA512 d61e724aa1f09d7c98eaa794fc66882abf8433f1fe05bf944decd0c68f3f1addd352712b5e741d8f939ef8168b8a8ca32da4fd7cbf20f27571e93ac648300d5a WHIRLPOOL 1bfd10c1ce3f8e68899f452b6fdfe5873707fa3e50382fc7946625c65fb6cc457ed5d992e1db2d89738079ac9970024f3ff86fda4da8dfc65d53950c921812f2 +MISC metadata.xml 159 SHA256 1c070a909e96d9d193f84ad9304d196febbe33b60a724cc4b0d20634bb82255b SHA512 269cf19c37f2d136b926f546ec83ffdbc1374b2b6e26f8a31f21854143380386c31bfc7b2a0b9c47fb1f7c02607ddbdd43e517cb5c3270515e465c4dd7788843 WHIRLPOOL afb402fec04cddb3184b69eb8a8d36b404edd2870fd06c8f5e99be39c341ea6fa7542e0b680fac05529522ed33838e8279381d7a6de9dbc58fe55841229d8a51 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iQEcBAEBCAAGBQJS0t5SAAoJEKCEBkJ3xQHtPBkH/0yr9eRDcBl1G8frVG7Px9i2 +bcljBFng/GvahIV6AxBruZxOWwRapbmk8dpEgRDCOO8TKsVp1pyrVCD6M+Ux2u0h +G9npk3Ov+jv+od4xr4CRzcMIE4u49zlRw2ti3AZkBbDzYU2B8YhSxYs1eczG8n4C +Ojp36WdxqdU02h6ejLU7PD7x3bmOXP5Ui+/qxqvIGgRNNjTnpwtjooQEVSCMRx/G +PfZ1Q/h8Cj3+8U+Pd4zIaIgNKavd8TCmEQ+9LaJxaXMjYHT6c0YX89U1Rk0RntDM +8XCajU3imNIy+FBjEeyojtuOofTTC5nbe75ZL4mb3WbyF3nlbZ1mgYctUJdnVi0= +=j9Su +-----END PGP SIGNATURE----- diff --git a/dev-java/jackson-annotations/files/2.3.0-build.xml b/dev-java/jackson-annotations/files/2.3.0-build.xml new file mode 100644 index 000000000000..ce8ae1e304ec --- /dev/null +++ b/dev-java/jackson-annotations/files/2.3.0-build.xml @@ -0,0 +1,100 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<project name="jackson-annotations" 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-annotations/jackson-annotations-2.3.0.ebuild b/dev-java/jackson-annotations/jackson-annotations-2.3.0.ebuild new file mode 100644 index 000000000000..ec81446545ca --- /dev/null +++ b/dev-java/jackson-annotations/jackson-annotations-2.3.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jackson-annotations/jackson-annotations-2.3.0.ebuild,v 1.1 2014/01/12 18:26:21 ercpe Exp $ + +EAPI="5" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance JSON processor" +HOMEPAGE="http://jackson.codehaus.org" +SRC_URI="https://github.com/FasterXML/${PN}/archive/${PN}-${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" + +S="${WORKDIR}/${PN}-${PN}-${PV}" + +java_prepare() { + cp "${FILESDIR}"/${PV}-build.xml "${S}"/build.xml || die +} + +src_install() { + java-pkg_dojar target/${PN}.jar + + use doc && java-pkg_dojavadoc target/site/apidocs/ + use source && java-pkg_dosrc src/main/java/* +} diff --git a/dev-java/jackson-annotations/metadata.xml b/dev-java/jackson-annotations/metadata.xml new file mode 100644 index 000000000000..604e0a4238bb --- /dev/null +++ b/dev-java/jackson-annotations/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> + |