[Python-modules-commits] [python-cryptography] 01/01: Work around lack of environment marker support in dh_python by explicitly listing dependencies.

Tristan Seligmann mithrandi at moszumanska.debian.org
Sat Nov 18 11:26:20 UTC 2017


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

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

commit ce4d74e24857f4bc9724657522e879d8327c5742
Author: Tristan Seligmann <mithrandi at debian.org>
Date:   Sat Nov 18 13:04:34 2017 +0200

    Work around lack of environment marker support in dh_python by explicitly listing dependencies.
---
 debian/changelog |  7 +++++++
 debian/rules     | 13 +++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index cc9159b..bb6de2a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-cryptography (2.1.3-2) unstable; urgency=medium
+
+  * Work around lack of environment marker support in dh_python by
+    explicitly listing dependencies (closes: #882011).
+
+ -- Tristan Seligmann <mithrandi at debian.org>  Sat, 18 Nov 2017 13:16:11 +0200
+
 python-cryptography (2.1.3-1) unstable; urgency=medium
 
   * New upstream release (closes: #874456).
diff --git a/debian/rules b/debian/rules
index 1073ad6..2b99b28 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,3 +31,16 @@ override_dh_auto_build:
 	   https_proxy='127.0.0.1:9' \
 	   sphinx-build -N -b html docs/ $(CURDIR)/.pybuild/docs/html/
 endif
+
+
+override_dh_python2:
+	dh_python2 --depends=cffi --depends=enum34 --depends=ipaddress
+
+
+override_dh_python3:
+	dh_python3 --depends=cffi
+
+
+override_dh_pypy:
+	# Not used yet, here for futureproofing
+	dh_pypy --depends=enum34 --depends=ipaddress

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



More information about the Python-modules-commits mailing list