From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-java/cglib/Manifest | 4 ++ dev-java/cglib/cglib-3.1.ebuild | 58 ++++++++++++++++++++++++++ dev-java/cglib/files/cglib-3.1-build.xml.patch | 36 ++++++++++++++++ dev-java/cglib/metadata.xml | 17 ++++++++ 4 files changed, 115 insertions(+) create mode 100644 dev-java/cglib/Manifest create mode 100644 dev-java/cglib/cglib-3.1.ebuild create mode 100644 dev-java/cglib/files/cglib-3.1-build.xml.patch create mode 100644 dev-java/cglib/metadata.xml (limited to 'dev-java/cglib') diff --git a/dev-java/cglib/Manifest b/dev-java/cglib/Manifest new file mode 100644 index 000000000000..b705b22e2e13 --- /dev/null +++ b/dev-java/cglib/Manifest @@ -0,0 +1,4 @@ +AUX cglib-3.1-build.xml.patch 1864 BLAKE2B 01fbf3ff50bcbcd4dea8b70db5a4fb6b0b3e5770a3d0c17f4fd5ed1106f5ac4f0e21054b81c06fbd731b1ba689ecc97f21db4fafcc9f84df3634ca70afe57401 SHA512 609cf02dd64fe57307ad9571f8b7d4bc3c7f9b452ce755fa968870fc252df08c985b5dc12647f8c543e39d57a01b532a4188d5ffc07359ddfc7967d32dfd978b +DIST cglib-src-3.1.jar 1541525 BLAKE2B 46df8c11a8d05549c15a3bbf0f9789fbe4ad0540caa5be6d30f922aec95b55427cf36bff7740ba8c050c3c72749c6e9c98d8119a6de345126d7ef72343130568 SHA512 3b246b37f1c90acaefd4ba64f1f1db0b4d1fa64025f0e4e216ae7955e05701671bf8dc01d19c754286966cc5f8c06d78d02cb4f4500542f4448656768109c13f +EBUILD cglib-3.1.ebuild 1127 BLAKE2B 89471d4fb3349610a09d7468cf5786ad2a2509ffe63bf08ca7bad52db12ff74d0622774cbeeeed673e7ede5649ffe6ce9b1efd3515c09524171bc30ec93c2d63 SHA512 59d439cc175332afe47931b43cf10c65e5fa46ccf81a6fad57059bb0dbad6e9f22f2ab4d51f8bf068449c0be7f180a1dbffb84aba69bf4a84f4e76cbdb2b1cfd +MISC metadata.xml 554 BLAKE2B 253863978031d659d829e68719bab9dc8bc4a5d6134cd040dba882006eba9f6a6a5fec83efc83915bf7d4995af36752304252610d7163673584226c470ab7065 SHA512 480a6d306dd997a40cc695c42a4d51d12cd1ba131b5b3d80b4ca18ec751ba3dcf2394cb139c4c1a06ad98da30127c65c65eab036aaca167f46a6b63336f2c7ec diff --git a/dev-java/cglib/cglib-3.1.ebuild b/dev-java/cglib/cglib-3.1.ebuild new file mode 100644 index 000000000000..88dbbfbb6dd9 --- /dev/null +++ b/dev-java/cglib/cglib-3.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="doc examples source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="cglib is a powerful, high performance and quality Code Generation Library" +HOMEPAGE="https://github.com/cglib/cglib" +SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.jar" + +LICENSE="Apache-2.0" +SLOT="3" +KEYWORDS="amd64 ~arm64 ppc64 x86" + +IUSE="" + +COMMON_DEP="dev-java/asm:4 + dev-java/ant-core:0" +RDEPEND=">=virtual/jre-1.6 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.6 + test? ( dev-java/junit:4 ) + ${COMMON_DEP}" + +S="${WORKDIR}" + +JAVA_ANT_REWRITE_CLASSPATH="yes" +EANT_GENTOO_CLASSPATH="asm-4 ant-core" + +java_prepare() { + find . -iname '*.jar' -delete || die + + # Get rid of some parts in XML. + epatch "${FILESDIR}"/${P}-build.xml.patch +} + +src_install() { + java-pkg_newjar dist/${P}.jar ${PN}.jar + + if use doc; then + java-pkg_dojavadoc docs + fi + + if use source; then + java-pkg_dosrc src/proxy/net + fi + + if use examples; then + java-pkg_doexamples --subdir samples src/proxy/samples + fi +} + +src_test() { + java-pkg-2_src_test +} diff --git a/dev-java/cglib/files/cglib-3.1-build.xml.patch b/dev-java/cglib/files/cglib-3.1-build.xml.patch new file mode 100644 index 000000000000..0bf60be7b014 --- /dev/null +++ b/dev-java/cglib/files/cglib-3.1-build.xml.patch @@ -0,0 +1,36 @@ +--- build.xml.orig 2015-04-11 20:26:25.459688628 +0200 ++++ build.xml 2015-04-11 20:28:41.930026892 +0200 +@@ -73,7 +73,7 @@ + + ++ target="${compile.target}" extdirs="${compile.extdirs}" source="${compile.source}"> + + + +@@ -123,15 +123,6 @@ + + + +- +- +- +- +- +- +- +- +- + + + +@@ -246,7 +237,7 @@ + + + +- ++ + + + diff --git a/dev-java/cglib/metadata.xml b/dev-java/cglib/metadata.xml new file mode 100644 index 000000000000..5f26effad5fd --- /dev/null +++ b/dev-java/cglib/metadata.xml @@ -0,0 +1,17 @@ + + + + + java@gentoo.org + Java + + + cglib is a powerful, high performance and quality Code Generation + Library, It is used to extend JAVA classes and implements interfaces + at runtime. + + + cglib/cglib + cglib + + -- cgit v1.2.3