diff options
| author | Peter Marko <peter.marko@siemens.com> | 2025-12-04 15:36:37 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-12-05 10:13:23 -0800 |
| commit | 331126a6d0a48ebcf12069df554b3abacaeb512a (patch) | |
| tree | 3358d8961a71d8f0a23160c53d1f4ba0301b3ea4 | |
| parent | b428f675752f1f83bed691cb9b58adf48212aaea (diff) | |
| download | meta-openembedded-331126a6d0a48ebcf12069df554b3abacaeb512a.tar.gz | |
nftables: remove python dependency from main package
The recipe splits python code to nftables-python package, however
setuptools classes add the dependency to main package.
Since nftables-python package already has python3-core explicit
dependency, remove it from the main package.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-networking/recipes-filter/nftables/nftables_1.1.5.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-networking/recipes-filter/nftables/nftables_1.1.5.bb b/meta-networking/recipes-filter/nftables/nftables_1.1.5.bb index a2c6ce0e23..5ae9fc609d 100644 --- a/meta-networking/recipes-filter/nftables/nftables_1.1.5.bb +++ b/meta-networking/recipes-filter/nftables/nftables_1.1.5.bb | |||
| @@ -42,6 +42,8 @@ inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python_setuptools | |||
| 42 | PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'python', '${PN}-python', '', d)}" | 42 | PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'python', '${PN}-python', '', d)}" |
| 43 | FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" | 43 | FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" |
| 44 | RDEPENDS:${PN}-python = "python3-core python3-json ${PN}" | 44 | RDEPENDS:${PN}-python = "python3-core python3-json ${PN}" |
| 45 | # setuptools3-base.bbclass adds this to main package, but this recipe is moving it to python sub-package | ||
| 46 | RDEPENDS:${PN}:remove:class-target = "python3-core" | ||
| 45 | 47 | ||
| 46 | # Explicitly define do_configure, do_compile and do_install because both autotools and setuptools3 | 48 | # Explicitly define do_configure, do_compile and do_install because both autotools and setuptools3 |
| 47 | # have EXPORT_FUNCTIONS do_configure do_compile do_install | 49 | # have EXPORT_FUNCTIONS do_configure do_compile do_install |
