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