afbbef2b1f
ok brian@.
35 lines
648 B
Makefile
35 lines
648 B
Makefile
# $OpenBSD: Makefile,v 1.8 2017/11/15 10:15:06 rpointel Exp $
|
|
|
|
COMMENT = console-based visual debugger for Python
|
|
|
|
MODPY_EGG_VERSION = 2017.1.4
|
|
DISTNAME = pudb-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-pudb-${MODPY_EGG_VERSION}
|
|
|
|
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}
|
|
|
|
TEST_DEPENDS = ${RUN_DEPENDS}
|
|
|
|
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>
|