[Python-modules-commits] [python-click-log] 01/01: No -doc package for single file

Filip Pytloun fpytloun-guest at moszumanska.debian.org
Tue Aug 9 13:36:37 UTC 2016


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

fpytloun-guest pushed a commit to branch master
in repository python-click-log.

commit fc2546516819483dca521ad3f37ad3bc21106757
Author: Filip Pytloun <filip at pytloun.cz>
Date:   Tue Aug 9 15:36:22 2016 +0200

    No -doc package for single file
---
 debian/control                       | 15 ---------------
 debian/docs                          |  1 +
 debian/python-click-log-doc.doc-base |  9 ---------
 debian/rules                         |  8 +-------
 4 files changed, 2 insertions(+), 31 deletions(-)

diff --git a/debian/control b/debian/control
index f7f009c..cb30308 100644
--- a/debian/control
+++ b/debian/control
@@ -10,12 +10,10 @@ Build-Depends: debhelper (>= 9),
                python-click,
                python-pytest,
                python-setuptools,
-               python-sphinx,
                python3-all,
                python3-click,
                python3-pytest,
                python3-setuptools,
-               python3-sphinx
 Standards-Version: 3.9.8
 Testsuite: autopkgtest-pkg-python
 Homepage: https://github.com/click-contrib/click-log
@@ -45,16 +43,3 @@ Description: Logging integration for Click - Python 3.x
  This is where click-log comes in.
  .
  This package contains the Python 3.x module.
-
-Package: python-click-log-doc
-Section: doc
-Architecture: all
-Depends: ${misc:Depends}, ${sphinxdoc:Depends}
-Description: Logging integration for Click - documentation
- Partly because Python’s logging module aims to be so generic, it doesn’t come
- with sensible defaults for CLI applications. At some point you might also want
- to expose more logging levels through more options, at which point the
- boilerplate code grows even more.
- This is where click-log comes in.
- .
- This package contains the documentation for Python module.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/python-click-log-doc.doc-base b/debian/python-click-log-doc.doc-base
deleted file mode 100644
index f96dea5..0000000
--- a/debian/python-click-log-doc.doc-base
+++ /dev/null
@@ -1,9 +0,0 @@
-Document: python-click-log-doc
-Title: Click-log Documentation
-Author: Markus Unterwaditzer
-Abstract: Sphinx documentation for Click-log
-Section: Programming/Python
-
-Format: HTML
-Index: /usr/share/doc/python-click-log-doc/html/index.html
-Files: /usr/share/doc/python-click-log-doc/html/*
diff --git a/debian/rules b/debian/rules
index 8dd8847..f880028 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,13 +4,7 @@ VER ?= $(shell dpkg-parsechangelog -SVersion)
 
 export PYBUILD_NAME=click-log
 %:
-	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
-
-override_dh_sphinxdoc:
-ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
-	PYTHONPATH=. sphinx-build -b html docs $(CURDIR)/debian/python-click-log-doc/usr/share/doc/python-click-log-doc/html
-	dh_sphinxdoc -O--buildsystem=python_distutils
-endif
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_test:
 	mkdir -p debian/tmp/locale/

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



More information about the Python-modules-commits mailing list