commit:     875f262e689f9ee5fac8f2f9267cc474f4b376be
Author:     Jeffrey Lin <jeffrey <AT> icurse <DOT> nl>
AuthorDate: Sat Jun 27 23:09:29 2020 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Jul  4 14:18:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=875f262e

sci-mathematics/mathematica: remove --keep when unpacking

This flag inflates the build directory by 4 GB for no reason.  Removing
it can reduce memory pressure when unpacking to tmpfs.

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Jeffrey Lin <jeffrey <AT> icurse.nl>
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild | 2 +-
 sci-mathematics/mathematica/mathematica-12.1.1-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild 
b/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild
index bcbabb70e37..864d3164620 100644
--- a/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild
+++ b/sci-mathematics/mathematica/mathematica-10.3.1-r1.ebuild
@@ -36,7 +36,7 @@ QA_PREBUILT="opt/*"
 S=${WORKDIR}
 
 src_unpack() {
-       /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/${M_TARGET}" "-execdir=${S}/opt/bin" || die
+       /bin/sh "${DISTDIR}/${A}" --nox11 --confirm -- -auto 
"-targetdir=${S}/${M_TARGET}" "-execdir=${S}/opt/bin" || die
 }
 
 src_install() {

diff --git a/sci-mathematics/mathematica/mathematica-12.1.1-r1.ebuild 
b/sci-mathematics/mathematica/mathematica-12.1.1-r1.ebuild
index bcbabb70e37..864d3164620 100644
--- a/sci-mathematics/mathematica/mathematica-12.1.1-r1.ebuild
+++ b/sci-mathematics/mathematica/mathematica-12.1.1-r1.ebuild
@@ -36,7 +36,7 @@ QA_PREBUILT="opt/*"
 S=${WORKDIR}
 
 src_unpack() {
-       /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/${M_TARGET}" "-execdir=${S}/opt/bin" || die
+       /bin/sh "${DISTDIR}/${A}" --nox11 --confirm -- -auto 
"-targetdir=${S}/${M_TARGET}" "-execdir=${S}/opt/bin" || die
 }
 
 src_install() {

Reply via email to