| @@ -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 | |
3 | DISTNAME= sympy-1.6.2 | | 3 | DISTNAME= sympy-1.6.2 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | CATEGORIES= math python | | 5 | CATEGORIES= math python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=s/sympy/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=s/sympy/} |
7 | | | 7 | |
8 | MAINTAINER= minskim@NetBSD.org | | 8 | MAINTAINER= minskim@NetBSD.org |
9 | HOMEPAGE= https://www.sympy.org/ | | 9 | HOMEPAGE= https://www.sympy.org/ |
10 | COMMENT= Python library for symbolic mathematics | | 10 | COMMENT= Python library for symbolic mathematics |
11 | LICENSE= modified-bsd | | 11 | LICENSE= modified-bsd |
12 | | | 12 | |
13 | DEPENDS+= ${PYPKGPREFIX}-mpmath>=0.19:../../math/py-mpmath | | 13 | DEPENDS+= ${PYPKGPREFIX}-mpmath>=0.19:../../math/py-mpmath |
14 | | | 14 | |
15 | USE_LANGUAGES= # none | | 15 | USE_LANGUAGES= # none |
16 | | | 16 | |
17 | REPLACE_PYTHON+= sympy/utilities/tests/diagnose_imports.py | | 17 | REPLACE_PYTHON+= sympy/utilities/tests/diagnose_imports.py |
18 | | | 18 | |
| | | 19 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |
| | | 20 | |
19 | SUBST_CLASSES+= manpath | | 21 | SUBST_CLASSES+= manpath |
20 | SUBST_SED.manpath= -e 's,share/man,${PKGMANDIR},' | | 22 | SUBST_SED.manpath= -e 's,share/man,${PKGMANDIR},' |
21 | SUBST_FILES.manpath+= setup.py | | 23 | SUBST_FILES.manpath+= setup.py |
22 | SUBST_STAGE.manpath= pre-configure | | 24 | SUBST_STAGE.manpath= pre-configure |
23 | SUBST_MESSAGE.manpath= Fix man page installation path. | | 25 | SUBST_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 |
26 | do-test: | | 28 | do-test: |
27 | (cd ${WRKSRC}/examples && ${PYTHONBIN} all.py) | | 29 | (cd ${WRKSRC}/examples && ${PYTHONBIN} all.py) |
28 | | | 30 | |
29 | post-install: | | 31 | post-install: |
30 | cd ${DESTDIR}${PREFIX} && \ | | 32 | cd ${DESTDIR}${PREFIX} && \ |
31 | mv bin/isympy bin/isympy${PYVERSSUFFIX} && \ | | 33 | mv bin/isympy bin/isympy${PYVERSSUFFIX} && \ |