freebsd-ports/misc/py-fast-histogram/Makefile
2023-04-23 09:09:58 +00:00

25 lines
621 B
Makefile

PORTNAME= fast-histogram
DISTVERSION= 0.11
PORTREVISION= 1
CATEGORIES= misc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Fast simple 1D and 2D histograms
WWW= https://github.com/astrofrog/fast-histogram
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYNUMPY}
USES= python:3.6+
USE_PYTHON= distutils autoplist
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/fast_histogram/_histogram_core*.so
.include <bsd.port.mk>