From 0b8ed3c33cb48b5208caac439b515fb6382a139f Mon Sep 17 00:00:00 2001 From: Zang Ruochen Date: Thu, 24 Oct 2019 13:28:38 +0800 Subject: python-astroid: upgrade 1.6.5 -> 2.3.2 -Add depends:pytest-runner-native. Signed-off-by: Zang Ruochen Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python-astroid.inc | 6 ++++-- meta-python/recipes-devtools/python/python-astroid_1.6.5.bb | 10 ---------- meta-python/recipes-devtools/python/python-astroid_2.3.2.bb | 10 ++++++++++ meta-python/recipes-devtools/python/python3-astroid_1.6.5.bb | 2 -- meta-python/recipes-devtools/python/python3-astroid_2.3.2.bb | 2 ++ 5 files changed, 16 insertions(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-astroid_1.6.5.bb create mode 100644 meta-python/recipes-devtools/python/python-astroid_2.3.2.bb delete mode 100644 meta-python/recipes-devtools/python/python3-astroid_1.6.5.bb create mode 100644 meta-python/recipes-devtools/python/python3-astroid_2.3.2.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python-astroid.inc b/meta-python/recipes-devtools/python/python-astroid.inc index fae0f13cb8..171d320152 100644 --- a/meta-python/recipes-devtools/python/python-astroid.inc +++ b/meta-python/recipes-devtools/python/python-astroid.inc @@ -4,11 +4,13 @@ SECTION = "devel/python" LICENSE = "LGPL-2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -SRC_URI[md5sum] = "2dd01ef0d5b5f0fc754c1ba40137b61c" -SRC_URI[sha256sum] = "fc9b582dba0366e63540982c3944a9230cbc6f303641c51483fa547dcc22393a" +SRC_URI[md5sum] = "b2cd5c0383ff33c1410e737c2607aa7a" +SRC_URI[sha256sum] = "09a3fba616519311f1af8a461f804b68f0370e100c9264a035aa7846d7852e33" inherit pypi +DEPENDS += "${PYTHON_PN}-pytest-runner-native" + PACKAGES =+ "${PN}-tests" FILES_${PN}-tests += " \ diff --git a/meta-python/recipes-devtools/python/python-astroid_1.6.5.bb b/meta-python/recipes-devtools/python/python-astroid_1.6.5.bb deleted file mode 100644 index 687394da63..0000000000 --- a/meta-python/recipes-devtools/python/python-astroid_1.6.5.bb +++ /dev/null @@ -1,10 +0,0 @@ -inherit setuptools -require python-astroid.inc - -RDEPENDS_${PN}_class-target += " \ - ${PYTHON_PN}-enum34 \ - ${PYTHON_PN}-backports-functools-lru-cache \ - ${PYTHON_PN}-re \ - ${PYTHON_PN}-singledispatch \ - ${PYTHON_PN}-subprocess \ -" diff --git a/meta-python/recipes-devtools/python/python-astroid_2.3.2.bb b/meta-python/recipes-devtools/python/python-astroid_2.3.2.bb new file mode 100644 index 0000000000..687394da63 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-astroid_2.3.2.bb @@ -0,0 +1,10 @@ +inherit setuptools +require python-astroid.inc + +RDEPENDS_${PN}_class-target += " \ + ${PYTHON_PN}-enum34 \ + ${PYTHON_PN}-backports-functools-lru-cache \ + ${PYTHON_PN}-re \ + ${PYTHON_PN}-singledispatch \ + ${PYTHON_PN}-subprocess \ +" diff --git a/meta-python/recipes-devtools/python/python3-astroid_1.6.5.bb b/meta-python/recipes-devtools/python/python3-astroid_1.6.5.bb deleted file mode 100644 index 6e32c288f2..0000000000 --- a/meta-python/recipes-devtools/python/python3-astroid_1.6.5.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-astroid.inc diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.3.2.bb b/meta-python/recipes-devtools/python/python3-astroid_2.3.2.bb new file mode 100644 index 0000000000..6e32c288f2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-astroid_2.3.2.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-astroid.inc -- cgit v1.2.3-54-g00ecf