[Python-modules-commits] [python-pex] 03/03: * d/patches/bump-wheel-requirement-version.patch: Added. * d/README.pex: Removed; upstream now includes the docs directory. * d/python-pex-docs -> python-pex-doc.doc; fix the path. * d/rules: - Added override_dh_installdocs to build the Sphinx documentation. - Added override_dh_auto_clean to remove the doc build directory.
Barry Warsaw
barry at moszumanska.debian.org
Wed Oct 14 22:57:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository python-pex.
commit 19e94902e4098e60fd30829e30ff7c6191462108
Author: Barry Warsaw <barry at debian.org>
Date: Wed Oct 14 18:55:48 2015 -0400
* d/patches/bump-wheel-requirement-version.patch: Added.
* d/README.pex: Removed; upstream now includes the docs directory.
* d/python-pex-docs -> python-pex-doc.doc; fix the path.
* d/rules:
- Added override_dh_installdocs to build the Sphinx documentation.
- Added override_dh_auto_clean to remove the doc build directory.
---
debian/README.pex | 11 -----------
debian/changelog | 6 ++++++
debian/python-pex-doc.docs | 2 +-
debian/python-pex-docs | 1 -
debian/rules | 8 ++++++++
5 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/debian/README.pex b/debian/README.pex
deleted file mode 100644
index 303f45f..0000000
--- a/debian/README.pex
+++ /dev/null
@@ -1,11 +0,0 @@
-The upstream tarball is missing some files, including the docs/ directory. So
-for now, just use the online documentation:
-
- http://pex.readthedocs.org/en/latest/
-
-As soon as this upstream issue is resolved, I'll put the docs in the
-python-pex-doc package:
-
- https://github.com/pantsbuild/pex/issues/51
-
- -- Barry Warsaw <barry at debian.org>, Thu, 19 Feb 2015 13:58:21 -0500
diff --git a/debian/changelog b/debian/changelog
index c1de3af..9b67bef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,12 @@
python-pex (1.1.0-2) UNRELEASED; urgency=medium
* d/control: Canonicalize the Vcs-* headers as per team standard.
+ * d/patches/bump-wheel-requirement-version.patch: Added.
+ * d/README.pex: Removed; upstream now includes the docs directory.
+ * d/python-pex-docs -> python-pex-doc.doc; fix the path.
+ * d/rules:
+ - Added override_dh_installdocs to build the Sphinx documentation.
+ - Added override_dh_auto_clean to remove the doc build directory.
-- Barry Warsaw <barry at debian.org> Tue, 13 Oct 2015 10:42:18 -0400
diff --git a/debian/python-pex-doc.docs b/debian/python-pex-doc.docs
index 8927786..378eac2 100644
--- a/debian/python-pex-doc.docs
+++ b/debian/python-pex-doc.docs
@@ -1 +1 @@
-debian/README.pex
+build
diff --git a/debian/python-pex-docs b/debian/python-pex-docs
deleted file mode 100644
index 6f7511e..0000000
--- a/debian/python-pex-docs
+++ /dev/null
@@ -1 +0,0 @@
-build/sphinx/html
diff --git a/debian/rules b/debian/rules
index 3a9197a..9559b6f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,9 +17,17 @@ override_dh_auto_install:
rm -rf debian/python3-pex/usr/bin
rm -rf debian/python-pex/usr/bin
+override_dh_installdocs:
+ PYTHONPATH=. sphinx-build -N -bhtml docs build
+ dh_installdocs
+
override_dh_installman:
PYTHONPATH=$(CURDIR) help2man -n pex -s 1 -o debian/pex.1 \
--version-string=$(pkgversion) \
--no-discard-stderr --no-info \
debian/pex/usr/bin/pex
dh_installman
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf build
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pex.git
More information about the Python-modules-commits
mailing list