dev-java/proguard: Remove support for non-existent deps
authorMichał Górny <mgorny@gentoo.org>
Sun, 26 Aug 2018 08:52:50 +0000 (10:52 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 26 Aug 2018 08:59:21 +0000 (10:59 +0200)
dev-java/proguard/metadata.xml
dev-java/proguard/proguard-4.5.ebuild
dev-java/proguard/proguard-4.8.ebuild
profiles/base/package.use.mask

index e626ba1216262c965db3543e2c1fa05d076f45f3..033beb86046d442aee89c34e999832e54f2efd09 100644 (file)
@@ -7,7 +7,6 @@
        </maintainer>
        <use>
                <flag name="ant">Ant task for using ProGuard in build.xml scripts</flag>
-               <flag name="j2me">Adds support for J2ME Wireless Toolkit</flag>
        </use>
        <upstream>
                <remote-id type="sourceforge">proguard</remote-id>
index 37a87d48385203884d73f76793ac4e33ae794b9c..d2cf182ea8e48e3bf290e5731b6849cb2d3fbf1a 100644 (file)
@@ -15,13 +15,11 @@ SRC_URI="mirror://sourceforge/proguard/${MY_P}.tar.gz"
 LICENSE="GPL-2-with-linking-exception"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="ant j2me"
+IUSE="ant"
 
-DEPEND=">=virtual/jdk-1.4
-               j2me? ( >=dev-java/sun-j2me-bin-2.2:0 )"
+DEPEND=">=virtual/jdk-1.4"
 RDEPEND=">=virtual/jre-1.4
-               >=dev-java/ant-core-1.7:0
-               j2me? ( >=dev-java/sun-j2me-bin-2.2:0 )"
+               >=dev-java/ant-core-1.7:0"
 
 S=${WORKDIR}/${MY_P}
 
@@ -34,14 +32,12 @@ EANT_BUILD_TARGET="basic"
 EANT_DOC_TARGET=""
 
 src_compile() {
-       local j2mearg antarg
+       local antarg
 
        use ant && antarg="-Dant.jar=$(java-pkg_getjar ant-core ant.jar)"
-       use j2me && j2mearg="-Dwtk.jar=$(java-pkg_getjar sun-j2me-bin kenv.zip)"
 
        java-pkg-2_src_compile \
-               $(use ant && echo anttask ${antarg}) \
-               $(use j2me && echo wtkplugin ${j2mearg})
+               $(use ant && echo anttask ${antarg})
 
        if use doc; then
                mkdir javadoc || die
index c10cdecaa146ed913c36f9adce6e95cc57b5e35f..cf8bbd6043ec0e0dcc775aafbeeb318a255393c7 100644 (file)
@@ -15,13 +15,11 @@ SRC_URI="mirror://sourceforge/proguard/${MY_P}.tar.gz"
 LICENSE="GPL-2-with-linking-exception"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="ant j2me"
+IUSE="ant"
 
-DEPEND=">=virtual/jdk-1.4
-               j2me? ( >=dev-java/sun-j2me-bin-2.2:0 )"
+DEPEND=">=virtual/jdk-1.4"
 RDEPEND=">=virtual/jre-1.4
-               >=dev-java/ant-core-1.7:0
-               j2me? ( >=dev-java/sun-j2me-bin-2.2:0 )"
+               >=dev-java/ant-core-1.7:0"
 
 S=${WORKDIR}/${MY_P}
 
@@ -34,14 +32,12 @@ EANT_BUILD_TARGET="basic"
 EANT_DOC_TARGET=""
 
 src_compile() {
-       local j2mearg antarg
+       local antarg
 
        use ant && antarg="-Dant.jar=$(java-pkg_getjar ant-core ant.jar)"
-       use j2me && j2mearg="-Dwtk.jar=$(java-pkg_getjar sun-j2me-bin kenv.zip)"
 
        java-pkg-2_src_compile \
-               $(use ant && echo anttask ${antarg}) \
-               $(use j2me && echo wtkplugin ${j2mearg})
+               $(use ant && echo anttask ${antarg})
 
        if use doc; then
                mkdir javadoc || die
index 594eb13eebe452e3b58bcb60d3dc85f91d06bba2..f933a7491fb4d0336de42f5c4db74feb4607126a 100644 (file)
@@ -443,10 +443,6 @@ net-nds/nsscache nssdb
 # java wrappers fail to build (bug #548858)
 =app-admin/setools-3.3.8-r7 java
 
-# James Le Cuirot <chewi@gentoo.org> (05 Apr 2015)
-# dev-java/sun-j2me-bin is going away.
-dev-java/proguard j2me
-
 # Lars Wendler <polynomial-c@gentoo.org> (19 Mar 2015)
 # >=games-strategy/freeciv-2.5.0 requires >=dev-lang/lua-5.2
 games-strategy/freeciv system-lua