[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / math / py-mpmath

File: [cvs.NetBSD.org] / pkgsrc / math / py-mpmath / Makefile (download)

Revision 1.10, Tue Jul 22 10:11:42 2014 UTC (5 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.9: +4 -6 lines

Update to 0.19. Update HOMEPAGE and MASTER_SITES. Allow python-3.

--0.19--
Released June 10, 2014

* Moved issue tracking to github and the main website to mpmath.org.
  Several URLs and issue numbers were updated in the documentation
  (Sergey B Kirpichev)
* Enabled automatic testing with Travis CI (Sergey B Kirpichev)
* Fixed many doctest issues (Sergey B Kirpichev)
* Converted line endings to LF (Ondrej Certik)
* Made polyroots() more robust (Ondrej Certik)

# $NetBSD: Makefile,v 1.10 2014/07/22 10:11:42 wiz Exp $

DISTNAME=	mpmath-0.19
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	math
MASTER_SITES=	http://pypi.python.org/packages/source/m/mpmath/ \
		http://mpmath.org/files/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://mpmath.org/
COMMENT=	Python library for arbitrary-precision FP arithmetic
LICENSE=	modified-bsd

USE_LANGUAGES=	# none
PYDISTUTILSPKG=	yes

TEST_ENV+=	PYTHONPATH=${WRKSRC}/build/lib

SUBST_CLASSES+=		python
SUBST_STAGE.python=	post-patch
SUBST_FILES.python+=	mpmath/matrices/eigen.py mpmath/matrices/eigen_symmetric.py
SUBST_FILES.python+=	mpmath/tests/test_eigen.py mpmath/tests/test_eigen_symmetric.py
SUBST_FILES.python+=	mpmath/tests/test_levin.py
SUBST_MESSAGE.python=	Fixing path to Python interpreter.
SUBST_SED.python=	-e "s,/usr/bin/python,${PYTHONBIN},g"

SUBST_CLASSES+=		python2
SUBST_STAGE.python2=	post-patch
SUBST_FILES.python2+=	mpmath/tests/runtests.py
SUBST_MESSAGE.python2=	Fixing path to Python interpreter.
SUBST_SED.python2=	-e "s,/usr/bin/env python,${PYTHONBIN},g"

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"