openbsd-ports/devel/pudb/Makefile
2022-11-14 17:16:53 +00:00

33 lines
614 B
Makefile

COMMENT = console-based visual debugger for Python
MODPY_EGG_VERSION = 2019.2
DISTNAME = pudb-${MODPY_EGG_VERSION}
PKGNAME = py-pudb-${MODPY_EGG_VERSION}
REVISION = 2
CATEGORIES = devel
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_PYBUILD = setuptools
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>