mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
python3-rsa: Upgrade 3.4.2 -> 4.6
Upgrade to release 4.6: - Rolled back the switch to Poetry, and reverted back to using Pipenv + setup.py for dependency management. There apparently is an issue no-binary installs of packages build with Poetry. - Limited SHA3 support to those Python versions (3.6+) that support it natively. The third-party library that adds support for this to Python 3.5 is a binary package, and thus breaks the pure-Python nature of Python-RSA. - To avoid older Python installations from trying to upgrade to RSA 4.4, this is now made explicit in the python_requires argument in setup.py The encrypt/decrypt-bigfile CLI commands have been removed in 2016 therefore the recipe has been updated accordingly. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
41
meta-python/recipes-devtools/python/python3-rsa_4.6.bb
Normal file
41
meta-python/recipes-devtools/python/python3-rsa_4.6.bb
Normal file
@@ -0,0 +1,41 @@
|
||||
SUMMARY = "Pure-Python RSA implementation"
|
||||
SECTION = "devel/python"
|
||||
AUTHOR = "Sybren A. Stuvel"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=c403f6882d4f97a9cd927df987d55634"
|
||||
|
||||
SRC_URI[md5sum] = "bbf1c954865319bd542600ab07f92aca"
|
||||
SRC_URI[sha256sum] = "109ea5a66744dd859bf16fe904b8d8b627adafb9408753161e766a92e7d681fa"
|
||||
|
||||
inherit pypi setuptools3 update-alternatives
|
||||
|
||||
ALTERNATIVE_${PN} = "\
|
||||
pyrsa-decrypt \
|
||||
pyrsa-encrypt \
|
||||
pyrsa-keygen \
|
||||
pyrsa-priv2pub \
|
||||
pyrsa-sign \
|
||||
pyrsa-verify \
|
||||
"
|
||||
|
||||
ALTERNATIVE_LINK_NAME[pyrsa-decrypt] = "${bindir}/pyrsa-decrypt"
|
||||
ALTERNATIVE_LINK_NAME[pyrsa-encrypt] = "${bindir}/pyrsa-encrypt"
|
||||
ALTERNATIVE_LINK_NAME[pyrsa-keygen] = "${bindir}/pyrsa-keygen"
|
||||
ALTERNATIVE_LINK_NAME[pyrsa-priv2pub] = "${bindir}/pyrsa-priv2pub"
|
||||
ALTERNATIVE_LINK_NAME[pyrsa-sign] = "${bindir}/pyrsa-sign"
|
||||
ALTERNATIVE_LINK_NAME[pyrsa-verify] = "${bindir}/pyrsa-verify"
|
||||
ALTERNATIVE_PRIORITY = "30"
|
||||
|
||||
|
||||
RDEPENDS_${PN} += "\
|
||||
${PYTHON_PN}-compression \
|
||||
${PYTHON_PN}-crypt \
|
||||
${PYTHON_PN}-doctest \
|
||||
${PYTHON_PN}-logging \
|
||||
${PYTHON_PN}-math \
|
||||
${PYTHON_PN}-multiprocessing \
|
||||
${PYTHON_PN}-netclient \
|
||||
${PYTHON_PN}-pickle \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN} += "${PYTHON_PN}-pyasn1"
|
||||
Reference in New Issue
Block a user