[Python-modules-commits] r31750 - in packages/python-nacl/trunk/debian (3 files)
mithrandi at users.alioth.debian.org
mithrandi at users.alioth.debian.org
Mon Feb 2 01:56:32 UTC 2015
Date: Monday, February 2, 2015 @ 01:56:30
Author: mithrandi
Revision: 31750
Fix docs stuff.
Added:
packages/python-nacl/trunk/debian/python-nacl-doc.doc-base
Modified:
packages/python-nacl/trunk/debian/control
packages/python-nacl/trunk/debian/rules
Modified: packages/python-nacl/trunk/debian/control
===================================================================
--- packages/python-nacl/trunk/debian/control 2015-02-02 00:56:28 UTC (rev 31749)
+++ packages/python-nacl/trunk/debian/control 2015-02-02 01:56:30 UTC (rev 31750)
@@ -16,7 +16,7 @@
python3-pytest,
python-six,
python3-six,
- sphinx-common,
+ python-sphinx,
libsodium-dev
Standards-Version: 3.9.6
Homepage: https://github.com/pyca/pynacl/
Added: packages/python-nacl/trunk/debian/python-nacl-doc.doc-base
===================================================================
--- packages/python-nacl/trunk/debian/python-nacl-doc.doc-base (rev 0)
+++ packages/python-nacl/trunk/debian/python-nacl-doc.doc-base 2015-02-02 01:56:30 UTC (rev 31750)
@@ -0,0 +1,8 @@
+Document: pynacl
+Title: pynacl
+Abstract: Python bindings for libsodium.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/python-nacl-doc/html/index.html
+Files: /usr/share/doc/python-nacl-doc/html/*.html
Modified: packages/python-nacl/trunk/debian/rules
===================================================================
--- packages/python-nacl/trunk/debian/rules 2015-02-02 00:56:28 UTC (rev 31749)
+++ packages/python-nacl/trunk/debian/rules 2015-02-02 01:56:30 UTC (rev 31750)
@@ -1,9 +1,13 @@
#!/usr/bin/make -f
+export DH_VERBOSE=1
+
export PYBUILD_NAME=nacl
export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS={dir}/tests/
+export PYTHONDONTWRITEBYTECODE=1
+
# Make sure PyNaCl uses the system libsodium instead of trying to use the
# vendored copy
export SODIUM_INSTALL=system
@@ -23,3 +27,10 @@
override_dh_auto_clean:
dh_auto_clean
rm -rf src/nacl/_lib/__pycache__
+
+
+override_dh_sphinxdoc:
+ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
+ PYTHONPATH=debian/python-nacl/usr/lib/python2.7/dist-packages http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs debian/python-nacl-doc/usr/share/doc/python-nacl-doc/html
+ dh_sphinxdoc
+endif
More information about the Python-modules-commits
mailing list