diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2015-11-01 14:33:22 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2015-11-01 19:09:22 +0000 |
commit | 5d9e4759216bffafe26f5e3b22765fb895886c92 (patch) | |
tree | 23c41c964bea44960a8dad1c9314d3d5f0f5b22d /dev-java/asm | |
parent | dev-java/xstream: Raise {jdk,jre} reqs to 1.8. Fixes bug 564616. (diff) | |
download | gentoo-5d9e4759216bffafe26f5e3b22765fb895886c92.tar.gz gentoo-5d9e4759216bffafe26f5e3b22765fb895886c92.tar.bz2 gentoo-5d9e4759216bffafe26f5e3b22765fb895886c92.zip |
dev-java/asm: Version bump.
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java/asm')
-rw-r--r-- | dev-java/asm/Manifest | 1 | ||||
-rw-r--r-- | dev-java/asm/asm-5.0.4.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-java/asm/Manifest b/dev-java/asm/Manifest index 173d1b6a7564..98c63ab69d90 100644 --- a/dev-java/asm/Manifest +++ b/dev-java/asm/Manifest @@ -3,3 +3,4 @@ DIST asm-2.2.3.tar.gz 287535 SHA256 56c5ce25bff92c3641b6435e28eee71718bc4eb62d49 DIST asm-3.3.1.tar.gz 854626 SHA256 69a523d41c82d7979c9b47271e31187e23c064e1d2a93b52950463bcb80197f5 SHA512 b0dffde873dcdfd8328736cfaeb8a3fca2e0788fa642d3af0c995d55c6ca4b1847e35c24100277a453b518305c5fe234d1935fa8de9b25bddd5dee5f1d4a4d44 WHIRLPOOL 90158f7fd87eae641e20aaca736debbd34b70e22feae1021c5f47255b8b9e8305460444e1f070288292b64a6aef3c083c81b520343f97b570ec1799d56d13874 DIST asm-4.0.tar.gz 752187 SHA256 feb2b078f10d420b6ab04cca136db1b57935170d53d12c64d381e118185c7b0e SHA512 642bc32fc0310b8e4291386866e53ba62802f2ae888163cd6e879232bbe3c3728c3a135aa667f91aec5bbb743621c2ee2d2a1a1d1ccb36c5249874a5ba9b08db WHIRLPOOL 8ac20fd836a97572c0b449637491e31a01d29f65eac71cf5412ae0948d1264ed098fd9fbe6ee51af386b78c25bef38c6878693144875e3f29692ad6daf320bd0 DIST asm-5.0.3.tar.gz 781742 SHA256 36e8b760d40898cce83e913e78cf6e631a6a3dc3b448895bb35c02d298c21c4b SHA512 fb2fbddbd01ec6d355d5f218db801512a160b505e91c4ad81cc1a0f1265c358cf8df6140c216e2d5acc109dc2286c29de6bf5b60b29a094e70c96070a54b20af WHIRLPOOL e93cbf659b224d50b8a0971ceaacbcb72acfbf23347baf4a9875e647c5f43b70587a5e24ea01f3ecb57eee31e0550144b59d55e97daafba9d76158427518f667 +DIST asm-5.0.4.tar.gz 781781 SHA256 3e6e25f1013ec016bd11c90ee41faa6226b5bd50385d0cd51df8a81d2db3525d SHA512 997b77ff45a3b1538d75e64700556f1e405f84aac5d99536b77338714c5dc2e7f973b2a6507f75d56e50a146a4744698e8e35cd4714a9127e2b09bfb5f9a346e WHIRLPOOL df6c5d60dbbe5343cb6e216bd22c0ec5c2c24f350b0106c4938cc558fdfa99700717a8ec06505fddf2633d236a2774ffad0ddff81ee694ed0cc7b34476d32b61 diff --git a/dev-java/asm/asm-5.0.4.ebuild b/dev-java/asm/asm-5.0.4.ebuild new file mode 100644 index 000000000000..ecc14322ad0b --- /dev/null +++ b/dev-java/asm/asm-5.0.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~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/* +} |