summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2017-12-19 09:06:14 -0500
committerArmin Kuster <akuster808@gmail.com>2017-12-27 07:25:01 -0800
commit089316de7025aa215ad2f0a52f470a1b1a19bd68 (patch)
tree7c95b9897c7a3dbce875cfb7a77ff1d508dec06a
parentb3ffe045316f3e48b7eec34574ccb647589e296a (diff)
downloadmeta-openembedded-089316de7025aa215ad2f0a52f470a1b1a19bd68.tar.gz
python-astroid: update to version 1.6.0
Split out the test packages Update the RDEPENDS for minimal python installs Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-python/recipes-devtools/python/python-astroid.inc16
-rw-r--r--meta-python/recipes-devtools/python/python-astroid_1.5.3.bb7
-rw-r--r--meta-python/recipes-devtools/python/python-astroid_1.6.0.bb9
-rw-r--r--meta-python/recipes-devtools/python/python3-astroid_1.6.0.bb (renamed from meta-python/recipes-devtools/python/python3-astroid_1.5.3.bb)0
4 files changed, 23 insertions, 9 deletions
diff --git a/meta-python/recipes-devtools/python/python-astroid.inc b/meta-python/recipes-devtools/python/python-astroid.inc
index 4cb1a3c4b6..971aaf47d9 100644
--- a/meta-python/recipes-devtools/python/python-astroid.inc
+++ b/meta-python/recipes-devtools/python/python-astroid.inc
@@ -4,11 +4,18 @@ SECTION = "devel/python"
4LICENSE = "LGPL-2.1" 4LICENSE = "LGPL-2.1"
5LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 5LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
6 6
7SRC_URI[md5sum] = "6f65e4ea8290ec032320460905afb828" 7SRC_URI[md5sum] = "6f8f60b316218455726958f08c6e17f1"
8SRC_URI[sha256sum] = "492c2a2044adbf6a84a671b7522e9295ad2f6a7c781b899014308db25312dd35" 8SRC_URI[sha256sum] = "71dadba2110008e2c03f9fde662ddd2053db3c0489d0e03c94e828a0399edd4f"
9 9
10inherit pypi 10inherit pypi
11 11
12PACKAGES =+ "${PN}-tests"
13
14FILES_${PN}-tests += " \
15 ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \
16 ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \
17"
18
12RDEPENDS_${PN}_class-target += "\ 19RDEPENDS_${PN}_class-target += "\
13 ${PYTHON_PN}-distutils \ 20 ${PYTHON_PN}-distutils \
14 ${PYTHON_PN}-lazy-object-proxy \ 21 ${PYTHON_PN}-lazy-object-proxy \
@@ -18,3 +25,8 @@ RDEPENDS_${PN}_class-target += "\
18 ${PYTHON_PN}-re \ 25 ${PYTHON_PN}-re \
19 ${PYTHON_PN}-setuptools \ 26 ${PYTHON_PN}-setuptools \
20" 27"
28
29RDEPENDS_${PN}-tests_class-target += "\
30 ${PYTHON_PN}-unittest \
31 ${PYTHON_PN}-xml \
32"
diff --git a/meta-python/recipes-devtools/python/python-astroid_1.5.3.bb b/meta-python/recipes-devtools/python/python-astroid_1.5.3.bb
deleted file mode 100644
index f7a0a5e736..0000000000
--- a/meta-python/recipes-devtools/python/python-astroid_1.5.3.bb
+++ /dev/null
@@ -1,7 +0,0 @@
1inherit setuptools
2require python-astroid.inc
3
4RDEPENDS_${PN}_class-target += "${PYTHON_PN}-enum34 \
5 ${PYTHON_PN}-importlib \
6 ${PYTHON_PN}-singledispatch \
7 "
diff --git a/meta-python/recipes-devtools/python/python-astroid_1.6.0.bb b/meta-python/recipes-devtools/python/python-astroid_1.6.0.bb
new file mode 100644
index 0000000000..3ced19a09d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-astroid_1.6.0.bb
@@ -0,0 +1,9 @@
1inherit setuptools
2require python-astroid.inc
3
4RDEPENDS_${PN}_class-target += " \
5 ${PYTHON_PN}-enum34 \
6 ${PYTHON_PN}-backports-functools-lru-cache \
7 ${PYTHON_PN}-importlib \
8 ${PYTHON_PN}-singledispatch \
9"
diff --git a/meta-python/recipes-devtools/python/python3-astroid_1.5.3.bb b/meta-python/recipes-devtools/python/python3-astroid_1.6.0.bb
index 6e32c288f2..6e32c288f2 100644
--- a/meta-python/recipes-devtools/python/python3-astroid_1.5.3.bb
+++ b/meta-python/recipes-devtools/python/python3-astroid_1.6.0.bb