From 9c20bc7b13cbde6a8e55c315a1c1780f05ab6998 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 4 Mar 2021 15:05:52 +0200 Subject: python3-astroid: Upgrade 2.5 -> 2.5.1 Upgrade to release 2.5.1: - The ``context.path`` is reverted to a set because otherwise it leads to false positives for non `numpy` functions. - Don't transform dataclass ClassVars - Improve typing.TypedDict inference - Fix the `Duplicates found in MROs` false positive. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-astroid_2.5.1.bb | 32 ++++++++++++++++++++++ .../recipes-devtools/python/python3-astroid_2.5.bb | 32 ---------------------- 2 files changed, 32 insertions(+), 32 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-astroid_2.5.1.bb delete mode 100644 meta-python/recipes-devtools/python/python3-astroid_2.5.bb diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.5.1.bb b/meta-python/recipes-devtools/python/python3-astroid_2.5.1.bb new file mode 100644 index 0000000000..84315767d3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-astroid_2.5.1.bb @@ -0,0 +1,32 @@ +SUMMARY = "An abstract syntax tree for Python with inference support." +HOMEPAGE = "https://pypi.python.org/pypi/astroid" +SECTION = "devel/python" +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" + +SRC_URI[sha256sum] = "cfc35498ee64017be059ceffab0a25bedf7548ab76f2bea691c5565896e7128d" + +inherit pypi setuptools3 + +DEPENDS += "${PYTHON_PN}-pytest-runner-native" + +PACKAGES =+ "${PN}-tests" + +FILES_${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \ + ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \ +" + +RDEPENDS_${PN}_class-target += "\ + ${PYTHON_PN}-distutils \ + ${PYTHON_PN}-lazy-object-proxy \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-wrapt \ + ${PYTHON_PN}-setuptools \ +" + +RDEPENDS_${PN}-tests_class-target += "\ + ${PYTHON_PN}-unittest \ + ${PYTHON_PN}-xml \ +" diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.5.bb b/meta-python/recipes-devtools/python/python3-astroid_2.5.bb deleted file mode 100644 index f69d85015c..0000000000 --- a/meta-python/recipes-devtools/python/python3-astroid_2.5.bb +++ /dev/null @@ -1,32 +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" -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" - -SRC_URI[sha256sum] = "b31c92f545517dcc452f284bc9c044050862fbe6d93d2b3de4a215a6b384bf0d" - -inherit pypi setuptools3 - -DEPENDS += "${PYTHON_PN}-pytest-runner-native" - -PACKAGES =+ "${PN}-tests" - -FILES_${PN}-tests += " \ - ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \ - ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \ -" - -RDEPENDS_${PN}_class-target += "\ - ${PYTHON_PN}-distutils \ - ${PYTHON_PN}-lazy-object-proxy \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-wrapt \ - ${PYTHON_PN}-setuptools \ -" - -RDEPENDS_${PN}-tests_class-target += "\ - ${PYTHON_PN}-unittest \ - ${PYTHON_PN}-xml \ -" -- cgit 1.2.3-korg