[pytables] 11/15: Avoid duplicate files in the doc

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Fri Jun 30 18:07:43 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 pytables.

commit ac9bd04f7c20825efd23868cb583aa95faba1eff
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Thu Jun 29 05:26:53 2017 +0000

    Avoid duplicate files in the doc
---
 debian/changelog | 1 +
 debian/rules     | 9 +++++++++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e1bf7a6..e9d7108 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,7 @@ pytables (3.4.2-1) UNRELEASED; urgency=medium
   * debian/rules
     - no longer use dpkg-parsechangelog to determine the current
       package timestamp
+    - avoid duplicate files in the doc
 
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Wed, 28 Jun 2017 20:25:32 +0000
 
diff --git a/debian/rules b/debian/rules
index 26698b1..cbc83a8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -68,6 +68,15 @@ override_dh_install:
 	dh_install -p python-tables-doc
 	dh_install -p python-tables-data
 
+	# duplicate files in doc
+	rm -f debian/tmp/usr/share/doc/python-tables-doc/examples/simple_threading.py
+	rm -f debian/tmp/usr/share/doc/python-tables-doc/examples/threading_monkeypatch.py
+	dh_link -p python-tables-doc usr/share/python-tables-doc//html/_downloads/simple_threading.py usr/share/python-tables-doc/examples/simple_threading.py
+	dh_link -p python-tables-doc usr/share/python-tables-doc//html/_downloads/threading_monkeypatch.py usr/share/python-tables-doc/examples/threading_monkeypatch.py
+
+	rm -f usr/share/doc/python-tables-doc/html/_sources/release-notes/RELEASE_NOTES_v2.1.x-pro.txt
+	dh_link -p python-tables-doc  usr/share/doc/python-tables-doc/html/_sources/release-notes/RELEASE_NOTES_v2.1.x-pro.txt usr/share/doc/python-tables-doc/html/_sources/release-notes/RELEASE_NOTES_v2.1.x.txt
+
 	# link data files
 	for py in $(PY2VERS); do \
 		for f in debian/tmp/usr/lib/python2*/*-packages/tables/tests/*.h5 \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytables.git



More information about the debian-science-commits mailing list