Lines 2-16
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= numpy |
4 |
PORTNAME= numpy |
5 |
PORTVERSION= 1.16.6 |
5 |
PORTVERSION= 1.19.4 |
6 |
PORTEPOCH= 1 |
6 |
PORTEPOCH= 1 |
7 |
CATEGORIES= math python |
7 |
CATEGORIES= math python |
8 |
MASTER_SITES= CHEESESHOP \ |
8 |
MASTER_SITES= CHEESESHOP \ |
9 |
https://docs.scipy.org/doc/${PORTNAME}-${PORTVERSION}/:doc |
9 |
https://numpy.org/doc/${PORTVERSION:R}/:doc |
10 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
10 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
11 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ |
11 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ |
12 |
${PORTNAME}-ref-${PORTVERSION:R}.1.pdf:doc \ |
12 |
${PORTNAME}-ref.pdf:doc \ |
13 |
${PORTNAME}-user-${PORTVERSION:R}.1.pdf:doc |
13 |
${PORTNAME}-user.pdf:doc |
14 |
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
14 |
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
15 |
|
15 |
|
16 |
MAINTAINER= python@FreeBSD.org |
16 |
MAINTAINER= python@FreeBSD.org |
Lines 19-25
COMMENT= The New Numeric Extension to Python
Link Here
|
19 |
LICENSE= BSD3CLAUSE |
19 |
LICENSE= BSD3CLAUSE |
20 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
20 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
21 |
|
21 |
|
22 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} |
22 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ |
|
|
23 |
${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} |
23 |
|
24 |
|
24 |
USES= compiler:c11 fortran python zip |
25 |
USES= compiler:c11 fortran python zip |
25 |
USE_PYTHON= allflavors autoplist concurrent cython distutils |
26 |
USE_PYTHON= allflavors autoplist concurrent cython distutils |
Lines 65-75
pre-configure:
Link Here
|
65 |
|
66 |
|
66 |
post-install: |
67 |
post-install: |
67 |
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' | ${XARGS} ${STRIP_CMD} |
68 |
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' | ${XARGS} ${STRIP_CMD} |
|
|
69 |
${REINPLACE_CMD} -e '\|_examples/$$|d' ${_PYTHONPKGLIST} |
68 |
|
70 |
|
69 |
post-install-DOCS-on: |
71 |
post-install-DOCS-on: |
70 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
72 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
71 |
${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-ref-${PORTVERSION:R}.1.pdf ${STAGEDIR}${DOCSDIR} |
73 |
${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-ref.pdf ${STAGEDIR}${DOCSDIR} |
72 |
${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-user-${PORTVERSION:R}.1.pdf ${STAGEDIR}${DOCSDIR} |
74 |
${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-user.pdf ${STAGEDIR}${DOCSDIR} |
73 |
|
75 |
|
74 |
do-test: |
76 |
do-test: |
75 |
@cd ${WRKSRC} && ${PYTHON_CMD} runtests.py |
77 |
@cd ${WRKSRC} && ${PYTHON_CMD} runtests.py |