From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AE13F138334 for ; Wed, 25 Sep 2019 17:26:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F07B8E089E; Wed, 25 Sep 2019 17:26:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C0166E089E for ; Wed, 25 Sep 2019 17:26:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 79C9634B577 for ; Wed, 25 Sep 2019 17:26:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 038487F8 for ; Wed, 25 Sep 2019 17:26:27 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1569432374.0ffc08a8f196ff9600fba4c127804269534a2f55.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jackson-annotations/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/jackson-annotations/Manifest dev-java/jackson-annotations/jackson-annotations-2.9.10.ebuild X-VCS-Directories: dev-java/jackson-annotations/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 0ffc08a8f196ff9600fba4c127804269534a2f55 X-VCS-Branch: master Date: Wed, 25 Sep 2019 17:26:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e801aa66-f77b-4ca6-a9d4-8fe76d1ae782 X-Archives-Hash: 2fda72a72067101a30b44dcc0c5c7d8b commit: 0ffc08a8f196ff9600fba4c127804269534a2f55 Author: Miroslav Šulc gentoo org> AuthorDate: Wed Sep 25 17:23:24 2019 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Wed Sep 25 17:26:14 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ffc08a8 dev-java/jackson-annotations-2.9.10: bump Bug: https://bugs.gentoo.org/695532 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/jackson-annotations/Manifest | 1 + .../jackson-annotations-2.9.10.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-java/jackson-annotations/Manifest b/dev-java/jackson-annotations/Manifest index bb4e9b6f54d..99795f11eca 100644 --- a/dev-java/jackson-annotations/Manifest +++ b/dev-java/jackson-annotations/Manifest @@ -1 +1,2 @@ DIST jackson-annotations-2.8.5.tar.gz 44906 BLAKE2B bea484d1b7b7312ff83f87f373fdcecb718b62f1d694ee687df8da7d3f09d70007bc4a6da111a57bed14b2a7921c71825b966f6709f3e143ce9f6fbf6069b45a SHA512 2d98a51c0e3b44e3ac2fe47647b0c7499d7b978cd46df275807e3802ba877717a6c2f620edfe581f31ef947de7096950816104250989eebf029d7a5bf1b53381 +DIST jackson-annotations-2.9.10.tar.gz 57322 BLAKE2B 85e3ac040e3adc986fa7b2a1892bb536ff2b46415af9390a6ec4e59bc9770b2bced4fd80edffc7b2083853b0b1bb5022dde137fda7e9920ec27e3fa54858e5fc SHA512 27c28e9453570aab4758031d406bfc8b8ba0eb443dcd0a884d6098840e5b577b2628288daf10e9de6ce5d1e4da2f4b8e4ec36a6559233e012725a906c4da21b9 diff --git a/dev-java/jackson-annotations/jackson-annotations-2.9.10.ebuild b/dev-java/jackson-annotations/jackson-annotations-2.9.10.ebuild new file mode 100644 index 00000000000..ea986435403 --- /dev/null +++ b/dev-java/jackson-annotations/jackson-annotations-2.9.10.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Annotations for the Java Jackson data processor" +HOMEPAGE="https://github.com/FasterXML/jackson-annotations" +SRC_URI="https://github.com/FasterXML/${PN}/archive/${PN}-${PV}.tar.gz" +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=">=virtual/jre-1.7" + +DEPEND=">=virtual/jdk-1.7 + test? ( dev-java/junit:4 )" + +S="${WORKDIR}/${PN}-${P}" +JAVA_SRC_DIR="src/main/java" + +src_install() { + java-pkg-simple_src_install + dodoc README.md release-notes/VERSION +} + +src_compile() { + java-pkg-simple_src_compile + java-pkg_addres ${PN}.jar src/main/resources +} + +src_test() { + cd src/test/java || die + + local CP=".:${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} +}