commit:     44f4444e9d8c3328d0578ccb1c40a429414b212a
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 22 07:58:07 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Sep 22 07:58:07 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=44f4444e

sci-mathematics/Oid: Bump to EAPI=5

Package-Manager: portage-2.2.21
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-mathematics/Oid/Oid-4.0.ebuild | 17 +++++++++--------
 sci-mathematics/Oid/metadata.xml   | 12 ++++++------
 2 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/sci-mathematics/Oid/Oid-4.0.ebuild 
b/sci-mathematics/Oid/Oid-4.0.ebuild
index 03a2423..2b97b6e 100644
--- a/sci-mathematics/Oid/Oid-4.0.ebuild
+++ b/sci-mathematics/Oid/Oid-4.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="2"
+EAPI=5
 
 inherit eutils java-pkg-2 versionator
 
@@ -10,26 +10,27 @@ MY_PV=$(replace_version_separator 1 '-')
 MY_P="${PN}${MY_PV}"
 
 DESCRIPTION="An interactive, extensible software system for experimenting with 
matroids"
-SRC_URI="http://sites.google.com/site/wwwmatroids/${MY_P}.tar.gz
-       doc? ( 
http://sites.google.com/site/wwwmatroids/${PN}UserManual${MY_PV}.pdf )"
 HOMEPAGE="http://sites.google.com/site/wwwmatroids/";
+SRC_URI="
+       http://sites.google.com/site/wwwmatroids/${MY_P}.tar.gz
+       doc? ( 
http://sites.google.com/site/wwwmatroids/${PN}UserManual${MY_PV}.pdf )"
 
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 LICENSE="GPL-2"
 IUSE="doc"
 
-DEPEND=">=virtual/jdk-1.4"
-RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4:*"
+RDEPEND=">=virtual/jre-1.4:*"
 
 # The source uses 'enum' as an identifier, therefore:
 JAVA_PKG_WANT_SOURCE="1.4"
 
 src_prepare () {
-       mkdir classes
+       mkdir classes || die
 
 # change path names
-       sed -i -e 's:NAME = ":NAME = "/usr/share/Oid/:' MatroidToolkit.java
+       sed -i -e 's:NAME = ":NAME = "/usr/share/Oid/:' MatroidToolkit.java || 
die
 }
 
 src_compile () {

diff --git a/sci-mathematics/Oid/metadata.xml b/sci-mathematics/Oid/metadata.xml
index dc4589f..ee27114 100644
--- a/sci-mathematics/Oid/metadata.xml
+++ b/sci-mathematics/Oid/metadata.xml
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<herd>sci-mathematics</herd>
-<maintainer>
-  <email>[email protected]</email>
-  <name>Thomas Kahle</name>
-</maintainer>
-<longdescription lang="en">
+  <herd>sci-mathematics</herd>
+  <maintainer>
+    <email>[email protected]</email>
+    <name>Thomas Kahle</name>
+  </maintainer>
+  <longdescription lang="en">
   Oid is a tool to experiment with matroids
 </longdescription>
 </pkgmetadata>

Reply via email to