pkgsrc/devel/py-CppHeaderParser/Makefile
riastradh 437ce44d7b Import CppHeaderParser-2.7.4 from pypi as devel/py-CppHeaderParser
CppHeaderParser is a pure python module that will parse C++ header
files and generate a data structure representing the class.
2020-08-18 20:20:33 +00:00

25 lines
740 B
Makefile

# $NetBSD: Makefile,v 1.1 2020/08/18 20:20:33 riastradh Exp $
DISTNAME= CppHeaderParser-2.7.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_PYPI:=C/CppHeaderParser/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://senexcanis.com/open-source/cppheaderparser/
COMMENT= Python library to parse C++ header files
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-ply>=0:../../devel/py-ply
PYTHON_VERSIONS_INCOMPATIBLE= 27
REPLACE_PYTHON+= CppHeaderParser/examples/readSampleClass.py
do-test:
${RUN} cd ${WRKSRC}/CppHeaderParser/examples && \
${PYTHONBIN} ./readSampleClass.py >/dev/null
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"