openbsd-ports/devel/py-urwid/Makefile
2011-09-16 09:24:48 +00:00

36 lines
689 B
Makefile

# $OpenBSD: Makefile,v 1.12 2011/09/16 09:24:56 espie Exp $
COMMENT = console user interface library for python
MODPY_EGG_VERSION = 0.9.9.1
DISTNAME = urwid-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 2
CATEGORIES = devel
HOMEPAGE = http://excess.org/urwid/
# GPL
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${HOMEPAGE}
REGRESS_DEPENDS = devel/py-gobject \
lang/python/${MODPY_VERSION},-tests
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_BADEGGS = urwid
PKG_ARCH = *
WANTLIB += ${MODPY_WANTLIB}
do-regress:
@cd ${WRKSRC} && ${MODPY_BIN} ./test_urwid.py
.include <bsd.port.mk>