[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.
--- 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',