Thu Oct 29 23:19:59 2020 UTC ()
py-sympy: mark incompatible with Python 2.7


(gutteridge)
diff -r1.26 -r1.27 pkgsrc/math/py-sympy/Makefile

cvs diff -r1.26 -r1.27 pkgsrc/math/py-sympy/Makefile (expand / switch to unified diff)

--- pkgsrc/math/py-sympy/Makefile 2020/09/20 14:30:01 1.26
+++ pkgsrc/math/py-sympy/Makefile 2020/10/29 23:19:59 1.27
@@ -1,31 +1,33 @@ @@ -1,31 +1,33 @@
1# $NetBSD: Makefile,v 1.26 2020/09/20 14:30:01 ryoon Exp $ 1# $NetBSD: Makefile,v 1.27 2020/10/29 23:19:59 gutteridge Exp $
2 2
3DISTNAME= sympy-1.6.2 3DISTNAME= sympy-1.6.2
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= math python 5CATEGORIES= math python
6MASTER_SITES= ${MASTER_SITE_PYPI:=s/sympy/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=s/sympy/}
7 7
8MAINTAINER= minskim@NetBSD.org 8MAINTAINER= minskim@NetBSD.org
9HOMEPAGE= https://www.sympy.org/ 9HOMEPAGE= https://www.sympy.org/
10COMMENT= Python library for symbolic mathematics 10COMMENT= Python library for symbolic mathematics
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13DEPENDS+= ${PYPKGPREFIX}-mpmath>=0.19:../../math/py-mpmath 13DEPENDS+= ${PYPKGPREFIX}-mpmath>=0.19:../../math/py-mpmath
14 14
15USE_LANGUAGES= # none 15USE_LANGUAGES= # none
16 16
17REPLACE_PYTHON+= sympy/utilities/tests/diagnose_imports.py 17REPLACE_PYTHON+= sympy/utilities/tests/diagnose_imports.py
18 18
 19PYTHON_VERSIONS_INCOMPATIBLE= 27
 20
19SUBST_CLASSES+= manpath 21SUBST_CLASSES+= manpath
20SUBST_SED.manpath= -e 's,share/man,${PKGMANDIR},' 22SUBST_SED.manpath= -e 's,share/man,${PKGMANDIR},'
21SUBST_FILES.manpath+= setup.py 23SUBST_FILES.manpath+= setup.py
22SUBST_STAGE.manpath= pre-configure 24SUBST_STAGE.manpath= pre-configure
23SUBST_MESSAGE.manpath= Fix man page installation path. 25SUBST_MESSAGE.manpath= Fix man page installation path.
24 26
25# advanced.pidigits is broken, don't worry if it fails 27# advanced.pidigits is broken, don't worry if it fails
26do-test: 28do-test:
27 (cd ${WRKSRC}/examples && ${PYTHONBIN} all.py) 29 (cd ${WRKSRC}/examples && ${PYTHONBIN} all.py)
28 30
29post-install: 31post-install:
30 cd ${DESTDIR}${PREFIX} && \ 32 cd ${DESTDIR}${PREFIX} && \
31 mv bin/isympy bin/isympy${PYVERSSUFFIX} && \ 33 mv bin/isympy bin/isympy${PYVERSSUFFIX} && \