diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/jackson |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/jackson')
-rw-r--r-- | dev-java/jackson/Manifest | 5 | ||||
-rw-r--r-- | dev-java/jackson/jackson-2.8.5.ebuild | 58 | ||||
-rw-r--r-- | dev-java/jackson/metadata.xml | 11 |
3 files changed, 74 insertions, 0 deletions
diff --git a/dev-java/jackson/Manifest b/dev-java/jackson/Manifest new file mode 100644 index 000000000000..0cd663301ecf --- /dev/null +++ b/dev-java/jackson/Manifest @@ -0,0 +1,5 @@ +DIST jackson-core-2.8.5.tar.gz 338770 SHA256 59df45170cef4426de96da6bef8c82441ff23a9480be955cc2b5f23e9b3a8544 SHA512 43a2a7959b182ecf3a805d138bb1d49e1dd496d9a36274f5d9f2cdec5f06d02b1cde0e932216768689609faec2bd3f8d7747c61db2a12d0ae68bf22e87a4782c WHIRLPOOL c2499163f7a9f37dc473357256d42e214f4d7ecb7b0fc7222f535c7544d3a52689e46feca266b92f34b6633fbe721a2eebce3676a161af5f5630fb2c7666c3ca +EBUILD jackson-2.8.5.ebuild 1474 SHA256 ec317ab703a31adb8b6ba70674d02d648c66ee0e9ca3a5684a83a229e803daf9 SHA512 5aa8a0f55daab73110fb586370050665dbd22cbeb0cc2323857557a0ad2286a4f779e411646f94cb179c67a38490de873e84f723f20b92e91beaf65939cad52d WHIRLPOOL 1cb24388a94c86d2f90dbbd5a0d9f85c5eba1f9be15aaaf08f28c9aeee1e8c43f46e4a835e22015586d053a6104fa109da1c4666db898c90b32a0a30eb107d46 +MISC ChangeLog 3049 SHA256 8e2f80beb8c953d5075a79f76d11be8ffb8f30fa30caf90ac2caa3e5fb9a103a SHA512 987e2cd3ce1e883c3d07571a070940ded627d5d5241c05c57db0f8d15cbeabeb45fbae292c60f58fdee7311572c1fb26852c3fa966d743edfc5867fa1f41e5fa WHIRLPOOL f5ef455b1ce38a7754483e77b812f96270d9c1fe8bf0b9db694ea45808b90da2de0a71202d09be76c27d11c78b4f1578ee62f048bacba68fc57b7b098c2e572d +MISC ChangeLog-2015 858 SHA256 bc4851cb684b1665afcb9008dcc56e9cc67c3b385c379498def20a779d65b267 SHA512 b4f99b2e11db64af97460317006e1397200ac7fb8aada70e0756df421c4a10971119a1b6745fdb81d2972b739569ca83bbf2fc4274c9624b453bbd7a9590ce0b WHIRLPOOL 824188212e3e296881da35afb7310c02b18c28eedfdcfaca0a85eb822357877c777e423bd8a8f8ee578dfedbc5c003e0a2b7c6ddc17261db762d192ecec6c2cb +MISC metadata.xml 333 SHA256 f30eef24bce48a544e5861335cbca0e9134308ecfd465410d45829f20f89487f SHA512 c5994d267b092ad22aec1586e2a884ed023f945a005310205e737fdf60648837c15764616bba08c8a69314ebee43fe9940c790c624555ec00c0e3d3d529d3a1e WHIRLPOOL 860f4a5bee59ee092ef3706f8dcac4ae8badff5a9903580d7e6a56700305e1464b9ba52164de46506563aa8ef5a67604162003c1dd1a49afb98f741d4f494cb0 diff --git a/dev-java/jackson/jackson-2.8.5.ebuild b/dev-java/jackson/jackson-2.8.5.ebuild new file mode 100644 index 000000000000..c28af8794347 --- /dev/null +++ b/dev-java/jackson/jackson-2.8.5.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +JAVA_PKG_IUSE="doc source" + +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="test" + +RDEPEND=">=virtual/jre-1.7" +DEPEND=">=virtual/jdk-1.7 + test? ( dev-java/junit:4 )" + +S="${WORKDIR}/${PN}-core-${PN}-core-${PV}" +JAVA_SRC_DIR="src/main/java" + +src_prepare() { + default + + 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' \ + "${JAVA_SRC_DIR}/com/fasterxml/jackson/core/json/PackageVersion.java.in" \ + > "${JAVA_SRC_DIR}/com/fasterxml/jackson/core/json/PackageVersion.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)" + 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..ff78e167851c --- /dev/null +++ b/dev-java/jackson/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <upstream> + <remote-id type="github">FasterXML/jackson-core</remote-id> + </upstream> +</pkgmetadata> |