media-gfx/plantuml: version 8046 changed to 0.8046 because of following bump
authorMiroslav Šulc <fordfrog@gentoo.org>
Tue, 17 Dec 2019 12:36:37 +0000 (13:36 +0100)
committerMiroslav Šulc <fordfrog@gentoo.org>
Tue, 17 Dec 2019 12:46:25 +0000 (13:46 +0100)
1) bumped to eapi7
2) fixed download and sourcedir related to version change

Package-Manager: Portage-2.3.82, Repoman-2.3.20
RepoMan-Options: --force
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
media-gfx/plantuml/plantuml-0.8046.ebuild [moved from media-gfx/plantuml/plantuml-8046.ebuild with 84% similarity]

similarity index 84%
rename from media-gfx/plantuml/plantuml-8046.ebuild
rename to media-gfx/plantuml/plantuml-0.8046.ebuild
index 57239acc9c8ae8b2f0aacef6153b29e326455b04..0db55ffddc12babf9fabb4bc8fbebe257efbdd5a 100644 (file)
@@ -1,14 +1,15 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=7
 
 JAVA_PKG_IUSE="source"
 inherit java-pkg-2 java-ant-2
 
+MY_VER=$(ver_cut 2)
 DESCRIPTION="Draw UML diagrams using a simple and human readable text description"
 HOMEPAGE="http://plantuml.com"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_VER}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="amd64 ~x86"
@@ -19,6 +20,8 @@ RDEPEND=">=virtual/jre-1.7
        dev-java/ant-core:0
        >=media-gfx/graphviz-2.26.3"
 
+S="${WORKDIR}/${PN}-${MY_VER}"
+
 EANT_BUILD_TARGET="dist"
 EANT_GENTOO_CLASSPATH="ant-core"
 JAVA_ANT_REWRITE_CLASSPATH="true"