[Python-modules-commits] [python-stdnum] 04/07: Add a python-stdnum-doc package
Arthur de Jong
adejong at moszumanska.debian.org
Sun Mar 6 14:02:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
adejong pushed a commit to branch master
in repository python-stdnum.
commit dea1dcf4e81d1301a147f96384ed4cf51e4b86ec
Author: Arthur de Jong <adejong at debian.org>
Date: Sun Mar 6 12:20:05 2016 +0100
Add a python-stdnum-doc package
---
debian/changelog | 3 ++-
debian/control | 21 ++++++++++++++++++---
debian/python-stdnum-doc.doc-base | 11 +++++++++++
debian/python-stdnum-doc.docs | 3 +++
debian/rules | 6 +++++-
5 files changed, 39 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e864e7c..a87bdde 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,9 @@ python-stdnum (1.3-1) UNRELEASED; urgency=medium
- fix problem with SOAP client when using suds
- include documentation that was previously on the Trac wiki
* Update debian/copyright
+ * Add a python-stdnum-doc package
- -- Arthur de Jong <adejong at debian.org> Sun, 06 Mar 2016 12:17:44 +0100
+ -- Arthur de Jong <adejong at debian.org> Sun, 06 Mar 2016 12:20:05 +0100
python-stdnum (1.2-1) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index df1fb8e..bf77805 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,8 @@ Standards-Version: 3.9.6
Build-Depends: python-all (>= 2.6.6-3~), python3-all (>= 3.1.2-10~),
debhelper (>= 9), dh-python,
python-setuptools, python3-setuptools,
- python-nose (>= 1.2.0), python3-nose (>= 1.2.0)
+ python-nose (>= 1.2.0), python3-nose (>= 1.2.0),
+ python-sphinx (>= 1.0.7+dfsg)
X-Python-Version: >= 2.6
X-Python3-Version: >= 3.0
Homepage: http://arthurdejong.org/python-stdnum/
@@ -17,7 +18,7 @@ Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-stdn
Package: python-stdnum
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}, python-pkg-resources
-Suggests: python-pysimplesoap | python-suds
+Suggests: python-pysimplesoap | python-suds, python-stdnum-doc
Description: Python module to handle standardized numbers and codes
A Python module to parse, validate and reformat standard numbers and codes
in different formats.
@@ -120,7 +121,7 @@ Description: Python module to handle standardized numbers and codes
Package: python3-stdnum
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}, python3-pkg-resources
-Suggests: python3-pysimplesoap
+Suggests: python3-pysimplesoap, python-stdnum-doc
Description: Python module to handle standardized numbers and codes (Python3 version)
A Python module to parse, validate and reformat standard numbers and codes
in different formats.
@@ -221,3 +222,17 @@ Description: Python module to handle standardized numbers and codes (Python3 ver
Mod 97, 10, Mod 11, 10 and Mod 37, 36
.
This package contains the Python 3 version of the library.
+
+Package: python-stdnum-doc
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: www-browser
+Section: doc
+Description: Python module to handle standardized numbers and codes (Documentation)
+ A Python module to parse, validate and reformat standard numbers and codes
+ in different formats.
+ .
+ The package supports a great number of number formats and check digit
+ algorithms.
+ .
+ This package contains the module's documentation.
diff --git a/debian/python-stdnum-doc.doc-base b/debian/python-stdnum-doc.doc-base
new file mode 100644
index 0000000..1cc2faf
--- /dev/null
+++ b/debian/python-stdnum-doc.doc-base
@@ -0,0 +1,11 @@
+Document: stdnum
+Title: Parse, validate and reformat standard numbers and codes
+Author: Arthur de Jong
+Abstract: Parse, validate and reformat standard numbers and codes
+ This is the documentation for the stdnum package which provides a
+ number of parsing and validation functions for standard numbers.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-stdnum-doc/html/index.html
+Files: /usr/share/doc/python-stdnum-doc/html/*.html
diff --git a/debian/python-stdnum-doc.docs b/debian/python-stdnum-doc.docs
new file mode 100644
index 0000000..3e4e3a6
--- /dev/null
+++ b/debian/python-stdnum-doc.docs
@@ -0,0 +1,3 @@
+README
+NEWS
+build/html
diff --git a/debian/rules b/debian/rules
index fb3167a..469a435 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,11 @@ export LC_ALL=C.UTF-8
export PYBUILD_NAME = stdnum
%:
- dh $@ --with python2,python3 --buildsystem=pybuild
+ dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build:
+ dh_auto_build
+ PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -b html docs/ build/html
override_dh_auto_test:
dh_auto_test -- --system=custom --test-args='TZ=Europe/Amsterdam {interpreter} setup.py nosetests'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-stdnum.git
More information about the Python-modules-commits
mailing list