Andrew Geissler | 517393d | 2023-01-13 08:55:19 -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 | |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 7 | SRC_URI[sha256sum] = "3bc7834720e1a24ca797fd785d77efb14f7a28ee8e635ef040b6e2d80ccb3303" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 8 | |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 9 | SRC_URI += " \ |
| 10 | file://0001-pyproject.toml-Replace-with.patch \ |
| 11 | " |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 12 | |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 13 | inherit pypi python_setuptools_build_meta |
| 14 | |
| 15 | DEPENDS += "\ |
| 16 | ${PYTHON_PN}-pytest-runner-native \ |
| 17 | ${PYTHON_PN}-wheel-native \ |
| 18 | " |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 19 | |
| 20 | PACKAGES =+ "${PN}-tests" |
| 21 | |
| 22 | FILES:${PN}-tests += " \ |
| 23 | ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \ |
| 24 | ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \ |
| 25 | " |
| 26 | |
| 27 | RDEPENDS:${PN}:class-target += "\ |
| 28 | ${PYTHON_PN}-distutils \ |
| 29 | ${PYTHON_PN}-lazy-object-proxy \ |
| 30 | ${PYTHON_PN}-logging \ |
| 31 | ${PYTHON_PN}-six \ |
| 32 | ${PYTHON_PN}-wrapt \ |
| 33 | ${PYTHON_PN}-setuptools \ |
| 34 | " |
| 35 | |
| 36 | RDEPENDS:${PN}-tests:class-target += "\ |
| 37 | ${PYTHON_PN}-unittest \ |
| 38 | ${PYTHON_PN}-xml \ |
| 39 | " |