[Python-modules-commits] [python-numpy] 15/17: use the python3 library path to build the doc

Sandro Tosi morph at moszumanska.debian.org
Sun Nov 26 17:40:32 UTC 2017


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch master
in repository python-numpy.

commit 6da6f720ca2dad12ca5bada178edc3810c12babc
Author: Sandro Tosi <morph at debian.org>
Date:   Sun Nov 26 11:30:40 2017 -0500

    use the python3 library path to build the doc
---
 debian/changelog | 4 +++-
 debian/rules     | 3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a95c5fe..b98c5fe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,8 +8,10 @@ python-numpy (1:1.13.3-1) UNRELEASED; urgency=medium
   * debian/tests/*
     - fix autopkg test dependencies, and atlas and openblas test for multi-arch
       library locations; Closes: #876006
+  * debian/rules
+    - use the python3 library path to build the doc
 
- -- Sandro Tosi <morph at debian.org>  Sun, 26 Nov 2017 10:47:14 -0500
+ -- Sandro Tosi <morph at debian.org>  Sun, 26 Nov 2017 11:30:18 -0500
 
 python-numpy (1:1.13.1-1) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 8968014..268833d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,7 @@ PY3VERS=$(shell py3versions -vr)
 PYDEF=$(shell pyversions -dv)
 PY3DEF=$(shell py3versions -dv)
 PYLIBPATH := $(shell python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print b.build_platlib")
+PY3LIBPATH := $(shell python3 -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print (b.build_platlib)")
 
 # Look at #634012 to understand why is needed and what will happen if we set
 # compat to 9
@@ -140,7 +141,7 @@ build-arch:
 
 build-indep: 
 	# build doc only for default python version
-	(export MPLCONFIGDIR=. ; make -C doc html PYTHON=python3 PYTHONPATH=../$(PYLIBPATH))
+	(export MPLCONFIGDIR=. ; make -C doc html PYTHON=python3 PYTHONPATH=../$(PY3LIBPATH))
 
 update_intersphinx_mapping:
 	wget http://docs.python.org/dev/objects.inv -O debian/python.org_objects.inv

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-numpy.git



More information about the Python-modules-commits mailing list