[pkg] make cubicweb[crypto] depends on pycryptodome instead of pycrypto
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Tue, 21 May 2019 10:18:54 +0200
changeset 12620 824105876352
parent 12619 48a010b35af2
child 12621 092d201a7c17
[pkg] make cubicweb[crypto] depends on pycryptodome instead of pycrypto pycrypto isn't maintained anymore, the last release 2.6.1 is from 2014. Use the drop-in replacement fork pycryptodome instead. pycryptodome is packaged in debian starting from stretch-backports.
debian/control
requirements/test-misc.txt
setup.py
--- a/debian/control	Tue May 21 10:18:38 2019 +0200
+++ b/debian/control	Tue May 21 10:18:54 2019 +0200
@@ -59,7 +59,7 @@
  python-cubicweb-pyramid (= ${source:Version}),
 # common recommends
  python-simpletal (>= 4.0),
- python-crypto,
+ python-pycryptodome,
 # web recommends (mostly)
  python-docutils (>= 0.6),
  python-vobject,
--- a/requirements/test-misc.txt	Tue May 21 10:18:38 2019 +0200
+++ b/requirements/test-misc.txt	Tue May 21 10:18:54 2019 +0200
@@ -6,6 +6,7 @@
 
 ## cubicweb/test
 Pygments
+pycryptodome
 #fyzz XXX pip install fails
 
 ## cubicweb/devtools/test
--- a/setup.py	Tue May 21 10:18:38 2019 +0200
+++ b/setup.py	Tue May 21 10:18:54 2019 +0200
@@ -87,7 +87,7 @@
             'Pillow',
         ],
         'crypto': [
-            'pycrypto',
+            'pycryptodome',
         ],
         'ext': [
             'docutils >= 0.6',