Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/Oid/
Date: Thu, 28 Jan 2021 16:32:57
Message-Id: 1611851570.d2c004d8d6e33c536f7e6ec23231470208512205.andrewammerlaan@gentoo
1 commit: d2c004d8d6e33c536f7e6ec23231470208512205
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Thu Jan 28 16:32:50 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Thu Jan 28 16:32:50 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d2c004d8
7
8 sci-mathematics/Oid: EAPI bump
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12
13 sci-mathematics/Oid/Oid-4.0.ebuild | 24 +++++++++++++-----------
14 1 file changed, 13 insertions(+), 11 deletions(-)
15
16 diff --git a/sci-mathematics/Oid/Oid-4.0.ebuild b/sci-mathematics/Oid/Oid-4.0.ebuild
17 index bbc267637..ce967fd46 100644
18 --- a/sci-mathematics/Oid/Oid-4.0.ebuild
19 +++ b/sci-mathematics/Oid/Oid-4.0.ebuild
20 @@ -1,35 +1,38 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 +# Copyright 1999-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=5
26 +EAPI=7
27
28 -inherit eutils java-pkg-2 versionator
29 +inherit java-pkg-2
30
31 -MY_PV=$(replace_version_separator 1 '-')
32 +MY_PV="${PV//./-}"
33 MY_P="${PN}${MY_PV}"
34
35 DESCRIPTION="An interactive, extensible software system for experimenting with matroids"
36 -HOMEPAGE="http://sites.google.com/site/wwwmatroids/"
37 +HOMEPAGE="https://sites.google.com/site/wwwmatroids/"
38 SRC_URI="
39 - http://sites.google.com/site/wwwmatroids/${MY_P}.tar.gz
40 - doc? ( http://sites.google.com/site/wwwmatroids/${PN}UserManual${MY_PV}.pdf )"
41 + https://sites.google.com/site/wwwmatroids/${MY_P}.tar.gz -> ${P}.tar.gz
42 + https://sites.google.com/site/wwwmatroids/${PN}UserManual${MY_PV}.pdf
43 +"
44
45 KEYWORDS="~amd64 ~x86"
46 SLOT="0"
47 LICENSE="GPL-2"
48 -IUSE="doc"
49
50 DEPEND=">=virtual/jdk-1.4:*"
51 RDEPEND=">=virtual/jre-1.4:*"
52
53 # The source uses 'enum' as an identifier, therefore:
54 JAVA_PKG_WANT_SOURCE="1.4"
55 +S="${WORKDIR}"
56
57 src_prepare () {
58 mkdir classes || die
59
60 -# change path names
61 + # change path names
62 sed -i -e 's:NAME = ":NAME = "/usr/share/Oid/:' MatroidToolkit.java || die
63 +
64 + default
65 }
66
67 src_compile () {
68 @@ -42,8 +45,7 @@ src_install () {
69
70 java-pkg_dojar Oid.jar
71 java-pkg_dolauncher
72 -
73 - use doc && dodoc "${DISTDIR}"/OidUserManual4-0.pdf
74 + dodoc "${DISTDIR}"/OidUserManual4-0.pdf
75
76 insinto /usr/share/Oid
77 doins matroid*.txt