From 4558ddaaf73c45d6dbe5a68373219cfa2f6c6082 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 12 Jan 2023 16:55:57 +0200 Subject: python3-astroid: Upgrade 2.12.13 -> 2.13.2 Upgrade to release 2.13.2: - Removed version conditions on typing_extensions dependency. - Removed typing_extensions from our tests requirements as it was preventing issues to appear in our continuous integration. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-astroid_2.13.2.bb | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-astroid_2.13.2.bb (limited to 'meta-python/recipes-devtools/python/python3-astroid_2.13.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.13.2.bb b/meta-python/recipes-devtools/python/python3-astroid_2.13.2.bb new file mode 100644 index 0000000000..fa22080d36 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-astroid_2.13.2.bb @@ -0,0 +1,39 @@ +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] = "3bc7834720e1a24ca797fd785d77efb14f7a28ee8e635ef040b6e2d80ccb3303" + +SRC_URI += " \ + file://0001-pyproject.toml-Replace-with.patch \ +" + +inherit pypi python_setuptools_build_meta + +DEPENDS += "\ + ${PYTHON_PN}-pytest-runner-native \ + ${PYTHON_PN}-wheel-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 v1.2.3-54-g00ecf