Package: python-ssdeep
Version: 3.1+dfsg-1+b2
Severity: serious
Tags: patch
Justification: Policy 7.2

python-ssdeep explicitly imports cffi (it's not using one of the
out-of-line modes), so it needs to explicitly depend on the python-cffi
binary package.

This could be avoided if upstream switched to one of the out of line
modes.

https://cffi.readthedocs.io/en/latest/overview.html#purely-for-performance-api-level-out-of-line

SR
diff -Nru python-ssdeep-3.1+dfsg/debian/changelog python-ssdeep-3.1+dfsg/debian/changelog
--- python-ssdeep-3.1+dfsg/debian/changelog	2014-10-24 14:50:23.000000000 -0400
+++ python-ssdeep-3.1+dfsg/debian/changelog	2016-07-31 15:14:14.000000000 -0400
@@ -1,3 +1,10 @@
+python-ssdeep (3.1+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Depend on python-cffi
+
+ -- Stefano Rivera <stefa...@debian.org>  Sun, 31 Jul 2016 15:14:07 -0400
+
 python-ssdeep (3.1+dfsg-1) unstable; urgency=low
 
   * Repack to remove non-free sources.
diff -Nru python-ssdeep-3.1+dfsg/debian/control python-ssdeep-3.1+dfsg/debian/control
--- python-ssdeep-3.1+dfsg/debian/control	2014-10-24 14:23:53.000000000 -0400
+++ python-ssdeep-3.1+dfsg/debian/control	2016-07-31 15:13:57.000000000 -0400
@@ -18,7 +18,7 @@
 
 Package: python-ssdeep
 Architecture: any
-Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
+Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, python-cffi
 Description: Python 2.x wrapper for the ssdeep piecewise hashing tool
  This is a straightforward Python wrapper for ssdeep by Jesse Kornblum,
  which is a library for computing context triggered piecewise hashes (CTPH).
@@ -30,7 +30,7 @@
 
 Package: python3-ssdeep
 Architecture: any
-Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
+Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, python3-cffi
 Description: Python 3.x wrapper for the ssdeep piecewise hashing tool
  This is a straightforward Python wrapper for ssdeep by Jesse Kornblum,
  which is a library for computing context triggered piecewise hashes (CTPH).

Reply via email to