pkgsrc/devel/py-pyelftools/Makefile
wiz e14896b844 *: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
2022-01-04 20:53:21 +00:00

24 lines
644 B
Makefile

# $NetBSD: Makefile,v 1.5 2022/01/04 20:53:23 wiz Exp $
DISTNAME= pyelftools-0.27
PKGNAME= ${PYPKGPREFIX}-${EGG_NAME}
PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyelftools/}
MAINTAINER= khorben@defora.org
HOMEPAGE= https://github.com/eliben/pyelftools
COMMENT= Library for analyzing ELF files and DWARF debugging information
LICENSE= public-domain
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} readelf.py readelf-${PYVERSSUFFIX}.py || ${TRUE}
do-test:
cd ${WRKSRC} && ${PYTHONBIN} test/run_all_unittests.py
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"