pkgsrc/devel/py-cogapp/Makefile
adam 2f520654b3 py-cogapp: added version 2.5.1
Cog is a file generation tool. It lets you use pieces of Python code as
generators in your source files to generate whatever text you need.
2018-08-07 09:21:18 +00:00

22 lines
596 B
Makefile

# $NetBSD: Makefile,v 1.1 2018/08/07 09:21:18 adam Exp $
DISTNAME= cogapp-2.5.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cogapp/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://nedbatchelder.com/code/cog
COMMENT= Code generator for executing Python snippets in source files
LICENSE= mit
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} cog.py cog-${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC} && ${PYTHONBIN} -m unittest discover -v
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"