diff mbox series

[meta-python] python3-pyasyncore: Add recipe

Message ID 20250303061522.577597-1-raj.khem@gmail.com
State New
Headers show
Series [meta-python] python3-pyasyncore: Add recipe | expand

Commit Message

Khem Raj March 3, 2025, 6:15 a.m. UTC
This module was dropped in 3.12, therefore provide it as separate module

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../conf/include/ptest-packagelists-meta-python.inc  |  1 +
 .../python/python3-pyasyncore_1.0.4.bb               | 12 ++++++++++++
 2 files changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pyasyncore_1.0.4.bb
diff mbox series

Patch

diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index ee8f957cca..3a1fb13ba7 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -53,6 +53,7 @@  PTESTS_FAST_META_PYTHON = "\
     python3-precise-runner \
     python3-prettytable \
     python3-propcache \
+    python3-pyasyncore \
     python3-pydantic \
     python3-pydantic-core \
     python3-pylint \
diff --git a/meta-python/recipes-devtools/python/python3-pyasyncore_1.0.4.bb b/meta-python/recipes-devtools/python/python3-pyasyncore_1.0.4.bb
new file mode 100644
index 0000000000..cf91d7ebb2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyasyncore_1.0.4.bb
@@ -0,0 +1,12 @@ 
+SUMMARY = "Make asyncore available for Python 3.12 onwards"
+HOMEPAGE = "https://github.com/simonrob/pyasyncore"
+LICENSE = "Python-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d5605fc335ce1bab614032468d0a1e00"
+
+inherit pypi setuptools3 ptest-python-pytest
+
+SRC_URI[sha256sum] = "2c7a8b9b750ba6260f1e5a061456d61320a80579c6a43d42183417da89c7d5d6"
+
+RDEPENDS:${PN} += "python3-core python3-io"
+
+BBCLASSEXTEND = "native nativesdk"