openbsd-ports/geo/py-proj/Makefile

39 lines
804 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.25 2020/02/25 10:04:27 landry Exp $
COMMENT = Pyrex generated python interface to PROJ.4 library
MODPY_EGG_VERSION = 2.4.2.post1
DISTNAME = pyproj-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/py/py-/:S/.post/pl/}
CATEGORIES = geo
HOMEPAGE = https://github.com/jswhit/pyproj
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# MIT
PERMIT_PACKAGE = Yes
WANTLIB += ${MODPY_WANTLIB} proj pthread
2010-10-23 14:26:19 -04:00
MODULES = lang/python
MODPY_PI = Yes
MODPY_PYTEST = Yes
MODPY_TEST_DIR = ${WRKSRC}/test
FLAVORS = python3
FLAVOR = python3
2016-01-27 04:45:07 -05:00
MODPY_SETUPTOOLS = Yes
BUILD_DEPENDS += ${RUN_DEPENDS}
TEST_DEPENDS = ${BUILD_PKGPATH} \
devel/py-mock${MODPY_FLAVOR}
RUN_DEPENDS += devel/proj>=6.0 \
lang/cython${MODPY_FLAVOR} \
math/py-numpy${MODPY_FLAVOR}
.include <bsd.port.mk>