blob: 2f80187b2b2c0d0d45d75b468409b293e21582bc [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001SUMMARY = "An abstract syntax tree for Python with inference support."
2HOMEPAGE = "https://pypi.python.org/pypi/astroid"
3SECTION = "devel/python"
4LICENSE = "LGPL-2.1-only"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1"
6
Andrew Geissler220dafd2023-10-04 10:18:08 -05007SRC_URI[sha256sum] = "1defdbca052635dd29657ea674edfc45e4b5be9cd53630c5b084fcfed94344a8"
Andrew Geissler517393d2023-01-13 08:55:19 -06008
Andrew Geisslerc5535c92023-01-27 16:10:19 -06009inherit pypi python_setuptools_build_meta
10
11DEPENDS += "\
12 ${PYTHON_PN}-pytest-runner-native \
13 ${PYTHON_PN}-wheel-native \
14"
Andrew Geissler517393d2023-01-13 08:55:19 -060015
16PACKAGES =+ "${PN}-tests"
17
18FILES:${PN}-tests += " \
19 ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \
20 ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \
21"
22
23RDEPENDS:${PN}:class-target += "\
24 ${PYTHON_PN}-distutils \
25 ${PYTHON_PN}-lazy-object-proxy \
26 ${PYTHON_PN}-logging \
27 ${PYTHON_PN}-six \
28 ${PYTHON_PN}-wrapt \
29 ${PYTHON_PN}-setuptools \
Andrew Geissler220dafd2023-10-04 10:18:08 -050030 ${PYTHON_PN}-typing-extensions \
Andrew Geissler517393d2023-01-13 08:55:19 -060031"
32
33RDEPENDS:${PN}-tests:class-target += "\
34 ${PYTHON_PN}-unittest \
35 ${PYTHON_PN}-xml \
36"