- Update USE_PYTHON=cython{,_run,_test}
- Convert all cython3 occurrence to USE_PYTHON=cython3*
- While I'm here, fix incorrect usage of combining cython3 in BUILD_DEPENDS and USE_PYTHON=cython
It is added to simplify the future transition from Cython 0.29 to 3.
The minimal version is set to 3.0.12 because it is required by devel/py-propcache.
The upper bound of version is set to 3.1 because it is limited by multiple ports.
27 lines
637 B
Makefile
27 lines
637 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:3.10+ 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>
|