diff options
Diffstat (limited to 'dev-java/asm')
-rw-r--r-- | dev-java/asm/Manifest | 8 | ||||
-rw-r--r-- | dev-java/asm/asm-3.3.1-r1.ebuild | 36 | ||||
-rw-r--r-- | dev-java/asm/asm-5.0.3.ebuild | 44 | ||||
-rw-r--r-- | dev-java/asm/asm-5.1.ebuild | 44 | ||||
-rw-r--r-- | dev-java/asm/metadata.xml | 23 |
5 files changed, 155 insertions, 0 deletions
diff --git a/dev-java/asm/Manifest b/dev-java/asm/Manifest new file mode 100644 index 000000000000..9ab18dd6a0d8 --- /dev/null +++ b/dev-java/asm/Manifest @@ -0,0 +1,8 @@ +DIST asm-3.3.1.tar.gz 854626 BLAKE2B e8738aeda26f72c4630d33f1696188501022b4764f9f93d5fe9c74dd94459107c3bf72752e6d53850807a75d057757968b859d5453e8c61e54a5fa56f2db81f4 SHA512 b0dffde873dcdfd8328736cfaeb8a3fca2e0788fa642d3af0c995d55c6ca4b1847e35c24100277a453b518305c5fe234d1935fa8de9b25bddd5dee5f1d4a4d44 +DIST asm-4.0.tar.gz 752187 BLAKE2B 00795e18a65d1c3d17ddb722fad20c0c7b01101ffc766a0d5f82da83ce0763401c36857780ee82267d18fa67993314069645ffc188207e4628e99626b3409a07 SHA512 642bc32fc0310b8e4291386866e53ba62802f2ae888163cd6e879232bbe3c3728c3a135aa667f91aec5bbb743621c2ee2d2a1a1d1ccb36c5249874a5ba9b08db +DIST asm-5.0.3.tar.gz 781742 BLAKE2B a2d3f0e59244d27c090be8cfab67f86369a6dae0c49a3526ee25b7c4454c93df1efee461c9a4be33b414161b66d0df65b935ff06850ad8fa6a48fdbc178e77c1 SHA512 fb2fbddbd01ec6d355d5f218db801512a160b505e91c4ad81cc1a0f1265c358cf8df6140c216e2d5acc109dc2286c29de6bf5b60b29a094e70c96070a54b20af +DIST asm-5.1.tar.gz 791417 BLAKE2B 90ee3e28b20ce649763c43cf1b0bb495995dcfc31a534d774c727d201a913b8ae25f4c015e580c9d73b6f3a847ce32720a0c2b0ea61eab8b35e92be4beaab2fe SHA512 de702516f9e16686c027c9a200a1750e6dcaee96bb1ed8bc0591673404d015b8817e37f210be645681dff7a2c31f7ddce8b406ccc8c6e11f1424e19c04c38f1e +EBUILD asm-3.3.1-r1.ebuild 870 BLAKE2B e51b652599a40b8845d5c35ba37d6f20202c92092fab393040dfc7f9fbd17834d8afc73869065956bb4b2bf2d14b62f3d0c200b3dc8524bd029d4d98c244db8a SHA512 55384ff316829c25d191ec5d6280a487627ae2354436ff9ebd7ad0d10efb32d734a9dd33bb6cfa0cf823bf4d4b84b7651605cf3ea7b2a6022aba848f849afb43 +EBUILD asm-5.0.3.ebuild 1209 BLAKE2B 79453429c1e78192909435ae7247f0e11e4464ed38f4a0d2d1c2cfe5714ec1e433aed16ad5f0433abb07bee40369a5b5b135d644bbcf36719336d658937343e5 SHA512 3c03125070730ce4d554d163afde459b1f862235fddbff7788fb50556772c8709107c84eb56948c5c4d2bb2e86c9e98be18417ea70b573e562efac971f97003e +EBUILD asm-5.1.ebuild 1205 BLAKE2B 2fc237ee6ad8d607b484b69034da962ea5136894b564e143ff51f7170f85a856c85a40da78eb43209e8472ffb0f0dd873cf6da87553381e73ac6a6521445ad2a SHA512 45710856d07d89fecd60c97605792eb723e4ce0c30301c38eebcffc36427851b0ce58c546cda2a075cd8c5bf639dfcf65c07945793da872b05bb53207204ab41 +MISC metadata.xml 978 BLAKE2B 6b111138552526b7876570392f2cf2bc1ff8fd72909c8565746e6f193c0e929f7a06e2e3654fd3fa02ae86250d4cc98c838217d4b4f22fc63143ec64f979b7a6 SHA512 79bd031562a3e6208ca10683f6ca33edb8d542461d96058f36e8c218b667b9815fedd006f02a94572118444023c169c466dc9bd5eade325654bd274be23e5a61 diff --git a/dev-java/asm/asm-3.3.1-r1.ebuild b/dev-java/asm/asm-3.3.1-r1.ebuild new file mode 100644 index 000000000000..e37a56ad9fdd --- /dev/null +++ b/dev-java/asm/asm-3.3.1-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +WANT_ANT_TASKS="ant-owanttask" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Bytecode manipulation framework for Java" +HOMEPAGE="http://asm.objectweb.org" +SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz" +LICENSE="BSD" +SLOT="3" +IUSE="" +KEYWORDS="amd64 ppc64 x86 ~sparc-solaris ~x86-solaris" + +DEPEND=">=virtual/jdk-1.6" +RDEPEND=">=virtual/jre-1.6" + +# Needs deps we don't have yet +RESTRICT="test" + +EANT_DOC_TARGET="jdoc" + +# Fails if this property is not set +EANT_EXTRA_ARGS="-Dobjectweb.ant.tasks.path=foobar" + +src_install() { + for x in output/dist/lib/*.jar ; do + java-pkg_newjar ${x} $(basename ${x/-${PV}}) + done + use doc && java-pkg_dojavadoc output/dist/doc/javadoc/user/ + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/asm/asm-5.0.3.ebuild b/dev-java/asm/asm-5.0.3.ebuild new file mode 100644 index 000000000000..6bd00d55c4a1 --- /dev/null +++ b/dev-java/asm/asm-5.0.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +OLD_P="${PN}-4.0" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Bytecode manipulation framework for Java" +HOMEPAGE="http://asm.ow2.org" +SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz + http://download.forge.objectweb.org/${PN}/${OLD_P}.tar.gz" +LICENSE="BSD" +SLOT="4" +IUSE="" +KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~x64-macos" + +DEPEND=">=virtual/jdk-1.5" +RDEPEND=">=virtual/jre-1.5" + +# Needs dependencies we don't have yet. +RESTRICT="test" + +EANT_DOC_TARGET="jdoc" + +# Fails if this objectweb.ant.tasks.path is not set. +# Java generics seem to break unless product.noshrink is set. +EANT_EXTRA_ARGS="-Dobjectweb.ant.tasks.path=foobar -Dproduct.noshrink=true" + +java_prepare() { + # Borrow some ant scripts from an old version to avoid requiring + # bndlib and friends. This may not work forever! + cp -vf "../${OLD_P}/archive"/*.xml archive/ || die +} + +src_install() { + for x in output/dist/lib/*.jar ; do + java-pkg_newjar "${x}" $(basename "${x%-*}.jar") + done + + use doc && java-pkg_dojavadoc output/dist/doc/javadoc/user/ + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/asm/asm-5.1.ebuild b/dev-java/asm/asm-5.1.ebuild new file mode 100644 index 000000000000..e71765b94842 --- /dev/null +++ b/dev-java/asm/asm-5.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +OLD_P="${PN}-4.0" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Bytecode manipulation framework for Java" +HOMEPAGE="http://asm.ow2.org" +SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz + http://download.forge.objectweb.org/${PN}/${OLD_P}.tar.gz" +LICENSE="BSD" +SLOT="4" +IUSE="" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~x64-macos" + +DEPEND=">=virtual/jdk-1.6" +RDEPEND=">=virtual/jre-1.6" + +# Needs dependencies we don't have yet. +RESTRICT="test" + +EANT_DOC_TARGET="jdoc" + +# Fails if this objectweb.ant.tasks.path is not set. +# Java generics seem to break unless product.noshrink is set. +EANT_EXTRA_ARGS="-Dobjectweb.ant.tasks.path=foobar -Dproduct.noshrink=true" + +java_prepare() { + # Borrow some ant scripts from an old version to avoid requiring + # bndlib and friends. This may not work forever! + cp -vf "../${OLD_P}/archive"/*.xml archive/ || die +} + +src_install() { + for x in output/dist/lib/*.jar ; do + java-pkg_newjar "${x}" $(basename "${x%-*}.jar") + done + + use doc && java-pkg_dojavadoc output/dist/doc/javadoc/user/ + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/asm/metadata.xml b/dev-java/asm/metadata.xml new file mode 100644 index 000000000000..a432a00e09ef --- /dev/null +++ b/dev-java/asm/metadata.xml @@ -0,0 +1,23 @@ +<?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> + + <longdescription> + ASM is a Java bytecode manipulation framework. It can be used to + dynamically generate stub classes or other proxy classes, directly in + binary form, or to dynamically modify classes at load time, i.e., just + before they are loaded into the Java Virtual Machine. + + ASM offers similar functionalities as BCEL or SERP, but is much more + smaller (25KB instead of 350KB for BCEL and 150KB for SERP) and faster + than these tools (the overhead of a load time class transformation is of + the order of 60% with ASM, 700% or more with BCEL, and 1100% or more + with SERP). Indeed ASM was designed to be used in a dynamic way* and was + therefore designed and implemented to be as small and as fast as + possible. + </longdescription> +</pkgmetadata> |