From a0d526bd7f489de9747be913af2e6b9821af2f61 Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Wed, 1 Nov 2023 15:07:22 +0800 Subject: python3-nacl: drop duplicate recipe Recipes python3-nacl and python3-pynacl are exactly the same reipces for python packge "PyNaCl", so drop the latter one python3-nacl_1.5.0.bb. And let python3-pynacl rprovides python3-nacl in case it is required by other recipes. Ajust the order in python3-pynacl as well accord to https://docs.yoctoproject.org/dev/contributor-guide/recipe-style-guide.html#recipe-ordering Signed-off-by: Kai Kang Signed-off-by: Khem Raj --- .../python/python3-pynacl_1.5.0.bb | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb b/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb index 5a8ed131af..0747c67c19 100644 --- a/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb +++ b/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb @@ -10,21 +10,11 @@ PYPI_PACKAGE = "PyNaCl" inherit pypi python_setuptools_build_meta -# in meta-virtualization layer -# -RCONFLICTS:${PN} = "python3-nacl" - DEPENDS += "\ ${PYTHON_PN}-cffi-native \ libsodium \ " -RDEPENDS:${PN} = "\ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-cffi \ - libsodium \ -" - do_compile:prepend() { export SODIUM_INSTALL=system } @@ -32,3 +22,15 @@ do_compile:prepend() { do_install:prepend() { export SODIUM_INSTALL=system } + +RDEPENDS:${PN} = "\ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-cffi \ + libsodium \ +" + +RPROVIDES:${PN} = "python3-nacl" + +# in meta-virtualization layer +# +RCONFLICTS:${PN} = "python3-nacl" -- cgit v1.2.3-54-g00ecf