blob: 61c4346a9b8c07e5e99b0f2045e76245389f0c0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $NetBSD: Makefile,v 1.7 2014/01/25 10:30:13 wiz Exp $
DISTNAME= mpmath-0.17
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math
MASTER_SITES= http://mpmath.googlecode.com/files/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://code.google.com/p/mpmath/
COMMENT= Python library for arbitrary-precision FP arithmetic
LICENSE= modified-bsd
USE_LANGUAGES= # none
PYDISTUTILSPKG= yes
PYTHON_VERSIONS_INCOMPATIBLE= 33
TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
do-test:
${RUN} cd ${WRKSRC}/build/lib/mpmath/tests; \
${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py
.include "../../lang/python/extension.mk"
# optional speedup
#.include "../../math/py-gmpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|