blob: db3ef43920a212bb2aa06d2ea42e748f7d4347c3 [file] [log] [blame]
Patrick Williamsac13d5f2023-11-24 18:59:46 -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
7SRC_URI[sha256sum] = "86b0bb7d7da0be1a7c4aedb7974e391b32d4ed89e33de6ed6902b4b15c97577e"
8
9inherit pypi python_setuptools_build_meta
10
11DEPENDS += "\
12 ${PYTHON_PN}-pytest-runner-native \
13 ${PYTHON_PN}-wheel-native \
14"
15
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 \
30 ${PYTHON_PN}-typing-extensions \
31"
32
33RDEPENDS:${PN}-tests:class-target += "\
34 ${PYTHON_PN}-unittest \
35 ${PYTHON_PN}-xml \
36"
37
38BBCLASSEXTEND = "native nativesdk"