kmos c45cd79fc7 Add RUN_DEPENDS to TEST_DEPENDS automatically for ports using the
lang/python port module. I've not yet come up with a port that
would not need this and one can always set MODPY_TESTDEP to "no"
to prevent the module from touching TEST_DEPENDS.

Idea from afresh1 who pointed out the cpan module already does this.

aja "I support this move."

OK sthen@
2019-05-15 12:04:34 +00:00

32 lines
630 B
Makefile

# $OpenBSD: Makefile,v 1.5 2019/05/15 12:04:38 kmos Exp $
COMMENT = library for accessing OGC Web Services
MODPY_EGG_VERSION = 0.17.1
DISTNAME = OWSLib-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}
REVISION = 0
CATEGORIES = geo devel
HOMEPAGE = http://geopython.github.io/OWSLib
# BSD
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
FLAVORS = python3
FLAVOR?=
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
RUN_DEPENDS = www/py-requests${MODPY_FLAVOR} \
geo/py-proj${MODPY_FLAVOR} \
devel/py-tz${MODPY_FLAVOR} \
devel/py-dateutil${MODPY_FLAVOR}
TEST_DEPENDS = devel/py-test${MODPY_FLAVOR}
.include <bsd.port.mk>