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

33 lines
625 B
Makefile

# $OpenBSD: Makefile,v 1.28 2019/05/15 12:04:42 kmos Exp $
COMMENT = fast, optionally sandboxed, Python template engine
MODPY_EGG_VERSION = 2.10
DISTNAME = Jinja2-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}
REVISION= 0
GH_ACCOUNT= pallets
GH_PROJECT= jinja
GH_TAGNAME= ${MODPY_EGG_VERSION}
CATEGORIES = www devel
HOMEPAGE = http://jinja.pocoo.org/
MAINTAINER = frantisek holop <minusf@obiit.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
RUN_DEPENDS = textproc/py-MarkupSafe${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR ?=
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
.include <bsd.port.mk>