Matthias Andree 1403bb7765 *: Revise USES=python:... version range constraints
and strip all lower bounds of 3.9 or 3.10 because they are implied now.

python:3.9-X  -> python:-X
python:3.9+   -> python
python:3.10-X -> python:-X
python:3.10+  -> python
(options such as ,build preserved)
2025-11-01 18:23:22 +01:00

27 lines
631 B
Makefile

PORTNAME= pywavelets
PORTVERSION= 1.8.0
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= makc@FreeBSD.org
COMMENT= Discrete Wavelet Transforms in Python
WWW= https://github.com/PyWavelets/pywt
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}meson-python>=0.16:devel/meson-python@${PY_FLAVOR}
RUN_DEPENDS= ${PYNUMPY}
USES= python shebangfix
USE_PYTHON= autoplist cython3 pep517
SHEBANG_FILES= pywt/data/create_dat.py
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pywt/_extensions/*.so
.include <bsd.port.mk>