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