[Python-modules-commits] [python-attrs] 08/11: Fix API documentation build, and use the local copy of the Python documentation (closes: #834639).

Tristan Seligmann mithrandi at moszumanska.debian.org
Mon Oct 10 02:57:48 UTC 2016


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

mithrandi pushed a commit to branch master
in repository python-attrs.

commit 1433382023a447732e0a8653de1784cc5ebe3fbb
Author: Tristan Seligmann <mithrandi at mithrandi.net>
Date:   Mon Oct 10 04:45:09 2016 +0200

    Fix API documentation build, and use the local copy of the Python documentation (closes: #834639).
---
 debian/changelog | 2 ++
 debian/control   | 2 ++
 debian/rules     | 3 +++
 3 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index bd48279..f6e77fb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ python-attrs (16.2.0-1) unstable; urgency=medium
 
   * New upstream release.
     - Doc build is now reproducible (closes: #833886).
+  * Fix API documentation build, and use the local copy of the Python
+    documentation (closes: #834639).
 
  -- Tristan Seligmann <mithrandi at debian.org>  Mon, 10 Oct 2016 01:09:18 +0200
 
diff --git a/debian/control b/debian/control
index 9867837..7a4d2a4 100644
--- a/debian/control
+++ b/debian/control
@@ -15,6 +15,7 @@ Build-Depends:
  python-sphinx-rtd-theme,
  python-zope.interface,
  python3-all,
+ python3-doc,
  python3-hypothesis,
  python3-pytest,
  python3-setuptools,
@@ -84,6 +85,7 @@ Section: doc
 Architecture: all
 Priority: extra
 Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Recommends: python3-doc
 Description: documentation for the attrs Python library
  attrs is an MIT-licensed Python package with class decorators that ease the
  chores of implementing the most common attribute-related object protocols.
diff --git a/debian/rules b/debian/rules
index 855a0bf..6819b37 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,3 +16,6 @@ override_dh_auto_build:
 override_dh_auto_test:
 	dh_auto_test
 	rm -r .pybuild/*/build/.hypothesis
+
+override_dh_compress:
+	dh_compress -Xchangelog.html

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



More information about the Python-modules-commits mailing list