blob: c7cc6e9a7c0282560923bf9a40de87763f58ba12 (
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
27
28
29
30
31
32
33
|
# $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"
|