pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-pyelftools
Module Name: pkgsrc
Committed By: adam
Date: Fri Apr 6 07:08:26 UTC 2018
Modified Files:
pkgsrc/devel/py-pyelftools: Makefile PLIST
Added Files:
pkgsrc/devel/py-pyelftools: ALTERNATIVES
Log Message:
py-pyelftools: enable all Python versions; enable tests; use ALTERNATIVES
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-pyelftools/ALTERNATIVES
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-pyelftools/Makefile \
pkgsrc/devel/py-pyelftools/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-pyelftools/Makefile
diff -u pkgsrc/devel/py-pyelftools/Makefile:1.1 pkgsrc/devel/py-pyelftools/Makefile:1.2
--- pkgsrc/devel/py-pyelftools/Makefile:1.1 Tue Mar 20 15:34:16 2018
+++ pkgsrc/devel/py-pyelftools/Makefile Fri Apr 6 07:08:26 2018
@@ -1,16 +1,23 @@
-# $NetBSD: Makefile,v 1.1 2018/03/20 15:34:16 khorben Exp $
+# $NetBSD: Makefile,v 1.2 2018/04/06 07:08:26 adam Exp $
DISTNAME= pyelftools-0.24
PKGNAME= ${PYPKGPREFIX}-${EGG_NAME}
-CATEGORIES= devel
+PKGREVISION= 1
+CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyelftools/}
MAINTAINER= khorben%defora.org@localhost
-HOMEPAGE= https://pypi.python.org/pypi/pyelftools/
+HOMEPAGE= https://github.com/eliben/pyelftools
COMMENT= Library for analyzing ELF files and DWARF debugging information
LICENSE= public-domain
-PYTHON_VERSIONS_ACCEPTED= 27
+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/distutils.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-pyelftools/PLIST
diff -u pkgsrc/devel/py-pyelftools/PLIST:1.1 pkgsrc/devel/py-pyelftools/PLIST:1.2
--- pkgsrc/devel/py-pyelftools/PLIST:1.1 Tue Mar 20 15:34:16 2018
+++ pkgsrc/devel/py-pyelftools/PLIST Fri Apr 6 07:08:26 2018
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2018/03/20 15:34:16 khorben Exp $
-bin/readelf.py
+@comment $NetBSD: PLIST,v 1.2 2018/04/06 07:08:26 adam Exp $
+bin/readelf-${PYVERSSUFFIX}.py
${PYSITELIB}/elftools/__init__.py
${PYSITELIB}/elftools/__init__.pyc
${PYSITELIB}/elftools/__init__.pyo
Added files:
Index: pkgsrc/devel/py-pyelftools/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-pyelftools/ALTERNATIVES:1.1
--- /dev/null Fri Apr 6 07:08:26 2018
+++ pkgsrc/devel/py-pyelftools/ALTERNATIVES Fri Apr 6 07:08:26 2018
@@ -0,0 +1 @@
+bin/readelf.py @PREFIX@/bin/readelf-@PYVERSSUFFIX@.py
Home |
Main Index |
Thread Index |
Old Index