mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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>
This commit is contained in:
parent
7ed4330bcf
commit
4d1817df45
@ -40,6 +40,8 @@ inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python', 'setuptools3', '',
|
||||
PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'python', '${PN}-python', '', d)}"
|
||||
FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
|
||||
RDEPENDS:${PN}-python = "python3-core python3-json ${PN}"
|
||||
# setuptools3-base.bbclass adds this to main package, but this recipe is moving it to python sub-package
|
||||
RDEPENDS:${PN}:remove:class-target = "python3-core"
|
||||
|
||||
# Explicitly define do_configure, do_compile and do_install because both autotools and setuptools3
|
||||
# have EXPORT_FUNCTIONS do_configure do_compile do_install
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user