[Python-modules-commits] [flask-mail] 08/14: Do not build sphinx docs.

Dominik George natureshadow-guest at moszumanska.debian.org
Sat Apr 29 15:47:21 UTC 2017


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

natureshadow-guest pushed a commit to branch master
in repository flask-mail.

commit aed5192fa459cbd683de919cf49edbaa931cbd08
Author: Dominik George <nik at naturalnet.de>
Date:   Sat Apr 29 17:29:50 2017 +0200

    Do not build sphinx docs.
---
 debian/control | 4 ----
 debian/rules   | 7 ++-----
 2 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/debian/control b/debian/control
index 7453d6a..6a056d4 100644
--- a/debian/control
+++ b/debian/control
@@ -11,12 +11,10 @@ Build-Depends:
  python-blinker,
  python-flask,
  python-setuptools (>= 0.6b3),
- python-sphinx,
  python3-all,
  python3-blinker,
  python3-flask,
  python3-setuptools,
- python3-sphinx,
 Standards-Version: 3.9.8
 Homepage: https://github.com/mattupstate/flask-mail
 Testsuite: autopkgtest-pkg-python
@@ -28,7 +26,6 @@ Architecture: all
 Depends:
  ${misc:Depends},
  ${python:Depends},
- ${sphinxdoc:Depends},
 Description: Flask extension for sending email (Python 2)
  The Flask-Mail extension provides a simple interface to set up SMTP with
  your Flask application and to send messages from your views and scripts.
@@ -40,7 +37,6 @@ Architecture: all
 Depends:
  ${misc:Depends},
  ${python3:Depends},
- ${sphinxdoc:Depends},
 Description: Flask extension for sending email (Python 3)
  The Flask-Mail extension provides a simple interface to set up SMTP with
  your Flask application and to send messages from your views and scripts.
diff --git a/debian/rules b/debian/rules
index bec40b3..cbf5199 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,12 +6,9 @@ export PYBUILD_NAME=flask-mail
 export PYBUILD_DISABLE=test
 
 %:
-	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
-
-override_dh_installdocs:
-	python setup.py build_sphinx
-	dh_installdocs
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_installchangelogs:
+	# changelog.rst is a dummy file
 	# cf. https://github.com/mattupstate/flask-mail/issues/146
 	dh_installchangelogs -Xchangelog.rst

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



More information about the Python-modules-commits mailing list