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

31 lines
610 B
Makefile

# $OpenBSD: Makefile,v 1.5 2019/05/15 12:04:39 kmos Exp $
COMMENT= optimise a list of IPv4/IPv6 prefixes
MODPY_EGG_VERSION= 1.0.12
DISTNAME= aggregate6-${MODPY_EGG_VERSION}
CATEGORIES= net
REVISION= 0
HOMEPAGE= https://github.com/job/aggregate6/
MAINTAINER= Job Snijders <job@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
MODULES= lang/python
MODPY_PI= Yes
MODPY_SETUPTOOLS= Yes
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
RUN_DEPENDS= devel/py-radix${MODPY_FLAVOR}
TEST_DEPENDS= devel/py-coverage${MODPY_FLAVOR} \
devel/py-mock${MODPY_FLAVOR} \
devel/py-nose${MODPY_FLAVOR}
.include <bsd.port.mk>