dev-java/spymemcached: Remove optional dependence on Spring Framework
authorJames Le Cuirot <chewi@gentoo.org>
Sun, 3 Apr 2016 21:24:16 +0000 (22:24 +0100)
committerJames Le Cuirot <chewi@gentoo.org>
Sun, 3 Apr 2016 21:42:23 +0000 (22:42 +0100)
Our Spring Framework packages are going to be masked because they're
outdated, vulnerable, and not likely to be updated soon. Straight to
stable because I'm just removing USE-based functionality.

Package-Manager: portage-2.2.28

dev-java/spymemcached/metadata.xml
dev-java/spymemcached/spymemcached-2.9.1-r1.ebuild [moved from dev-java/spymemcached/spymemcached-2.9.1.ebuild with 69% similarity]

index 82afaa0a5774772fd836b3978c2bdc13fbe9a3f0..f120820fba70c90534285697a3609c9f19ae1ec6 100644 (file)
@@ -5,9 +5,6 @@
                <email>java@gentoo.org</email>
                <name>Java</name>
        </maintainer>
-       <use>
-               <flag name="spring">Build support for the spring framework</flag>
-       </use>
        <upstream>
                <remote-id type="google-code">spymemcached</remote-id>
        </upstream>
similarity index 69%
rename from dev-java/spymemcached/spymemcached-2.9.1.ebuild
rename to dev-java/spymemcached/spymemcached-2.9.1-r1.ebuild
index 5a9328d3a369a77a60b432ff501f6b3d5e638c33..74e123ceeb15542dbbdd28b658b692229ebdbb9d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,11 +16,8 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 x86"
 
-IUSE="spring"
-
 CDEPEND="dev-java/log4j:0
-       dev-java/slf4j-api:0
-       spring? ( dev-java/spring-beans:3.2 )"
+       dev-java/slf4j-api:0"
 
 DEPEND=">=virtual/jdk-1.5
        ${CDEPEND}"
@@ -33,9 +30,5 @@ S="${WORKDIR}"
 JAVA_GENTOO_CLASSPATH="log4j,slf4j-api"
 
 java_prepare() {
-       if use spring; then
-               JAVA_GENTOO_CLASSPATH+=",spring-beans-3.2"
-       else
-               rm net/spy/memcached/spring/MemcachedClientFactoryBean.java || die
-       fi
+       rm net/spy/memcached/spring/MemcachedClientFactoryBean.java || die
 }