aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-astroid.inc
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 /meta-python/recipes-devtools/python/python-astroid.inc
parentb3ffe045316f3e48b7eec34574ccb647589e296a (diff)
downloadmeta-openembedded-contrib-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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-astroid.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-astroid.inc16
1 files changed, 14 insertions, 2 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"
LICENSE = "LGPL-2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
-SRC_URI[md5sum] = "6f65e4ea8290ec032320460905afb828"
-SRC_URI[sha256sum] = "492c2a2044adbf6a84a671b7522e9295ad2f6a7c781b899014308db25312dd35"
+SRC_URI[md5sum] = "6f8f60b316218455726958f08c6e17f1"
+SRC_URI[sha256sum] = "71dadba2110008e2c03f9fde662ddd2053db3c0489d0e03c94e828a0399edd4f"
inherit pypi
+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 \
@@ -18,3 +25,8 @@ RDEPENDS_${PN}_class-target += "\
${PYTHON_PN}-re \
${PYTHON_PN}-setuptools \
"
+
+RDEPENDS_${PN}-tests_class-target += "\
+ ${PYTHON_PN}-unittest \
+ ${PYTHON_PN}-xml \
+"