[Python-modules-commits] [flufl.lock] 07/10: Sets docs right

Pierre-Elliott Bécue peb-guest at moszumanska.debian.org
Sat Nov 25 16:40:16 UTC 2017


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

peb-guest pushed a commit to branch master
in repository flufl.lock.

commit b855e0feca84f4e25e1501d194337a970033ac16
Author: Pierre-Elliott Bécue <becue at crans.org>
Date:   Sat Nov 25 17:37:40 2017 +0100

    Sets docs right
    
     * Moves the doc from /usr/share/doc/python3-flufl.lock-doc to
       /usr/share/doc/python3-flufl.lock.
     * Adds a doc-base
---
 debian/changelog                       | 6 ++++++
 debian/python3-flufl.lock-doc.dirs     | 1 +
 debian/python3-flufl.lock-doc.doc-base | 9 +++++++++
 debian/rules                           | 2 ++
 4 files changed, 18 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2e5c31a..c355ae9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,11 +33,17 @@ flufl.lock (2.4.1-2) UNRELEASED; urgency=medium
     - Upstream changed copyright from LGPL-3 to Apache-2.0
   * d/rules:
     - Removes python2 build.
+    - Moves the doc in usr/share/doc/python3-flufl.lock without the -doc
+      suffix.
   * d/tests:
     - Removes all python2 references.
   * d/python-flufl.lock.links -> d/python3-flufl.lock-doc.links
     - The pointer to rst should be with the doc, if not, it points to a
       nonexisting directory.
+  * Adds d/python3-flufl.lock-doc.dirs:
+    - Provides the usr/share/doc/python3-flufl.lock directory
+  * Adds d/python3-flufl.lock-doc.doc-base:
+    - Provides doc-base intel that were missing.
 
  -- Pierre-Elliott Bécue <becue at crans.org>  Sat, 25 Nov 2017 16:51:28 +0100
 
diff --git a/debian/python3-flufl.lock-doc.dirs b/debian/python3-flufl.lock-doc.dirs
new file mode 100644
index 0000000..d20eab5
--- /dev/null
+++ b/debian/python3-flufl.lock-doc.dirs
@@ -0,0 +1 @@
+usr/share/doc/python3-flufl.lock
diff --git a/debian/python3-flufl.lock-doc.doc-base b/debian/python3-flufl.lock-doc.doc-base
new file mode 100644
index 0000000..c0e7073
--- /dev/null
+++ b/debian/python3-flufl.lock-doc.doc-base
@@ -0,0 +1,9 @@
+Document: python3-flufl.lock
+Title: Python3 flufl.lock Manual
+Author: Barry Warsaw <barry at python.org>
+Abstract: This manual describes how to use Python3 flufl.lock library.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python3-flufl.lock/html/index.html
+Files: /usr/share/doc/python3-flufl.lock/html/*.html
diff --git a/debian/rules b/debian/rules
index cede095..ff923f3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,3 +16,5 @@ override_dh_installchangelogs:
 override_dh_installdocs:
 	python3 setup.py build_sphinx
 	dh_installdocs build/sphinx/html
+	mv debian/python3-flufl.lock-doc/usr/share/doc/python3-flufl.lock-doc/html \
+	   debian/python3-flufl.lock-doc/usr/share/doc/python3-flufl.lock/

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



More information about the Python-modules-commits mailing list