[Python-modules-commits] r32315 - in packages/python-requests-cache/trunk/debian (control rules)
morph at users.alioth.debian.org
morph at users.alioth.debian.org
Sat Apr 11 18:46:45 UTC 2015
Date: Saturday, April 11, 2015 @ 18:46:44
Author: morph
Revision: 32315
build doc and install it in the new -doc package
Modified:
packages/python-requests-cache/trunk/debian/control
packages/python-requests-cache/trunk/debian/rules
Modified: packages/python-requests-cache/trunk/debian/control
===================================================================
--- packages/python-requests-cache/trunk/debian/control 2015-04-11 18:24:54 UTC (rev 32314)
+++ packages/python-requests-cache/trunk/debian/control 2015-04-11 18:46:44 UTC (rev 32315)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Sandro Tosi <morph at debian.org>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 9), python, python3, dh-python
+Build-Depends: debhelper (>= 9), python, python3, dh-python, python-sphinx
Standards-Version: 3.9.6
Homepage: https://github.com/reclosedev/requests-cache
Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/python-requests-cache/trunk/
@@ -12,13 +12,24 @@
Package: python-requests-cache
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}, python-responses (>= 1.1.0)
+Suggests: python-requests-cache-doc
Description: persistent cache for requests library
Requests-cache is a transparent persistent cache for requests library.
Package: python3-requests-cache
Architecture: all
Depends: ${python3:Depends}, ${misc:Depends}, python3-responses (>= 1.1.0)
+Suggests: python-requests-cache-doc
Description: persistent cache for requests library (Python 3)
Requests-cache is a transparent persistent cache for requests library.
.
This package contains the Python 3 version of requests-cache.
+
+Package: python-requests-cache-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: persistent cache for requests library (doc)
+ Requests-cache is a transparent persistent cache for requests library.
+ .
+ This package contains the documentation for requests-cache.
Modified: packages/python-requests-cache/trunk/debian/rules
===================================================================
--- packages/python-requests-cache/trunk/debian/rules 2015-04-11 18:24:54 UTC (rev 32314)
+++ packages/python-requests-cache/trunk/debian/rules 2015-04-11 18:46:44 UTC (rev 32315)
@@ -3,5 +3,13 @@
%:
dh $@
+override_dh_auto_build:
+ dh_auto_build
+ $(MAKE) -C docs html
+
override_dh_installexamples:
dh_installexamples example.py
+
+override_dh_installdocs:
+ dh_installdocs -ppython-requests-cache-doc docs/_build/html
+ dh_installdocs -A README.rst
More information about the Python-modules-commits
mailing list