e14896b844
They now have a tool dependency on py-setuptools instead of a DEPENDS
24 lines
644 B
Makefile
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"
|