diff mbox series

[meta-python,2/2] python3-crypt-r: replacement of module crypt

Message ID 20250306102035.1552646-2-kai.kang@windriver.com
State Accepted
Headers show
Series [meta-python,1/2] python3-requests-ftp: remove use of module cgi | expand

Commit Message

Kai March 6, 2025, 10:20 a.m. UTC
From: Kai Kang <kai.kang@windriver.com>

Since module crypt has been removed from python 3.13, add a renamed copy
of it that other packages may require it, such as python3-anaconda.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 .../recipes-devtools/python/python3-crypt-r_3.13.1.bb | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-crypt-r_3.13.1.bb
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-crypt-r_3.13.1.bb b/meta-python/recipes-devtools/python/python3-crypt-r_3.13.1.bb
new file mode 100644
index 0000000000..8710b59a95
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-crypt-r_3.13.1.bb
@@ -0,0 +1,11 @@ 
+SUMMARY = "A renamed copy of the crypt module as it was present in Python 3.12 before it was removed."
+HOMEPAGE = "https://github.com/fedora-python/crypt_r"
+LICENSE = "Python-2.0.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2"
+
+SRC_URI = "git://github.com/fedora-python/crypt_r.git;branch=main;protocol=https"
+SRCREV = "b20e21d9f24d6fa17a6781bbc9f272ce38246eef"
+
+S = "${UNPACKDIR}/git"
+
+inherit python_setuptools_build_meta