ajacoutot b25fdb8308 Fox python3 only ports, use the proper construct for FLAVOR and forcibly assign
the variable.
FLAVOR = python3
(not FLAVOR =?)

ok sthen@
2021-02-27 11:13:34 +00:00

35 lines
680 B
Makefile

# $OpenBSD: Makefile,v 1.18 2021/02/27 11:13:35 ajacoutot Exp $
COMMENT = console-based visual debugger for Python
MODPY_EGG_VERSION = 2019.2
DISTNAME = pudb-${MODPY_EGG_VERSION}
PKGNAME = py-pudb-${MODPY_EGG_VERSION}
CATEGORIES = devel
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
RUN_DEPENDS = devel/py-urwid${MODPY_FLAVOR}>=1.1.1 \
textproc/py-pygments${MODPY_FLAVOR}
TEST_DEPENDS = devel/py-test-mock${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR = python3
.if ${FLAVOR:Mpython3}
PUDB_SCRIPT_NAME = pudb3
.else
PUDB_SCRIPT_NAME = pudb
.endif
SUBST_VARS += PUDB_SCRIPT_NAME
.include <bsd.port.mk>