Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2021 20:02:49 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 08359d131104 - main - math/sage: chase the upgrade to py38-setuptools to 57.0.0
Message-ID:  <202106152002.15FK2nsm079615@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=08359d131104c03f1e73208cf81a82b1daabe4d4

commit 08359d131104c03f1e73208cf81a82b1daabe4d4
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2021-06-15 19:57:00 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2021-06-15 20:02:39 +0000

    math/sage: chase the upgrade to py38-setuptools to 57.0.0
    
    The latest upgrade of py38-setuptools to 57.0.0 introduced a conflict
    with some files installed by SageMath: remove them.
---
 math/sage/Makefile  | 4 +++-
 math/sage/pkg-plist | 5 -----
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/math/sage/Makefile b/math/sage/Makefile
index 38554cc805af..7257b88aa524 100644
--- a/math/sage/Makefile
+++ b/math/sage/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	sage
 PORTVERSION=	9.2
-PORTREVISION=	14
+PORTREVISION=	15
 CATEGORIES=	math
 MASTER_SITES=	https://mirrors.xmission.com/sage/src/		\
 		http://mirrors.xmission.com/sage/src/		\
@@ -568,8 +568,10 @@ do-install:
 
 post-install:
 	${RM} ${STAGEDIR}${PREFIX}/lib64 ${STAGEDIR}${PREFIX}/libdata/pkgconfig/blas.pc	\
+		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/distutils-precedence.pth	\
 		${STAGEDIR}${PREFIX}/libdata/pkgconfig/cblas.pc	\
 		${STAGEDIR}${PREFIX}/libdata/pkgconfig/gsl.pc	\
 		${STAGEDIR}${PREFIX}/libdata/pkgconfig/lapack.pc
+	${RM} -r ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_distutils_hack
 
 .include <bsd.port.post.mk>
diff --git a/math/sage/pkg-plist b/math/sage/pkg-plist
index 4085e75e210b..37a8b9a7f15f 100644
--- a/math/sage/pkg-plist
+++ b/math/sage/pkg-plist
@@ -49,11 +49,6 @@ include/ratpoints.h
 lib/libratpoints.a
 %%PYTHON_SITELIBDIR%%/__pycache__/sage_conf.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/__pycache__/sagetex.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/_distutils_hack/__init__.py
-%%PYTHON_SITELIBDIR%%/_distutils_hack/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/_distutils_hack/__pycache__/override.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/_distutils_hack/override.py
-%%PYTHON_SITELIBDIR%%/distutils-precedence.pth
 %%PYTHON_SITELIBDIR%%/sage-%%VER%%-py%%PYTHON_VER%%.egg-info
 %%PYTHON_SITELIBDIR%%/sage/__init__.py
 %%PYTHON_SITELIBDIR%%/sage/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106152002.15FK2nsm079615>