diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/jackson | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/jackson')
-rw-r--r-- | dev-java/jackson/Manifest | 2 | ||||
-rw-r--r-- | dev-java/jackson/jackson-1.9.13.ebuild | 21 | ||||
-rw-r--r-- | dev-java/jackson/jackson-2.5.1.ebuild | 51 | ||||
-rw-r--r-- | dev-java/jackson/metadata.xml | 8 |
4 files changed, 82 insertions, 0 deletions
diff --git a/dev-java/jackson/Manifest b/dev-java/jackson/Manifest new file mode 100644 index 000000000000..240b0d83ee5e --- /dev/null +++ b/dev-java/jackson/Manifest @@ -0,0 +1,2 @@ +DIST jackson-core-2.5.1.tar.gz 267908 SHA256 576a103f24abedba09e83cd5fa6d2a00a25deec627e29e1d8e9c38382a057f85 SHA512 bb2c3f25eb76d4acd5fed0d5d666af572f6e66b6eb0cb37b26da405d8230b92204d9b6282dda2c2c16fd3059da9aa1c0f9a4a93b3be73e99f0277befd0d6e499 WHIRLPOOL b089c0e37153ad63dcc6af705d57a2a35124b35db283761b40c0558af42b1009b58232eec99fbb1c79ea2896f21f687af226ab604d2bf4eab8d4f365563c69e7 +DIST jackson-core-lgpl-1.9.13-sources.jar 240367 SHA256 f4dad3a1b9a20fbcfd375034309e717e16740c3d770725037f165ef2cfe852bd SHA512 eae08be1f72e868a41423a67abc0af4b63365cb98bdebff4178c8b89fdfaf24324aacec1c95b1bb3d04da0b18c2fe05c87fbe6601a52c9cdbf4a8d3de3457542 WHIRLPOOL bbf02776cfef330e6283569ba0caca323846cd4562c80e6671a6e47e4afead5fc5c5e7cca95feb9d461e560285fab301f65f33cadab1ef039ece78a6fc39e8f5 diff --git a/dev-java/jackson/jackson-1.9.13.ebuild b/dev-java/jackson/jackson-1.9.13.ebuild new file mode 100644 index 000000000000..c1400131ebf1 --- /dev/null +++ b/dev-java/jackson/jackson-1.9.13.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="High-performance JSON processor" +HOMEPAGE="http://jackson.codehaus.org" +SRC_URI="http://repo1.maven.org/maven2/org/codehaus/${PN}/${PN}-core-lgpl/${PV}/${PN}-core-lgpl-${PV}-sources.jar" + +LICENSE="|| ( Apache-2.0 LGPL-2.1 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.5" +DEPEND=">=virtual/jdk-1.5" diff --git a/dev-java/jackson/jackson-2.5.1.ebuild b/dev-java/jackson/jackson-2.5.1.ebuild new file mode 100644 index 000000000000..183c9970f3f2 --- /dev/null +++ b/dev-java/jackson/jackson-2.5.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="High-performance JSON processor" +HOMEPAGE="https://github.com/FasterXML/jackson-core" +SRC_URI="https://github.com/FasterXML/${PN}-core/archive/${PN}-core-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.5" +DEPEND=">=virtual/jdk-1.5 + test? ( dev-java/junit:4 )" + +S="${WORKDIR}/${PN}-core-${PN}-core-${PV}/src" +JAVA_SRC_DIR="main/java" + +java_prepare() { + 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}/main/java/com/fasterxml/jackson/core/json/PackageVersion.java.in" \ + > "${S}/main/java/com/fasterxml/jackson/core/json/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 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/metadata.xml b/dev-java/jackson/metadata.xml new file mode 100644 index 000000000000..32cb17ad1925 --- /dev/null +++ b/dev-java/jackson/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <upstream> + <remote-id type="github">FasterXML/jackson-core</remote-id> + </upstream> +</pkgmetadata> |