From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- dev-java/jackson-databind/Manifest | 3 + .../jackson-databind-2.13.0.ebuild | 81 ++++++++++++++++++++++ dev-java/jackson-databind/metadata.xml | 10 +++ 3 files changed, 94 insertions(+) create mode 100644 dev-java/jackson-databind/Manifest create mode 100644 dev-java/jackson-databind/jackson-databind-2.13.0.ebuild create mode 100644 dev-java/jackson-databind/metadata.xml (limited to 'dev-java/jackson-databind') diff --git a/dev-java/jackson-databind/Manifest b/dev-java/jackson-databind/Manifest new file mode 100644 index 000000000000..942b607b0e94 --- /dev/null +++ b/dev-java/jackson-databind/Manifest @@ -0,0 +1,3 @@ +DIST jackson-databind-2.13.0.tar.gz 44195827 BLAKE2B f623840b21ba149510d81722ef5aa94dcc99fadc18954427340db2c411e90db53d1507789e79048d4bc84f56786202a4ad741a30bf904863a974939e038e7bb8 SHA512 f76a0b0b940f297d65c6bcf9ba3e6f276294f5ef70fe1c5b1dddab826ef9b49ef195fa0115d422906925e32ced1002c7e02991106e8cf196f48db49b67e39067 +EBUILD jackson-databind-2.13.0.ebuild 2695 BLAKE2B 3d00beae87e25831f3fe9368787d5e75fd2e6e0667fe207f6cbf147c708323f04d87a8c903184dbd6546c8b59199804d4c36aaad854f8ff72f031f61a8f0096a SHA512 52fc3cd41f28027943ed90ba042456912328d8c86f43c891166574fd178922cf87da72bcef14003aa774a362cdf4d18d28b784bf1e84d121b5b8b36e57b8a90d +MISC metadata.xml 316 BLAKE2B 06c857b21b1c39450aefd3a56ee67e0a9c57ce28f434e0af285397bf9c0a73801983b71415c1dd3ee1b53e9b1bf855d81b204559ccfe5bda7cf0703975a8420e SHA512 3308a8e0872865b0da8c3c5720364f786764d6cb751b6ad465dc450338b8c3f672b8266ab957a27609363d507b7f711ccb0edb921388a8f50cba73424fc85253 diff --git a/dev-java/jackson-databind/jackson-databind-2.13.0.ebuild b/dev-java/jackson-databind/jackson-databind-2.13.0.ebuild new file mode 100644 index 000000000000..1d9ce42a4732 --- /dev/null +++ b/dev-java/jackson-databind/jackson-databind-2.13.0.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/FasterXML/jackson-databind/archive/refs/tags/jackson-databind-2.13.0.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jackson-databind-2.13.0.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="com.fasterxml.jackson.core:jackson-databind:2.13.0" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="General data-binding functionality for Jackson: works on core streaming API" +HOMEPAGE="https://github.com/FasterXML/jackson-databind" +SRC_URI="https://github.com/FasterXML/${PN}/archive/refs/tags/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" + +# Dependencies like powermock-{core,module-junit4,api-mockito2} are not available in ::gentoo +RESTRICT="test" + +# Common dependencies +# POM: pom.xml +# com.fasterxml.jackson.core:jackson-annotations:2.13.0 -> >=dev-java/jackson-annotations-2.13.0:2 +# com.fasterxml.jackson.core:jackson-core:2.13.0 -> >=dev-java/jackson-core-2.13.0:0 + +CP_DEPEND=" + >=dev-java/jackson-annotations-2.13.0:2 + dev-java/jackson-core:0 +" + +# Compile dependencies +# POM: pom.xml +# test? javax.measure:jsr-275:0.9.1 -> !!!groupId-not-found!!! +# test? junit:junit:4.13.1 -> >=dev-java/junit-4.13.2:4 +# test? org.powermock:powermock-api-mockito2:2.0.0 -> !!!groupId-not-found!!! +# test? org.powermock:powermock-core:2.0.0 -> !!!groupId-not-found!!! +# test? org.powermock:powermock-module-junit4:2.0.0 -> !!!groupId-not-found!!! + +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:*" +# test? ( +# !!!groupId-not-found!!! +# ) +#" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +S="${WORKDIR}/${PN}-${P}" + +DOCS=( LICENSE {README,SECURITY}.md release-notes/{CREDITS,VERSION}-2.x ) + +JAVA_SRC_DIR=( "src/main/java" "src/moditect" ) +JAVA_RESOURCE_DIRS="src/main/resources" + +# JAVA_TEST_GENTOO_CLASSPATH="!!!groupId-not-found!!!,junit-4,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!" +# JAVA_TEST_SRC_DIR="src/test/java" +# JAVA_TEST_RESOURCE_DIRS=( +# "src/test/resources" +# ) + +src_prepare() { + java-pkg-2_src_prepare + + 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@:${PN}:g" \ + "${JAVA_SRC_DIR}/com/fasterxml/jackson/databind/cfg/PackageVersion.java.in" \ + > "${JAVA_SRC_DIR}/com/fasterxml/jackson/databind/cfg/PackageVersion.java" || die +} + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +} diff --git a/dev-java/jackson-databind/metadata.xml b/dev-java/jackson-databind/metadata.xml new file mode 100644 index 000000000000..7db69d87c0d8 --- /dev/null +++ b/dev-java/jackson-databind/metadata.xml @@ -0,0 +1,10 @@ + + + + + java@gentoo.org + + + https://github.com/FasterXML/jackson-databind/issues + + -- cgit v1.2.3