| @@ -1,31 +1,29 @@ | | | @@ -1,31 +1,29 @@ |
1 | # $NetBSD: Makefile,v 1.9 2014/06/06 12:11:46 wen Exp $ | | 1 | # $NetBSD: Makefile,v 1.10 2014/07/22 10:11:42 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= mpmath-0.18 | | 3 | DISTNAME= mpmath-0.19 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | CATEGORIES= math | | 5 | CATEGORIES= math |
6 | MASTER_SITES= http://pypi.python.org/packages/source/m/mpmath/ \ | | 6 | MASTER_SITES= http://pypi.python.org/packages/source/m/mpmath/ \ |
7 | http://mpmath.googlecode.com/files/ | | 7 | http://mpmath.org/files/ |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://code.google.com/p/mpmath/ | | 10 | HOMEPAGE= http://mpmath.org/ |
11 | COMMENT= Python library for arbitrary-precision FP arithmetic | | 11 | COMMENT= Python library for arbitrary-precision FP arithmetic |
12 | LICENSE= modified-bsd | | 12 | LICENSE= modified-bsd |
13 | | | 13 | |
14 | USE_LANGUAGES= # none | | 14 | USE_LANGUAGES= # none |
15 | PYDISTUTILSPKG= yes | | 15 | PYDISTUTILSPKG= yes |
16 | | | 16 | |
17 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 | | | |
18 | | | | |
19 | TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib | | 17 | TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib |
20 | | | 18 | |
21 | SUBST_CLASSES+= python | | 19 | SUBST_CLASSES+= python |
22 | SUBST_STAGE.python= post-patch | | 20 | SUBST_STAGE.python= post-patch |
23 | SUBST_FILES.python+= mpmath/matrices/eigen.py mpmath/matrices/eigen_symmetric.py | | 21 | SUBST_FILES.python+= mpmath/matrices/eigen.py mpmath/matrices/eigen_symmetric.py |
24 | SUBST_FILES.python+= mpmath/tests/test_eigen.py mpmath/tests/test_eigen_symmetric.py | | 22 | SUBST_FILES.python+= mpmath/tests/test_eigen.py mpmath/tests/test_eigen_symmetric.py |
25 | SUBST_FILES.python+= mpmath/tests/test_levin.py | | 23 | SUBST_FILES.python+= mpmath/tests/test_levin.py |
26 | SUBST_MESSAGE.python= Fixing path to Python interpreter. | | 24 | SUBST_MESSAGE.python= Fixing path to Python interpreter. |
27 | SUBST_SED.python= -e "s,/usr/bin/python,${PYTHONBIN},g" | | 25 | SUBST_SED.python= -e "s,/usr/bin/python,${PYTHONBIN},g" |
28 | | | 26 | |
29 | SUBST_CLASSES+= python2 | | 27 | SUBST_CLASSES+= python2 |
30 | SUBST_STAGE.python2= post-patch | | 28 | SUBST_STAGE.python2= post-patch |
31 | SUBST_FILES.python2+= mpmath/tests/runtests.py | | 29 | SUBST_FILES.python2+= mpmath/tests/runtests.py |