From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jackson-databind/
Date: Sat, 26 Nov 2016 22:22:31 +0000 (UTC) [thread overview]
Message-ID: <1480198928.c338039d52bec424b5b1de9205ee94b40f895939.chewi@gentoo> (raw)
commit: c338039d52bec424b5b1de9205ee94b40f895939
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 24 23:08:21 2016 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Nov 26 22:22:08 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c338039d
dev-java/jackson-databind: Version bump to 2.8.5
Package-Manager: portage-2.3.2
dev-java/jackson-databind/Manifest | 1 +
.../jackson-databind/jackson-databind-2.8.5.ebuild | 69 ++++++++++++++++++++++
2 files changed, 70 insertions(+)
diff --git a/dev-java/jackson-databind/Manifest b/dev-java/jackson-databind/Manifest
index a3f637c..fb9edbd 100644
--- a/dev-java/jackson-databind/Manifest
+++ b/dev-java/jackson-databind/Manifest
@@ -1,2 +1,3 @@
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
+DIST jackson-databind-2.8.5.tar.gz 1093933 SHA256 375f20c52fef47473c1b5ef414ebb5f1a38abbe69592d6193657a84709641d1c SHA512 6935b469804fc14a5d2e562c80449c4e3368256358b8ed2a0d5a0bf2bcea47385ef19a708b94f25e450f42f6f70e868d6fc79f22cdc2fb6f88a4faf35bfc3cb7 WHIRLPOOL ced41007e87cd9d7b65e6421a5d2a8299ab87ad0ec333b3426e075e42e4b7fab10693f62eaa3b7718f704a3be347dbce24b56be5764dbe9b90a6cf6c46825223
diff --git a/dev-java/jackson-databind/jackson-databind-2.8.5.ebuild b/dev-java/jackson-databind/jackson-databind-2.8.5.ebuild
new file mode 100644
index 00000000..b70828b
--- /dev/null
+++ b/dev-java/jackson-databind/jackson-databind-2.8.5.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Data-binding functionality and tree-model for the Java Jackson data 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="test"
+RESTRICT="test" # Missing deps.
+
+CP_DEPEND="~dev-java/jackson-${PV}:${SLOT}
+ ~dev-java/jackson-annotations-${PV}:${SLOT}"
+
+RDEPEND=">=virtual/jre-1.7
+ ${CP_DEPEND}"
+
+DEPEND=">=virtual/jdk-1.7
+ ${CP_DEPEND}
+ test? ( dev-java/junit:4 )"
+
+S="${WORKDIR}/${PN}-${P}"
+JAVA_SRC_DIR="src/main/java"
+
+src_prepare() {
+ default
+
+ 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' \
+ "${JAVA_SRC_DIR}/com/fasterxml/jackson/databind/cfg/PackageVersion.java.in" \
+ > "${JAVA_SRC_DIR}/com/fasterxml/jackson/databind/cfg/PackageVersion.java" || die
+
+ # Requires newer JScience. Could be any class but they chose this!
+ rm "${S}/src/test/java/com/fasterxml/jackson/databind/introspect/NoClassDefFoundWorkaroundTest.java" || die
+
+ java-pkg-2_src_prepare
+}
+
+src_compile() {
+ java-pkg-simple_src_compile
+ java-pkg_addres ${PN}.jar src/main/resources
+}
+
+src_install() {
+ java-pkg-simple_src_install
+ dodoc README.md release-notes/{CREDITS,VERSION}
+}
+
+src_test() {
+ cd src/test/java || die
+
+ local CP=".:../resources:${S}/${PN}.jar:$(java-pkg_getjars 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}
+}
next reply other threads:[~2016-11-26 22:22 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-26 22:22 James Le Cuirot [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-07 8:23 [gentoo-commits] repo/gentoo:master commit in: dev-java/jackson-databind/ Miroslav Šulc
2022-10-20 16:32 Miroslav Šulc
2022-10-20 10:56 Jakov Smolić
2022-10-18 5:35 Sam James
2022-10-15 6:38 Jakov Smolić
2022-10-14 18:42 Miroslav Šulc
2022-09-21 14:02 Florian Schmaus
2022-07-01 10:03 Sam James
2022-07-01 7:15 Arthur Zamarin
2022-07-01 7:08 Arthur Zamarin
2022-06-24 8:24 Agostino Sarubbo
2022-06-24 8:23 Agostino Sarubbo
2022-06-10 5:51 Sam James
2022-06-09 7:09 Sam James
2022-06-04 19:58 Agostino Sarubbo
2022-06-04 10:52 Jakov Smolić
2022-06-03 21:32 Jakov Smolić
2022-05-24 15:23 Florian Schmaus
2022-05-04 20:03 Florian Schmaus
2022-04-26 6:48 Florian Schmaus
2022-04-25 20:09 Arthur Zamarin
2022-04-25 11:39 Agostino Sarubbo
2022-04-25 11:37 Agostino Sarubbo
2022-04-24 13:27 Jakov Smolić
2022-03-25 8:32 Florian Schmaus
2022-03-07 14:33 Jakov Smolić
2022-03-07 14:33 Jakov Smolić
2022-03-07 7:27 Agostino Sarubbo
2022-03-06 23:46 Sam James
2022-02-04 8:19 Florian Schmaus
2015-09-30 22:52 Patrice Clement
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=1480198928.c338039d52bec424b5b1de9205ee94b40f895939.chewi@gentoo \
--to=chewi@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