1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/graphics/py-pygeos/Makefile
Po-Chuan Hsieh 5bbfde11fe
graphics/py-pygeos: Update USES=python
math/py-numpy requires Python 3.7+
2021-11-06 03:14:15 +08:00

27 lines
715 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= pygeos
PORTVERSION= 0.10.2
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= GEOS wrapped in numpy ufuncs
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= geos>=3.5:graphics/geos \
${PYTHON_PKGNAMEPREFIX}numpy>=1.13,1:math/py-numpy@${PY_FLAVOR}
LIB_DEPENDS= libgeos.so:graphics/geos
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.13,1:math/py-numpy@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist concurrent cython distutils
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>