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

34 lines
617 B
Makefile

# $OpenBSD: Makefile,v 1.12 2019/05/15 12:04:35 kmos Exp $
COMMENT = console-based visual debugger for Python
MODPY_EGG_VERSION = 2018.1
DISTNAME = pudb-${MODPY_EGG_VERSION}
PKGNAME = py-pudb-${MODPY_EGG_VERSION}
REVISION = 0
CATEGORIES = devel
# MIT
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
RUN_DEPENDS = devel/py-urwid${MODPY_FLAVOR}>=1.1.1 \
textproc/py-pygments${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR ?=
.if ${FLAVOR:Mpython3}
PUDB_SCRIPT_NAME = pudb3
.else
PUDB_SCRIPT_NAME = pudb
.endif
SUBST_VARS += PUDB_SCRIPT_NAME
.include <bsd.port.mk>