pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/py-networkx
Module Name: pkgsrc
Committed By: khorben
Date: Mon May 7 15:27:09 UTC 2018
Modified Files:
pkgsrc/math/py-networkx: Makefile
Log Message:
Correctly set the path to the Python interpreter
This notably fixes building with PKG_DEVELOPER=yes.
Bump PKGREVISION as some of the files installed are modified.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/math/py-networkx/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/py-networkx/Makefile
diff -u pkgsrc/math/py-networkx/Makefile:1.25 pkgsrc/math/py-networkx/Makefile:1.26
--- pkgsrc/math/py-networkx/Makefile:1.25 Thu Feb 1 21:00:25 2018
+++ pkgsrc/math/py-networkx/Makefile Mon May 7 15:27:09 2018
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2018/02/01 21:00:25 adam Exp $
+# $NetBSD: Makefile,v 1.26 2018/05/07 15:27:09 khorben Exp $
DISTNAME= networkx-2.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/networkx/}
EXTRACT_SUFX= .zip
@@ -15,6 +16,35 @@ DEPENDS+= ${PYPKGPREFIX}-decorator>=4.1.
USE_LANGUAGES= # none
+REPLACE_INTERPRETER+= python
+REPLACE.python.old= /usr/bin/env python
+REPLACE.python.new= ${PYTHONBIN}
+REPLACE_FILES.python= \
+examples/drawing/*.py \
+examples/advanced/*.py \
+examples/graph/*.py \
+examples/applications/*.py \
+examples/algorithms/*.py \
+examples/pygraphviz/*.py \
+examples/basic/*.py \
+examples/jit/*.py \
+doc/release/*.py \
+networkx/readwrite/tests/*.py \
+networkx/utils/tests/*.py \
+networkx/generators/tests/*.py \
+networkx/classes/tests/*.py \
+networkx/algorithms/components/tests/*.py \
+networkx/algorithms/isomorphism/tests/*.py \
+networkx/algorithms/link_analysis/tests/*.py \
+networkx/algorithms/centrality/tests/*.py \
+networkx/algorithms/bipartite/tests/*.py \
+networkx/algorithms/traversal/tests/*.py \
+networkx/algorithms/approximation/tests/*.py \
+networkx/algorithms/assortativity/tests/*.py \
+networkx/algorithms/shortest_paths/tests/*.py \
+networkx/algorithms/tests/*.py \
+networkx/tests/*.py
+
post-install:
${RM} -f -r ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${MV} ${DESTDIR}${PREFIX}/share/doc/${DISTNAME} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
Home |
Main Index |
Thread Index |
Old Index