diff options
| author | Xu Huan <xuhuan.fnst@fujitsu.com> | 2021-12-08 14:26:07 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-12-08 11:10:23 -0800 |
| commit | 77d96d9f8fc7a5c8bbcb4345282b9efd9a5c59a4 (patch) | |
| tree | a28184a1dfa4b0957455791b22ae5809eab52a38 /meta-python/recipes-devtools/python/python3-rsa_4.8.bb | |
| parent | c0b91fe3534f2fcdf6351ee43e1e8c3e18308da0 (diff) | |
| download | meta-openembedded-77d96d9f8fc7a5c8bbcb4345282b9efd9a5c59a4.tar.gz | |
python3-rsa: upgrade 4.7.2 -> 4.8
changelog:
================================================================
- Switch to Poetry for dependency and release management.
- Compatibility with Python 3.10.
- Chain exceptions using raise new_exception from old_exception (#157)
- Added marker file for PEP 561. This will allow type checking tools
in dependent projects to use type annotations from Python-RSA (#136).
- Use the Chinese Remainder Theorem when decrypting with a private key.
This makes decryption 2-4x faster (#163).
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-rsa_4.8.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-rsa_4.8.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-rsa_4.8.bb b/meta-python/recipes-devtools/python/python3-rsa_4.8.bb new file mode 100644 index 0000000000..d0a18f92e5 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-rsa_4.8.bb | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | SUMMARY = "Pure-Python RSA implementation" | ||
| 2 | SECTION = "devel/python" | ||
| 3 | AUTHOR = "Sybren A. Stuvel" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c403f6882d4f97a9cd927df987d55634" | ||
| 6 | |||
| 7 | SRC_URI[sha256sum] = "5c6bd9dc7a543b7fe4304a631f8a8a3b674e2bbfc49c2ae96200cdbe55df6b17" | ||
| 8 | |||
| 9 | inherit pypi setuptools3 update-alternatives | ||
| 10 | |||
| 11 | ALTERNATIVE:${PN} = "\ | ||
| 12 | pyrsa-decrypt \ | ||
| 13 | pyrsa-encrypt \ | ||
| 14 | pyrsa-keygen \ | ||
| 15 | pyrsa-priv2pub \ | ||
| 16 | pyrsa-sign \ | ||
| 17 | pyrsa-verify \ | ||
| 18 | " | ||
| 19 | |||
| 20 | ALTERNATIVE_LINK_NAME[pyrsa-decrypt] = "${bindir}/pyrsa-decrypt" | ||
| 21 | ALTERNATIVE_LINK_NAME[pyrsa-encrypt] = "${bindir}/pyrsa-encrypt" | ||
| 22 | ALTERNATIVE_LINK_NAME[pyrsa-keygen] = "${bindir}/pyrsa-keygen" | ||
| 23 | ALTERNATIVE_LINK_NAME[pyrsa-priv2pub] = "${bindir}/pyrsa-priv2pub" | ||
| 24 | ALTERNATIVE_LINK_NAME[pyrsa-sign] = "${bindir}/pyrsa-sign" | ||
| 25 | ALTERNATIVE_LINK_NAME[pyrsa-verify] = "${bindir}/pyrsa-verify" | ||
| 26 | ALTERNATIVE_PRIORITY = "30" | ||
| 27 | |||
| 28 | |||
| 29 | RDEPENDS:${PN} += "\ | ||
| 30 | ${PYTHON_PN}-compression \ | ||
| 31 | ${PYTHON_PN}-crypt \ | ||
| 32 | ${PYTHON_PN}-doctest \ | ||
| 33 | ${PYTHON_PN}-logging \ | ||
| 34 | ${PYTHON_PN}-math \ | ||
| 35 | ${PYTHON_PN}-multiprocessing \ | ||
| 36 | ${PYTHON_PN}-netclient \ | ||
| 37 | ${PYTHON_PN}-pickle \ | ||
| 38 | " | ||
| 39 | |||
| 40 | RDEPENDS:${PN} += "${PYTHON_PN}-pyasn1" | ||
