pkgsrc/math/py-gmpy/Makefile
wiz 1682c6507d Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.
2016-08-28 15:48:28 +00:00

33 lines
875 B
Makefile

# $NetBSD: Makefile,v 1.8 2016/08/28 15:48:33 wiz Exp $
DISTNAME= gmpy-1.15
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math
MASTER_SITES= http://gmpy.googlecode.com/files/
EXTRACT_SUFX= .zip
MAINTAINER= kamel.derouiche@gmail.com
HOMEPAGE= http://code.google.com/p/gmpy
COMMENT= Python library for arbitrary precision arithmetic
LICENSE= gnu-lgpl-v2.1
USE_LANGUAGES= c
BUILD_TARGET= gmpy.so
TEST_ENV+= PYTHONPATH=${WRKSRC}/test
do-test:
${ECHO} "Testing py-gmpy:"
${RUN} cd ${WRKSRC}/test; \
${SETENV} ${TEST_ENV} ${PYTHONBIN} gmpy_test.py
INSTALLATION_DIRS= share/doc/py-gmpy${PYVERSSUFFIX}
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/gmpydoc.txt \
${DESTDIR}${PREFIX}/share/doc/py-gmpy${PYVERSSUFFIX}
BUILDLINK_API_DEPENDS.gmp+= gmp>=4.2.1
.include "../../devel/gmp/buildlink3.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"