[Python-modules-commits] [pyqt5] 02/02: Adapt to removal of Sphinx documentation.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Sun Jul 16 19:23:06 UTC 2017


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

mitya57 pushed a commit to branch debian/master
in repository pyqt5.

commit a89425cebca623d2f8bac374782955c3aa62237c
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Sun Jul 16 22:22:41 2017 +0300

    Adapt to removal of Sphinx documentation.
    
    - Stop building pyqt5-doc package.
    - Update debian/copyright to not exclude doc/html from the tarball.
    - Drop python3-sphinx build-dependency.
---
 debian/changelog          |  4 ++++
 debian/control            | 12 +-----------
 debian/copyright          |  3 +--
 debian/pyqt5-doc.doc-base | 12 ------------
 debian/rules              |  5 -----
 5 files changed, 6 insertions(+), 30 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index beb9859..6bc0bb4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,10 @@
 pyqt5 (5.9+dfsg-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * Upstream no longer ships Sphinx documentation in this source.
+    - Stop building pyqt5-doc package.
+    - Update debian/copyright to not exclude doc/html from the tarball.
+    - Drop python3-sphinx build-dependency.
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Sun, 16 Jul 2017 22:17:22 +0300
 
diff --git a/debian/control b/debian/control
index c02df5b..67e05f1 100644
--- a/debian/control
+++ b/debian/control
@@ -43,7 +43,7 @@ Build-Depends: debhelper (>= 9),
                qtpositioning5-dev (>= 5.7.0),
                qttools5-dev (>= 5.7.0),
                qtwebengine5-dev (>= 5.7.1+dfsg-3~) [amd64 i386]
-Build-Depends-Indep: fdupes, python3-sphinx (>= 1.3)
+Build-Depends-Indep: fdupes
 X-Python-Version: >= 2.7
 X-Python3-Version: >= 3.3
 Standards-Version: 3.9.8
@@ -72,16 +72,6 @@ Description: Development tools for PyQt5
   * a resource file generator (pyrcc5)
   * a translation string finder (pylupdate5)
 
-Package: pyqt5-doc
-Architecture: all
-Section: doc
-Depends: ${misc:Depends}, ${sphinxdoc:Depends}
-Suggests: pyqt5-examples
-Description: Documentation for PyQt5
- PyQt5 exposes the Qt5 GUI toolkit in Python.
- .
- This package contains Python-specific documentation for PyQt5.
-
 Package: pyqt5-examples
 Architecture: all
 Suggests: pyqt5-dev-tools,
diff --git a/debian/copyright b/debian/copyright
index 40c8584..c0395b4 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,6 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Contact: pyqt at riverbankcomputing.com
-Files-Excluded: doc/html
-                examples/webkit/fancybrowser/jquery.min.js
+Files-Excluded: examples/webkit/fancybrowser/jquery.min.js
                 examples/webkit/fancybrowser/jquery_rc.py
 
 Files: *
diff --git a/debian/pyqt5-doc.doc-base b/debian/pyqt5-doc.doc-base
deleted file mode 100644
index e4e65e4..0000000
--- a/debian/pyqt5-doc.doc-base
+++ /dev/null
@@ -1,12 +0,0 @@
-Document: pyqt5
-Title: PyQt5 Reference and API Documentation
-Author: Phil Thompson
-Abstract: PyQt5 exposes the Qt5 API to Python programs
- This documentation contains a general reference of
- PyQt5 together with an API documentation for all
- wrapped C++ classes.
-Section: Programming/Python
-
-Format: HTML
-Index: /usr/share/doc/pyqt5-doc/html/index.html
-Files: /usr/share/doc/pyqt5-doc/html/*.html
diff --git a/debian/rules b/debian/rules
index 77b54b5..4cde397 100755
--- a/debian/rules
+++ b/debian/rules
@@ -287,11 +287,6 @@ binary-common:
 	dh_installman
 	dh_installchangelogs NEWS
 	dh_installdocs
-ifeq (,$(findstring -a, $(DH_OPTIONS)))
-	sphinx-build $(CURDIR)/doc/sphinx \
-	$(CURDIR)/debian/pyqt5-doc/usr/share/doc/pyqt5-doc/html
-	dh_sphinxdoc
-endif
 	dh_sip
 	dh_sip3
 ifeq (,$(findstring -i, $(DH_OPTIONS)))

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



More information about the Python-modules-commits mailing list