diff options
| author | Peter Marko <peter.marko@siemens.com> | 2025-12-07 10:08:20 +0100 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@oss.qualcomm.com> | 2025-12-09 07:01:16 +0530 |
| commit | 4d1817df4561841ccaa63ca4075ec83856438729 (patch) | |
| tree | bec2d91e1040f3a37a4fb466f73a4621f246c037 | |
| parent | 7ed4330bcf1ecd4aa34bfbe1fd7079381b62b1e7 (diff) | |
| download | meta-openembedded-4d1817df4561841ccaa63ca4075ec83856438729.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.
(From meta-openembedded rev: 331126a6d0a48ebcf12069df554b3abacaeb512a)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
| -rw-r--r-- | meta-networking/recipes-filter/nftables/nftables_1.0.9.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-networking/recipes-filter/nftables/nftables_1.0.9.bb b/meta-networking/recipes-filter/nftables/nftables_1.0.9.bb index 569ab6f6af..26fa72aff2 100644 --- a/meta-networking/recipes-filter/nftables/nftables_1.0.9.bb +++ b/meta-networking/recipes-filter/nftables/nftables_1.0.9.bb | |||
| @@ -40,6 +40,8 @@ inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python', 'setuptools3', '', | |||
| 40 | PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'python', '${PN}-python', '', d)}" | 40 | PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'python', '${PN}-python', '', d)}" |
| 41 | FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" | 41 | FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" |
| 42 | RDEPENDS:${PN}-python = "python3-core python3-json ${PN}" | 42 | RDEPENDS:${PN}-python = "python3-core python3-json ${PN}" |
| 43 | # setuptools3-base.bbclass adds this to main package, but this recipe is moving it to python sub-package | ||
| 44 | RDEPENDS:${PN}:remove:class-target = "python3-core" | ||
| 43 | 45 | ||
| 44 | # Explicitly define do_configure, do_compile and do_install because both autotools and setuptools3 | 46 | # Explicitly define do_configure, do_compile and do_install because both autotools and setuptools3 |
| 45 | # have EXPORT_FUNCTIONS do_configure do_compile do_install | 47 | # have EXPORT_FUNCTIONS do_configure do_compile do_install |
