public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jackson-databind/
Date: Wed, 30 Sep 2015 22:52:01 +0000 (UTC)	[thread overview]
Message-ID: <1443653439.ebbe62fba2cd5fa0ab6487934c49edd090f61ed5.monsieurp@gentoo> (raw)

commit:     ebbe62fba2cd5fa0ab6487934c49edd090f61ed5
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 30 20:54:56 2015 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Sep 30 22:50:39 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebbe62fb

dev-java/jackson-databind: Version bump.

Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-java/jackson-databind/Manifest                 |  1 +
 .../jackson-databind/jackson-databind-2.5.2.ebuild | 66 ++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/dev-java/jackson-databind/Manifest b/dev-java/jackson-databind/Manifest
index a49e1eb..a3f637c 100644
--- a/dev-java/jackson-databind/Manifest
+++ b/dev-java/jackson-databind/Manifest
@@ -1 +1,2 @@
 DIST jackson-databind-2.5.1.tar.gz 914121 SHA256 7673a6650d4cd353d3dadfea0afaae30e33a9416550c21772a16ecf36fca1fee SHA512 72792495612143a4601999036a40b67658df5af43c8dde1408c48d4b19581b770442f36bf448a22e19fbc31dbaec2e4cae61b5c7ee7c6c939478083ce1e24131 WHIRLPOOL 92a0fd63e1cdc03da89c024c60c1f6cd2134800d749945daecf2568f1b40db94c83641d6d6219f2d4d70425a8d07d191be39e18b07af9fe0176e1bcc595fde06
+DIST jackson-databind-2.5.2.tar.gz 919612 SHA256 960c0fedccf88d89affc6004e8b93200cfe56bff8e056f0346aad992a33c9492 SHA512 28aa0759de0d8936209425cade805299dca84707fa1d1a641289eff4f735617aa06d8dfab0deb5a2d177ec533ed9ceb3d85dc26dbcbed24155272351018ce19a WHIRLPOOL 817a58345277aabd4a6759d1bda3ab477987879a287e7ad39a292d5f92bc53328e19f1bf1ab14d77262123af44cab7aacdab8784cdd50925142b72f563d4e829

diff --git a/dev-java/jackson-databind/jackson-databind-2.5.2.ebuild b/dev-java/jackson-databind/jackson-databind-2.5.2.ebuild
new file mode 100644
index 0000000..1aca01e
--- /dev/null
+++ b/dev-java/jackson-databind/jackson-databind-2.5.2.ebuild
@@ -0,0 +1,66 @@
+# 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 eutils java-pkg-2 java-pkg-simple
+
+DESCRIPTION="High-performance JSON 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=""
+RESTRICT="test" # 27/1306 failures :(
+
+CDEPEND="~dev-java/jackson-${PV}:${SLOT}
+	~dev-java/jackson-annotations-${PV}:${SLOT}"
+RDEPEND=">=virtual/jre-1.5
+	${CDEPEND}"
+DEPEND=">=virtual/jdk-1.5
+	${CDEPEND}
+	test? (
+		dev-java/cglib:3
+		dev-java/groovy:0
+		dev-java/junit:4
+	)"
+
+S="${WORKDIR}/${PN}-${P}/src"
+JAVA_SRC_DIR="main/java"
+JAVA_GENTOO_CLASSPATH="jackson-${SLOT},jackson-annotations-${SLOT}"
+
+java_prepare() {
+	epatch "${FILESDIR}/real-cglib.patch"
+
+	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' \
+		"${S}/main/java/com/fasterxml/jackson/databind/cfg/PackageVersion.java.in" \
+		> "${S}/main/java/com/fasterxml/jackson/databind/cfg/PackageVersion.java" || die
+
+	# Requires newer JScience. Could be any class but they chose this!
+	rm "${S}/test/java/com/fasterxml/jackson/databind/deser/TestNoClassDefFoundDeserializer.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 --with-dependencies cglib-2.2,groovy,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}
+}


             reply	other threads:[~2015-09-30 22:52 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-30 22:52 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-11-26 22:22 [gentoo-commits] repo/gentoo:master commit in: dev-java/jackson-databind/ James Le Cuirot
2022-02-04  8:19 Florian Schmaus
2022-03-06 23:46 Sam James
2022-03-07  7:27 Agostino Sarubbo
2022-03-07 14:33 Jakov Smolić
2022-03-07 14:33 Jakov Smolić
2022-03-25  8:32 Florian Schmaus
2022-04-24 13:27 Jakov Smolić
2022-04-25 11:37 Agostino Sarubbo
2022-04-25 11:39 Agostino Sarubbo
2022-04-25 20:09 Arthur Zamarin
2022-04-26  6:48 Florian Schmaus
2022-05-04 20:03 Florian Schmaus
2022-05-24 15:23 Florian Schmaus
2022-06-03 21:32 Jakov Smolić
2022-06-04 10:52 Jakov Smolić
2022-06-04 19:58 Agostino Sarubbo
2022-06-09  7:09 Sam James
2022-06-10  5:51 Sam James
2022-06-24  8:23 Agostino Sarubbo
2022-06-24  8:24 Agostino Sarubbo
2022-07-01  7:08 Arthur Zamarin
2022-07-01  7:15 Arthur Zamarin
2022-07-01 10:03 Sam James
2022-09-21 14:02 Florian Schmaus
2022-10-14 18:42 Miroslav Šulc
2022-10-15  6:38 Jakov Smolić
2022-10-18  5:35 Sam James
2022-10-20 10:56 Jakov Smolić
2022-10-20 16:32 Miroslav Šulc
2024-04-07  8:23 Miroslav Šulc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1443653439.ebbe62fba2cd5fa0ab6487934c49edd090f61ed5.monsieurp@gentoo \
    --to=monsieurp@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox