freebsd-ports/math/py-bottleneck/Makefile
Po-Chuan Hsieh 46c4277787
math/py-bottleneck: Update USES=python
math/py-numpy requires Python 3.7+
2021-11-06 03:14:17 +08:00

35 lines
949 B
Makefile

# Created by: Johannes Meixner <johannes@perceivon.net>
PORTNAME= bottleneck
PORTVERSION= 1.3.2
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Bottleneck-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Collection of fast NumPy array functions written in Cython
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist concurrent cython distutils
DOCS= README.rst RELEASE.rst \
doc/source/conf.py doc/source/index.rst doc/source/intro.rst doc/source/reference.rst
PORTDOCS= ${DOCS:T}
OPTIONS_DEFINE= DOCS
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>