From 2759a8056630b966a35c385bc56db342b40ab3af Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 28 May 2024 09:47:54 +0800 Subject: python3-astroid: upgrade 3.2.0 -> 3.2.2 Changelog: Improve inference for generic classes using the PEP 695 syntax (Python 3.12). Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-astroid_3.2.0.bb | 37 ---------------------- .../python/python3-astroid_3.2.2.bb | 37 ++++++++++++++++++++++ 2 files changed, 37 insertions(+), 37 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-astroid_3.2.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-astroid_3.2.2.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-astroid_3.2.0.bb b/meta-python/recipes-devtools/python/python3-astroid_3.2.0.bb deleted file mode 100644 index e97494fd9a..0000000000 --- a/meta-python/recipes-devtools/python/python3-astroid_3.2.0.bb +++ /dev/null @@ -1,37 +0,0 @@ -SUMMARY = "An abstract syntax tree for Python with inference support." -HOMEPAGE = "https://pypi.python.org/pypi/astroid" -SECTION = "devel/python" -LICENSE = "LGPL-2.1-only" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" - -SRC_URI[sha256sum] = "f7f829f8506ade59f1b3c6c93d8fac5b1ebc721685fa9af23e9794daf1d450a3" - -inherit pypi python_setuptools_build_meta - -DEPENDS += "\ - python3-pytest-runner-native \ - python3-wheel-native \ -" - -PACKAGES =+ "${PN}-tests" - -FILES:${PN}-tests += " \ - ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \ - ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \ -" - -RDEPENDS:${PN}:class-target += "\ - python3-lazy-object-proxy \ - python3-logging \ - python3-six \ - python3-wrapt \ - python3-setuptools \ - python3-typing-extensions \ -" - -RDEPENDS:${PN}-tests:class-target += "\ - python3-unittest \ - python3-xml \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-astroid_3.2.2.bb b/meta-python/recipes-devtools/python/python3-astroid_3.2.2.bb new file mode 100644 index 0000000000..d7e7f56981 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-astroid_3.2.2.bb @@ -0,0 +1,37 @@ +SUMMARY = "An abstract syntax tree for Python with inference support." +HOMEPAGE = "https://pypi.python.org/pypi/astroid" +SECTION = "devel/python" +LICENSE = "LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" + +SRC_URI[sha256sum] = "8ead48e31b92b2e217b6c9733a21afafe479d52d6e164dd25fb1a770c7c3cf94" + +inherit pypi python_setuptools_build_meta + +DEPENDS += "\ + python3-pytest-runner-native \ + python3-wheel-native \ +" + +PACKAGES =+ "${PN}-tests" + +FILES:${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \ + ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \ +" + +RDEPENDS:${PN}:class-target += "\ + python3-lazy-object-proxy \ + python3-logging \ + python3-six \ + python3-wrapt \ + python3-setuptools \ + python3-typing-extensions \ +" + +RDEPENDS:${PN}-tests:class-target += "\ + python3-unittest \ + python3-xml \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf