summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Lin <jeffrey@icurse.nl>2020-06-27 19:07:37 -0400
committerAndreas K. Hüttel <dilfridge@gentoo.org>2020-07-04 17:18:19 +0300
commit178729f9d31a9d62239a26d20bb80ff871a0d211 (patch)
treecfb7eef33b8f040c11a9961e47b8b16ebeb653ad /sci-mathematics/mathematica
parentsci-mathematics/mathematica: declare ${M_TARGET} for uniformity (diff)
downloadgentoo-178729f9d31a9d62239a26d20bb80ff871a0d211.tar.gz
gentoo-178729f9d31a9d62239a26d20bb80ff871a0d211.tar.bz2
gentoo-178729f9d31a9d62239a26d20bb80ff871a0d211.zip
sci-mathematics/mathematica: EAPI 7
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Jeffrey Lin <jeffrey@icurse.nl> Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sci-mathematics/mathematica')
-rw-r--r--sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild6
-rw-r--r--sci-mathematics/mathematica/mathematica-12.1.1-r1.ebuild6
2 files changed, 6 insertions, 6 deletions
diff --git a/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild b/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild
index 7f5efeb8efaa..bcbabb70e37a 100644
--- a/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild
+++ b/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit multilib versionator xdg
+inherit multilib xdg
DESCRIPTION="Wolfram Mathematica"
SRC_URI="Mathematica_${PV}_LINUX.sh"
@@ -26,7 +26,7 @@ RDEPEND="
# we need this a few times
MPN="Mathematica"
-MPV=$(get_version_component_range 1-2)
+MPV=$(ver_cut 1-2)
M_BINARIES="MathKernel Mathematica MathematicaScript WolframKernel WolframScript math mathematica mcc wolfram"
M_TARGET="opt/Wolfram/${MPN}/${MPV}"
diff --git a/sci-mathematics/mathematica/mathematica-12.1.1-r1.ebuild b/sci-mathematics/mathematica/mathematica-12.1.1-r1.ebuild
index 7f5efeb8efaa..bcbabb70e37a 100644
--- a/sci-mathematics/mathematica/mathematica-12.1.1-r1.ebuild
+++ b/sci-mathematics/mathematica/mathematica-12.1.1-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit multilib versionator xdg
+inherit multilib xdg
DESCRIPTION="Wolfram Mathematica"
SRC_URI="Mathematica_${PV}_LINUX.sh"
@@ -26,7 +26,7 @@ RDEPEND="
# we need this a few times
MPN="Mathematica"
-MPV=$(get_version_component_range 1-2)
+MPV=$(ver_cut 1-2)
M_BINARIES="MathKernel Mathematica MathematicaScript WolframKernel WolframScript math mathematica mcc wolfram"
M_TARGET="opt/Wolfram/${MPN}/${MPV}"