[Python-modules-commits] [tox] 01/01: * d/rules: Generate the manpage using known date, for reproducible builds. (Closes: #783757) * d/manpage/conf.py: Update manpage version number.
Barry Warsaw
barry at moszumanska.debian.org
Wed Apr 29 19:55:55 UTC 2015
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository tox.
commit 256917e0de55b31609f25ce843bcd9694907ffca
Author: Barry Warsaw <barry at python.org>
Date: Wed Apr 29 15:55:22 2015 -0400
* d/rules: Generate the manpage using known date, for reproducible builds.
(Closes: #783757)
* d/manpage/conf.py: Update manpage version number.
---
debian/changelog | 8 ++++++++
debian/manpage/conf.py | 6 +++---
debian/rules | 7 ++++++-
3 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b3eef77..a19ac8f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tox (1.9.2-2) unstable; urgency=medium
+
+ * d/rules: Generate the manpage using known date, for reproducible builds.
+ (Closes: #783757)
+ * d/manpage/conf.py: Update manpage version number.
+
+ -- Barry Warsaw <barry at debian.org> Wed, 29 Apr 2015 15:37:39 -0400
+
tox (1.9.2-1) unstable; urgency=medium
* New upstream release.
diff --git a/debian/manpage/conf.py b/debian/manpage/conf.py
index 5ffb7ba..f0cb2e3 100644
--- a/debian/manpage/conf.py
+++ b/debian/manpage/conf.py
@@ -41,16 +41,16 @@ master_doc = 'tox-man'
# General information about the project.
project = u'tox'
-copyright = u'Manual page (C) 2012, Barry Warsaw'
+copyright = u'Manual page (C) 2012-2015, Barry Warsaw'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
-version = '1.4.2'
+version = '1.9.2'
# The full version, including alpha/beta/rc tags.
-release = '1.4.2'
+release = '1.9.2'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff --git a/debian/rules b/debian/rules
index 9cc22dc..fcc560b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
#export DH_VERBOSE=1
PYTHON3=$(shell py3versions -sv)
+BUILD_DATE=$(\
+ shell dpkg-parsechangelog -S Date | LC_ALL=C date -u "+%B %d, %Y" -f -)
+
# Prevent setuptools/distribute from accessing the internet.
export http_proxy = http://127.0.9.1:9
export https_proxy = https://127.0.9.1:9
@@ -35,7 +38,9 @@ override_dh_installdocs:
override_dh_installman:
(cd debian/manpage; \
- sphinx-build -b man -d _build/doctrees . _build/man)
+ sphinx-build \
+ -b man -D today="$(BUILD_DATE)" \
+ -d _build/doctrees . _build/man)
dh_installman debian/manpage/_build/man/tox.1
override_dh_installchangelogs:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/tox.git
More information about the Python-modules-commits
mailing list