pkgsrc/math/py-mpmath/Makefile
drochner 6b522a9bac update to 0.15, from Kamel Derouiche per PR pkg/43730
many fixes and improvements, too much to list here
2010-08-10 18:04:30 +00:00

31 lines
886 B
Makefile

# $NetBSD: Makefile,v 1.3 2010/08/10 18:04:30 drochner Exp $
#
DISTNAME= mpmath-0.15
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math
MASTER_SITES= http://mpmath.googlecode.com/files/
EXTRACT_SUFX= .zip
# XXX: all text file are DOS style.
# XXX: if future version install binary file,
# XXX: please consider to use another method.
EXTRACT_OPTS_ZIP= -aaqo
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"