pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/py-networkx Correctly set the path t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3dfe57fb63eb
branches: trunk
changeset: 307491:3dfe57fb63eb
user: khorben <khorben%pkgsrc.org@localhost>
date: Mon May 07 15:27:09 2018 +0000
description:
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.
diffstat:
math/py-networkx/Makefile | 32 +++++++++++++++++++++++++++++++-
1 files changed, 31 insertions(+), 1 deletions(-)
diffs (49 lines):
diff -r b4aba3cf9cd1 -r 3dfe57fb63eb math/py-networkx/Makefile
--- a/math/py-networkx/Makefile Mon May 07 12:15:24 2018 +0000
+++ b/math/py-networkx/Makefile Mon May 07 15:27:09 2018 +0000
@@ -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 @@
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