opnsense-ports/math/py-PyWavelets/Makefile
Franco Fichtner d6cfeb8a48 */*: sync with upstream
Taken from: HardenedBSD
2020-02-25 16:56:10 +01:00

36 lines
768 B
Makefile

# $FreeBSD$
PORTNAME= PyWavelets
PORTVERSION= 0.5.2
PORTREVISION= 4
DISTVERSIONPREFIX= v
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= eric@camachat.org
COMMENT= Discrete Wavelet Transforms in Python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYNUMPY}
USE_GITHUB= yes
GH_PROJECT= pywt
USES= cpe python
USE_PYTHON= autoplist distutils cython cython_run
PYDISTUTILS_BUILD_TARGET= build build_ext
PYDISTUTILS_BUILDARGS+= saveopts
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3500
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=1.7:graphics/py-pillow6@${PY_FLAVOR}
.else
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=1.7:graphics/py-pillow@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>