Source: python-cryptography
Version: 1.9-1
Tags: patch

In debian/control, python-cryptography requires cffi to be at least 1.4.1. Instead, the current version of the library requires cffi 1.7 or greater, as stated in the setup.py file (line 56-57).

Below there is a patch that fixes the problem.

Pietro.


From d4c5c4c32d03cc56ffd9b42c8538c52e6beca3a4 Mon Sep 17 00:00:00 2001
From: Pietro Albini <pie...@pietroalbini.org>
Date: Tue, 8 Aug 2017 20:17:33 +0200
Subject: [PATCH] Bump cffi minimum requirement to 1.7

Cryptography requires at least cffi 1.7 (as stated in the setup.py
file), but debian/control required only cffi 1.4.1 or greater.
---
 debian/control | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index d2a8774..0583976 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends:
  libssl-dev,
  python-all-dev,
  python-asn1crypto (>= 0.21.0~),
- python-cffi (>= 1.4.1~),
+ python-cffi (>= 1.7),
  python-cryptography-vectors (<< 1.9.1~) <!nocheck>,
  python-cryptography-vectors (>= 1.9~) <!nocheck>,
  python-enum34,
@@ -25,7 +25,7 @@ Build-Depends:
  python-tz <!nocheck>,
  python3-all-dev,
  python3-asn1crypto (>= 0.21.0~),
- python3-cffi (>= 1.4.1~),
+ python3-cffi (>= 1.7),
  python3-cryptography-vectors (<< 1.9.1~) <!nocheck>,
  python3-cryptography-vectors (>= 1.9~) <!nocheck>,
  python3-hypothesis <!nocheck>,
--
2.13.0

Reply via email to