[pyresample] 02/03: Avoid duplicate files in the package

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Wed Jun 21 06:03:51 UTC 2017


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

a_valentino-guest pushed a commit to branch master
in repository pyresample.

commit 0b1b5d18d8d55ce0f694728350e76aadfbaa03fc
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Wed Jun 21 05:35:00 2017 +0000

    Avoid duplicate files in the package
---
 debian/changelog                   | 1 +
 debian/python-pyresample-doc.links | 1 +
 debian/rules                       | 1 +
 3 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 65f7496..64dcb3e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ pyresample (1.5.0-2) UNRELEASED; urgency=medium
 
   * debian/control
     - drop X-Python-Version and X-Python3-Version fields
+  * Fix documentation installaton to avoid duplicate files in the package
 
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Wed, 21 Jun 2017 05:17:29 +0000
 
diff --git a/debian/python-pyresample-doc.links b/debian/python-pyresample-doc.links
new file mode 100644
index 0000000..08b5630
--- /dev/null
+++ b/debian/python-pyresample-doc.links
@@ -0,0 +1 @@
+usr/share/doc/python-pyresample-doc/html/_images usr/share/doc/python-pyresample-doc/html/_static/images
diff --git a/debian/rules b/debian/rules
index 8fab2f5..be3320c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,7 @@ override_dh_auto_build:
 	dh_auto_build --buildsystem=pybuild
 ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	env PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
+	rm -rf docs/build/html/_static/images/
 endif
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pyresample.git



More information about the Pkg-grass-devel mailing list