Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 1 | SUMMARY = "An abstract syntax tree for Python with inference support." |
| 2 | HOMEPAGE = "https://pypi.python.org/pypi/astroid" |
| 3 | SECTION = "devel/python" |
| 4 | LICENSE = "LGPL-2.1-only" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" |
| 6 | |
| 7 | SRC_URI[sha256sum] = "86b0bb7d7da0be1a7c4aedb7974e391b32d4ed89e33de6ed6902b4b15c97577e" |
| 8 | |
| 9 | inherit pypi python_setuptools_build_meta |
| 10 | |
| 11 | DEPENDS += "\ |
| 12 | ${PYTHON_PN}-pytest-runner-native \ |
| 13 | ${PYTHON_PN}-wheel-native \ |
| 14 | " |
| 15 | |
| 16 | PACKAGES =+ "${PN}-tests" |
| 17 | |
| 18 | FILES:${PN}-tests += " \ |
| 19 | ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \ |
| 20 | ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \ |
| 21 | " |
| 22 | |
| 23 | RDEPENDS:${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 | |
| 33 | RDEPENDS:${PN}-tests:class-target += "\ |
| 34 | ${PYTHON_PN}-unittest \ |
| 35 | ${PYTHON_PN}-xml \ |
| 36 | " |
| 37 | |
| 38 | BBCLASSEXTEND = "native nativesdk" |