Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147562 - dev-java/asm-3.0 version bump
Summary: dev-java/asm-3.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Low enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2006-09-14 05:51 UTC by Miroslav Šulc
Modified: 2007-01-25 18:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
asm-3.0_rc1.ebuild (asm-3.0_rc1.ebuild,1.00 KB, text/plain)
2006-09-14 05:52 UTC, Miroslav Šulc
Details
asm-3.0_rc1.ebuild (asm-3.0_rc1.ebuild,1.03 KB, text/plain)
2006-09-18 17:51 UTC, Miroslav Šulc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2006-09-14 05:51:34 UTC
I've created ebuild for the package from previous version.
Comment 1 Miroslav Šulc gentoo-dev 2006-09-14 05:52:22 UTC
Created attachment 96965 [details]
asm-3.0_rc1.ebuild
Comment 2 Miroslav Šulc gentoo-dev 2006-09-18 17:51:50 UTC
Created attachment 97373 [details]
asm-3.0_rc1.ebuild

I've corrected style of the ebuild
Comment 3 Miroslav Šulc gentoo-dev 2006-09-22 15:54:58 UTC
The most up-to-date ebuild can be found here: http://overlays.gentoo.org/svn/proj/java/migrated-java-experimental-overlay/dev-java/asm/
Comment 4 Miroslav Šulc gentoo-dev 2006-11-07 14:22:06 UTC
asm-3.0 in overlay
Comment 5 Alistair Bush (RETIRED) gentoo-dev 2007-01-25 01:00:49 UTC
Java devs (and fordfrog in particular) is there anything stopping this package from being added to the tree and this bug being closed.

I see nothing in DEPENDs/RDEPENDs blocking this package.
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2007-01-25 08:43:16 UTC
betelgeuse@pena /mnt/checkouts/java/migrated-java-experimental-overlay/dev-java/asm $ svn diff
Index: asm-3.0.ebuild
===================================================================
--- asm-3.0.ebuild      (revision 3595)
+++ asm-3.0.ebuild      (working copy)
@@ -2,6 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header$

+WANT_ANT_TASKS="ant-owanttask"
+JAVA_PKG_IUSE="doc source"
+
 inherit java-pkg-2 java-ant-2

 DESCRIPTION="Bytecode manipulation framework for Java"
@@ -10,29 +13,20 @@
 LICENSE="BSD"
 SLOT="3"
 KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc source"
-DEPEND=">=virtual/jdk-1.5
-       dev-java/ant-core
-       dev-java/ant-owanttask
-       source? ( app-arch/zip )"
+
+DEPEND=">=virtual/jdk-1.5"
 RDEPEND=">=virtual/jre-1.5"

-src_unpack() {
-       unpack ${A}
+EANT_DOC_TARGET="jdoc"

-       cd ${S}
-       echo "objectweb.ant.tasks.path = $(java-pkg_getjar --build-only ant-owanttask ow_util_ant_tasks.jar)" >> build.properties
-}
+# Fails if this property is not set
+EANT_EXTRA_ARGS="-Dobjectweb.ant.tasks.path=foobar"

-src_compile() {
-       eant jar $(use_doc jdoc)
-}
-
 src_install() {
        for x in output/dist/lib/*.jar ; do
-               java-pkg_newjar ${x} $(basename ${x/-3.0})
+               java-pkg_newjar ${x} $(basename ${x/-${PV}})
        done
-       use doc && java-pkg_dohtml -r output/dist/doc/javadoc/user/*
+       use doc && java-pkg_dojavadoc output/dist/doc/javadoc/user/
        use source && java-pkg_dosrc src/*
 }

Not really. Probably some good pointers in the diff for you. Some of these features have only been recently added.
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2007-01-25 09:23:27 UTC
just checked and dev-java/cglib-2.2_beta1 fails with this so it can't go to the 2.2 slot
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2007-01-25 18:54:19 UTC
Version bump committed as package.masked until split ant gets out.