blob: afe7e2ebf80d2afa5d87bf3d34d19bafad01066a (
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.5 2012/04/08 19:09:07 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
PKG_DESTDIR_SUPPORT= user-destdir
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"
|