Skip to contentSkip to conversation

python3-pyasyncore: Add recipe

PATCH New Khem Raj 1 participant 1 message Mar 3, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 python3-pyasyncore: Add recipe

This module was dropped in 3.12, therefore provide it as separate module

---
 .../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
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -0
index ee8f957cca..3a1fb13ba7 100644
@@ -53,6 +53,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-precise-runner \
     python3-prettytable \
     python3-propcache \
+    python3-pyasyncore \
     python3-pydantic \
     python3-pydantic-core \
     python3-pylint \
meta-python/recipes-devtools/python/python3-pyasyncore_1.0.4.bb new file +12 -0
new file mode 100644
index 0000000000..cf91d7ebb2
@@ -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"