openbsd-ports/textproc/py-pygments/Makefile
landry c432a35fa7 Update to py-pygments 1.5.
From David Hill, tested by benoit@, MAINTAINER timeout
2012-11-29 23:45:06 +00:00

34 lines
695 B
Makefile

# $OpenBSD: Makefile,v 1.16 2012/11/29 23:45:06 landry Exp $
COMMENT= Python syntax highlighter
MODPY_EGG_VERSION = 1.5
DISTNAME= Pygments-${MODPY_EGG_VERSION}
PKGNAME= ${DISTNAME:L:S/^/py-/}
CATEGORIES= textproc devel
HOMEPAGE= http://pygments.org/
MAINTAINER= Damien Miller <djm@openbsd.org>
MODULES= lang/python
PKG_ARCH= *
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pygments/}
MODPY_SETUPTOOLS= Yes
REGRESS_DEPENDS= devel/py-nose
do-regress: fake
@cd ${WRKSRC}/tests && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./run.py
.include <bsd.port.mk>