[Python-modules-commits] [python-aiosmtpd] 02/02: Adds upstream changelog

Pierre-Elliott Bécue peb-guest at moszumanska.debian.org
Sun Jul 30 22:29:21 UTC 2017


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

peb-guest pushed a commit to branch master
in repository python-aiosmtpd.

commit e70d94046f361c7399399b6be620fcc27ba89fcd
Author: Pierre-Elliott Bécue <becue at crans.org>
Date:   Mon Jul 31 00:28:56 2017 +0200

    Adds upstream changelog
---
 debian/control               | 1 +
 debian/python3-aiosmtpd.docs | 2 ++
 debian/rules                 | 4 ++++
 3 files changed, 7 insertions(+)

diff --git a/debian/control b/debian/control
index 0f2e6c7..e34e87a 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Maintainer: Pierre-Elliott Bécue <becue at crans.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 9),
                dh-python,
+               lynx,
                python3-all (>= 3.5),
                python3-docutils,
                python3-public,
diff --git a/debian/python3-aiosmtpd.docs b/debian/python3-aiosmtpd.docs
index aad8ecf..ca02126 100644
--- a/debian/python3-aiosmtpd.docs
+++ b/debian/python3-aiosmtpd.docs
@@ -1 +1,3 @@
 debian/compiled_doc/html
+debian/compiled_doc/changelog.gz
+debian/compiled_doc/changelog.html.gz
diff --git a/debian/rules b/debian/rules
index 8bd318b..f0d3579 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,10 @@ override_dh_installdocs:
 	PYTHONPATH=. sphinx-build -N -q -E -c ./ -b html . debian/compiled_doc/temp
 	mv debian/compiled_doc/temp/aiosmtpd/docs debian/compiled_doc/html
 	rm -rf debian/compiled_doc/temp
+	cp -a debian/compiled_doc/html/NEWS.html debian/compiled_doc/changelog.html
+	lynx -dump -nolist debian/compiled_doc/changelog.html > debian/compiled_doc/changelog
+	gzip debian/compiled_doc/changelog.html
+	gzip debian/compiled_doc/changelog
 	dh_installdocs
 
 override_dh_installman:

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



More information about the Python-modules-commits mailing list