From 3dd94e6c1601def41670666726fd5f8d73ba9bf7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 2 Mar 2025 22:11:34 -0800 Subject: python3-pyasyncore: Add recipe This module was dropped in 3.12, therefore provide it as separate module Signed-off-by: Khem Raj --- meta-python/conf/include/ptest-packagelists-meta-python.inc | 1 + .../recipes-devtools/python/python3-pyasyncore_1.0.4.bb | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pyasyncore_1.0.4.bb (limited to 'meta-python') 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..47906cea0b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyasyncore_1.0.4.bb @@ -0,0 +1,13 @@ +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" +RDEPENDS:${PN}-ptest += "python3-tests" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf