The package has seen its last release in 2013 and "is unmaintained,
obsolete, and contains security vulnerabilities" according to its homepage.
* gnu/packages/python-crypto.scm (python-pycrypto): Delete variable.
The last release of the package dates from 2018.
According to its self-description: "This software is experimental and
potentially insecure. Do not rely on it"
It depends on the cryptography library python-pycrypto, which has had
its last release in 2013 and "is unmaintained, obsolete, and contains
security vulnerabilities" according to its homepage.
* gnu/packages/python-crypto.scm (python-potr): Delete variable.
...and use it in packages that do not yet support 3.0.
* gnu/packages/tls.scm (openssl): Rename to ...
(openssl-1.1): ... this.
(openssl/fixed): Inherit from OPENSSL-1.1.
(openssl-3.0): Likewise.
(openssl): Turn into alias for OPENSSL-1.1.
* gnu/packages/ruby.scm (ruby-2.6)[inputs]: Change from OPENSSL to OPENSSL-1.1.
(ruby-3.0)[inputs]: Change "openssl" input to OPENSSL.
(ruby-3.1): Inherit from RUBY-3.0.
* gnu/packages/python.scm (python-2.7)[inputs]: Change from OPENSSL to
OPENSSL-1.1.
(python-3.9)[inputs]: Replace "openssl" with OPENSSL.
* gnu/packages/python-crypto.scm (python-cryptography)[inputs]: Change from
OPENSSL to OPENSSL-1.1.
* gnu/packages/databases.scm (mariadb)[inputs]: Likewise.
* gnu/packages/node.scm (node)[native-inputs, inputs]: Likewise.
(node-lts)[native-inputs]: Likewise.
This is a follow-up to 048e05b7ef.
* gnu/packages/python-crypto.scm (python-pyopenssl): Downgrade to 21.0.0.
[source]: Add patch used by python2-pyopenssl.
[properties]: Remove field.
(python2-pyopenssl): Inherit from python-pyopenssl regularly.
Skip dealing with the rust version for now.
* gnu/packages/python-crypto.scm (python-cryptography): Rename to
python-cryptography-next. Replace with python-cryptography@3.4.8.
(python-cryptography-vectors): Rename to
python-cryptography-vectors-next. Replace with
python-cryptography-vectors@3.4.8.
[phases]{check}: Provide the tests directory argument to pytest. Ignore
project pytest configs and make it verbose.
[native-inputs]: Delete python-pytest-checkdocs, python-pytest-cov and
python-pytest-flake8.
* gnu/packages/python-crypto.scm (python-pgpy)[native-inputs]: Move
python-cryptography, python-pyasn1, python-singledispatch, python-six from
here ...
[propagated-inputs]: ... to here.
* gnu/packages/python-crypto.scm (python-pyopenssl): Update to 22.0.0.
[arguments]: Respect TESTS? in check phase and rewrite in gexp style.
(python2-pyopenssl): Update to 21.0.0.
[source](patches): New field.
* gnu/packages/patches/python2-pyopenssl-openssl-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/python-crypto.scm (python-cryptography-vectors-next,
python-cryptography-next): Merge with ...
(python-cryptography-vectors, python-cryptography): ... these variables.
(python2-cryptography-vectors, python2-cryptography): Stick with version
3.3.1. Remove labels while at it.