[Python-modules-commits] [python-nacl] 02/02: Add explicit dependency on python{, 3}-cffi as upstream is not yet using the new compilation support, thus requiring cffi to be importable at runtime (closes: #801786).

Tristan Seligmann mithrandi at moszumanska.debian.org
Mon Nov 2 07:39:59 UTC 2015


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

mithrandi pushed a commit to branch master
in repository python-nacl.

commit fde3d74a653d712eabbb48303728dd688f9acf54
Author: Tristan Seligmann <mithrandi at debian.org>
Date:   Mon Nov 2 09:23:52 2015 +0200

    Add explicit dependency on python{,3}-cffi as upstream is not yet using the new compilation support, thus requiring cffi to be importable at runtime (closes: #801786).
---
 debian/changelog | 8 ++++++++
 debian/control   | 4 ++--
 debian/rules     | 5 +++++
 3 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7889d32..de25bc7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-nacl (0.3.0-2) unstable; urgency=medium
+
+  * Add explicit dependency on python{,3}-cffi as upstream is not yet
+    using the new compilation support, thus requiring cffi to be
+    importable at runtime (closes: #801786).
+
+ -- Tristan Seligmann <mithrandi at debian.org>  Mon, 02 Nov 2015 09:13:25 +0200
+
 python-nacl (0.3.0-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index 017f6a9..c06ac73 100644
--- a/debian/control
+++ b/debian/control
@@ -27,7 +27,7 @@ X-Python3-Version: >= 3.2
 
 Package: python-nacl
 Architecture: any
-Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
+Depends: python-cffi, ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
 Suggests: python-nacl-doc
 Description: Python bindings to libsodium (Python 2)
  PyNaCl is a Python binding to the Networking and Cryptography library (in the
@@ -38,7 +38,7 @@ Description: Python bindings to libsodium (Python 2)
 
 Package: python3-nacl
 Architecture: any
-Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
+Depends: python3-cffi, ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
 Suggests: python-nacl-doc
 Description: Python bindings to libsodium (Python 3)
  PyNaCl is a Python binding to the Networking and Cryptography library (in the
diff --git a/debian/rules b/debian/rules
index fdb3f60..2df19cc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,3 +34,8 @@ 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
+
+
+override_dh_python3:
+	dh_python3
+	rm -rf debian/python3-nacl/usr/lib/python3.?

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



More information about the Python-modules-commits mailing list