[Python-modules-commits] [flufl.i18n] 07/08: Changes the -doc package behaviour
Pierre-Elliott Bécue
peb-guest at moszumanska.debian.org
Sat Nov 25 14:40:21 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.i18n.
commit 21dad867deb505e8510f3aec54f03e7f442c2392
Author: Pierre-Elliott Bécue <becue at crans.org>
Date: Sat Nov 25 15:38:21 2017 +0100
Changes the -doc package behaviour
* Puts the html doc into /usr/share/doc/python3-flufl.i18n instead of
/usr/share/doc/python3-flufl.i18n-doc (I'm waiting for you, dh11!!)
* Adds doc-base reference
---
debian/changelog | 6 ++++++
debian/python3-flufl.i18n-doc.dirs | 1 +
debian/python3-flufl.i18n-doc.doc-base | 9 +++++++++
debian/rules | 2 ++
4 files changed, 18 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index e1e73a2..87036ea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,9 +20,15 @@ flufl.i18n (1.1.3-5) UNRELEASED; urgency=medium
- Barry changed copyright from LGPL-3 to Apache-2.0
* d/rules:
- Removes python2 build.
+ - Moves the doc in usr/share/doc/python3-flufl.i18n without the -doc
+ suffix.
* d/tests:
- Removes all python2 references.
* d/python-flufl.i18n.links -> d/python3-flufl.i18n.links
+ * Adds d/python3-flufl.i18n-doc.dirs:
+ - Provides the usr/share/doc/python3-flufl.i18n directory
+ * Adds d/python3-flufl.i18n-doc.doc-base:
+ - Provides doc-base intel that were missing.
* d/watch:
- Bump version to 4
- Use https URL instead of http
diff --git a/debian/python3-flufl.i18n-doc.dirs b/debian/python3-flufl.i18n-doc.dirs
new file mode 100644
index 0000000..65728dc
--- /dev/null
+++ b/debian/python3-flufl.i18n-doc.dirs
@@ -0,0 +1 @@
+usr/share/doc/python3-flufl.i18n
diff --git a/debian/python3-flufl.i18n-doc.doc-base b/debian/python3-flufl.i18n-doc.doc-base
new file mode 100644
index 0000000..c5f0561
--- /dev/null
+++ b/debian/python3-flufl.i18n-doc.doc-base
@@ -0,0 +1,9 @@
+Document: python3-flufl.i18n
+Title: Python3 flufl.i18n Manual
+Author: Barry Warsaw <barry at python.org>
+Abstract: This manual describes how to use Python3 flufl.i18n library.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python3-flufl.i18n/html/index.html
+Files: /usr/share/doc/python3-flufl.i18n/html/*.html
diff --git a/debian/rules b/debian/rules
index 725f70a..11bdcc1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,3 +14,5 @@ override_dh_installchangelogs:
override_dh_installdocs:
python3 setup.py build_sphinx
dh_installdocs build/sphinx/html
+ mv debian/python3-flufl.i18n-doc/usr/share/doc/python3-flufl.i18n-doc/html \
+ debian/python3-flufl.i18n-doc/usr/share/doc/python3-flufl.i18n/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/flufl.i18n.git
More information about the Python-modules-commits
mailing list