From 2fd57282f0262ca084e05b0f2c63fbada395d02b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 16 Jan 2022 20:27:28 +0000 Subject: gentoo resync : 16.01.2021 --- dev-java/netty-buffer/Manifest | 1 + .../netty-buffer/netty-buffer-4.0.36-r1.ebuild | 85 ++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 dev-java/netty-buffer/netty-buffer-4.0.36-r1.ebuild (limited to 'dev-java/netty-buffer') diff --git a/dev-java/netty-buffer/Manifest b/dev-java/netty-buffer/Manifest index b694acd579c6..c2f70d24a234 100644 --- a/dev-java/netty-buffer/Manifest +++ b/dev-java/netty-buffer/Manifest @@ -1,3 +1,4 @@ DIST netty-4.0.36.Final.tar.gz 1267617 BLAKE2B 351b1f73b1a3c60fd843767254ae57e74d74cdfe570828b1a2e7aea55a203866ae4e232bad285c3937d8f2dc7689534ffb180fcd345c8cf10bced7048ec58ec3 SHA512 b222205963366d5a0f5539c7029dc47edea8d532fca05d169dfe12dbedf956959ba422a22254b09622db428b517da0fd0e58198d11e66193abdb6050481ccbe6 +EBUILD netty-buffer-4.0.36-r1.ebuild 2407 BLAKE2B 07c5964301e29d90c755e2c89146f3717fd6ad3d7f8a589637b643478fc16552121047a37abc24f8e3a7f2b492c166d6e8c72449ffa59c85e0191b9ba286fe0c SHA512 ae9862f62ca1ef0c9630da502b27c97e751af7948d7288c64be458fcb9650a5e68bef83c0b701b4d64dbd6d8ac4de6ce3ecb46dfeba1515949f3e211ed7f96a6 EBUILD netty-buffer-4.0.36.ebuild 1269 BLAKE2B 909d89bf881f11adde18514d4596cd5e76a2fe07f4bb850ef57ead6c7ef74b3ce85f9bff67ade45e795b1b607ece8bcb912ba4f5090827c630d6cb917c30b595 SHA512 2b0f7dc60868f8d6a0b0181b58602efbb2b56c6862808a82ccfcae9a4a10a2a4647ecea17405a8eb0c01add98369fd7a6441a3124aa38afd367e1e5d7e8887cf MISC metadata.xml 323 BLAKE2B de4c9f6ab6a8f2e4243cb7ea8d3e96a08e9a99b579d7996601094ca1bba95c4331fec32c42c4fa42defb8de1f5ed3bf9e52cc3ac3ca9e6a0bec6a55c3edf3d3a SHA512 99c3bb74ad41a72119dbccfaf446e9d13fd1002204188c363531a68e4434fb01a9f2ab0158ad359cea6163f3791759e8fa5b7b2c8cb7268212776d912840b89a diff --git a/dev-java/netty-buffer/netty-buffer-4.0.36-r1.ebuild b/dev-java/netty-buffer/netty-buffer-4.0.36-r1.ebuild new file mode 100644 index 000000000000..f69a3ee3a00d --- /dev/null +++ b/dev-java/netty-buffer/netty-buffer-4.0.36-r1.ebuild @@ -0,0 +1,85 @@ +# 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/netty/netty/archive/refs/tags/netty-4.0.36.Final.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild netty-buffer-4.0.36.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="io.netty:netty-buffer:4.0.36.Final" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit check-reqs java-pkg-2 java-pkg-simple + +DESCRIPTION="Async event-driven framework for high performance network applications" +HOMEPAGE="https://netty.io/" +SRC_URI="https://github.com/netty/netty/archive/refs/tags/netty-${PV}.Final.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +# Common dependencies +# POM: pom.xml +# io.netty:netty-common:4.0.36.Final -> !!!groupId-not-found!!! + +CP_DEPEND="dev-java/netty-common:0" + +# Compile dependencies +# POM: pom.xml +# test? ch.qos.logback:logback-classic:1.0.13 -> !!!groupId-not-found!!! +# test? io.netty:netty-build:22 -> !!!groupId-not-found!!! +# test? junit:junit:4.12 -> >=dev-java/junit-4.13.2:4 +# test? org.easymock:easymock:3.2 -> >=dev-java/easymock-3.3.1:3.2 +# test? org.easymock:easymockclassextension:3.2 -> !!!artifactId-not-found!!! +# test? org.hamcrest:hamcrest-library:1.3 -> >=dev-java/hamcrest-library-1.3:1.3 +# test? org.javassist:javassist:3.19.0-GA -> !!!groupId-not-found!!! +# test? org.jmock:jmock-junit4:2.6.0 -> !!!groupId-not-found!!! +# test? org.mockito:mockito-core:1.10.8 -> !!!suitable-mavenVersion-not-found!!! + +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:* + test? ( + dev-java/easymock:3.2 + dev-java/hamcrest-library:1.3 + )" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +DOCS=( ../{CONTRIBUTING,README}.md ../{LICENSE,NOTICE}.txt ) + +S="${WORKDIR}/netty-netty-${PV}.Final/buffer/" + +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4,easymock-3.2,hamcrest-library-1.3" +JAVA_TEST_SRC_DIR="src/test/java" + +check_env() { + if use test; then + # this is needed only for tests + # https://bugs.gentoo.org/829822 + CHECKREQS_MEMORY="2048M" + check-reqs_pkg_pretend + fi +} + +pkg_pretend() { + check_env +} + +pkg_setup() { + check_env +} + +src_test() { + JAVA_TEST_EXTRA_ARGS+=" -Xmx${CHECKREQS_MEMORY}" + java-pkg-simple_src_test +} + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +} -- cgit v1.2.3