diff options
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb b/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb index 503ef35a9e..007be032f5 100644 --- a/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-incremental_22.10.0.bb | |||
| @@ -7,13 +7,28 @@ SRC_URI[sha256sum] = "912feeb5e0f7e0188e6f42241d2f450002e11bbc0937c65865045854c2 | |||
| 7 | 7 | ||
| 8 | inherit pypi python_setuptools_build_meta | 8 | inherit pypi python_setuptools_build_meta |
| 9 | 9 | ||
| 10 | RDEPENDS:${PN} += " \ | 10 | PACKAGE_BEFORE_PN = "\ |
| 11 | python3-twisted-core \ | 11 | ${PN}-scripts \ |
| 12 | ${PN}-tests \ | ||
| 13 | " | ||
| 14 | |||
| 15 | FILES:${PN}-scripts = "\ | ||
| 16 | ${PYTHON_SITEPACKAGES_DIR}/incremental/update.py \ | ||
| 17 | ${PYTHON_SITEPACKAGES_DIR}/incremental/__pycache__/update*.pyc \ | ||
| 18 | " | ||
| 19 | |||
| 20 | RDEPENDS:${PN}-scripts = "\ | ||
| 12 | python3-click \ | 21 | python3-click \ |
| 22 | python3-twisted-core \ | ||
| 23 | " | ||
| 24 | |||
| 25 | FILES:${PN}-tests = "${PYTHON_SITEPACKAGES_DIR}/incremental/tests" | ||
| 26 | |||
| 27 | # The tests require unit testing tool 'trial' from the twisted package | ||
| 28 | RDEPENDS:${PN}-tests = "\ | ||
| 29 | ${PN}-scripts \ | ||
| 30 | python3-twisted \ | ||
| 13 | " | 31 | " |
| 14 | 32 | ||
| 15 | # -native is needed to build python[3]-twisted, however, we need to take steps to | ||
| 16 | # prevent a circular dependency. The build apparently does not use the part of | ||
| 17 | # python-incremental which uses python-twisted, so this hack is OK. | ||
| 18 | RDEPENDS:python3-incremental-native:remove = "python3-twisted-core-native" | ||
| 19 | BBCLASSEXTEND = "native" | 33 | BBCLASSEXTEND = "native" |
| 34 | |||
