[Python-modules-commits] [matplotlib] 16/17: use dist-packages and create the baseline_images dir

Sandro Tosi morph at moszumanska.debian.org
Thu Jan 19 04:40:25 UTC 2017


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

morph pushed a commit to branch master
in repository matplotlib.

commit 11dd16b9be6dd2c7724f7b8d7fe7ec0c2c5fd91e
Author: Sandro Tosi <morph at debian.org>
Date:   Wed Jan 18 21:35:21 2017 -0500

    use dist-packages and create the baseline_images dir
---
 debian/rules | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index b0c7486..8875538 100755
--- a/debian/rules
+++ b/debian/rules
@@ -128,7 +128,8 @@ install-%-stamp: build-%-stamp
 	# don't install baseline_images, needed for tests only, but huge
 	# leave the dir tho, as matplotlib/tests/__init__.py checks for it
 	rm -rf $(CURDIR)/debian/$(p)/usr/lib/python$*/*-packages/matplotlib/tests/baseline_images/*
-	for d in $(CURDIR)/debian/$(p)/usr/lib/python$*/*-packages/matplotlib/tests/baseline_images/; do \
+	for d in $(CURDIR)/debian/$(p)/usr/lib/python$*/dist-packages/matplotlib/tests/baseline_images/; do \
+	    mkdir -p $$d; \
 	    touch $$d/.keep; \
 	done
 
@@ -172,7 +173,8 @@ install-py3-%-stamp: build-%-stamp
 	# don't install baseline_images, needed for tests only, but huge
 	# leave the dir tho, as matplotlib/tests/__init__.py checks for it
 	rm -rf $(CURDIR)/debian/$(p3)/usr/lib/python3/*-packages/matplotlib/tests/baseline_images/*
-	for d in $(CURDIR)/debian/$(p3)/usr/lib/python3/*-packages/matplotlib/tests/baseline_images/; do \
+	for d in $(CURDIR)/debian/$(p3)/usr/lib/python3/dist-packages/matplotlib/tests/baseline_images/; do \
+	    mkdir -p $$d; \
 	    touch $$d/.keep; \
 	done
 

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



More information about the Python-modules-commits mailing list