summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2023-11-01 15:07:22 +0800
committerKhem Raj <raj.khem@gmail.com>2023-11-01 15:33:05 -0700
commita0d526bd7f489de9747be913af2e6b9821af2f61 (patch)
tree56b67d5b952a114a4844d7f8c279958fa9b1832d /meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb
parent86fc3bf9e30e4304b5cd8107bc086bc806fac5ef (diff)
downloadmeta-openembedded-a0d526bd7f489de9747be913af2e6b9821af2f61.tar.gz
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 <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb22
1 files changed, 12 insertions, 10 deletions
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"
10 10
11inherit pypi python_setuptools_build_meta 11inherit pypi python_setuptools_build_meta
12 12
13# in meta-virtualization layer
14#
15RCONFLICTS:${PN} = "python3-nacl"
16
17DEPENDS += "\ 13DEPENDS += "\
18 ${PYTHON_PN}-cffi-native \ 14 ${PYTHON_PN}-cffi-native \
19 libsodium \ 15 libsodium \
20" 16"
21 17
22RDEPENDS:${PN} = "\
23 ${PYTHON_PN}-six \
24 ${PYTHON_PN}-cffi \
25 libsodium \
26"
27
28do_compile:prepend() { 18do_compile:prepend() {
29 export SODIUM_INSTALL=system 19 export SODIUM_INSTALL=system
30} 20}
@@ -32,3 +22,15 @@ do_compile:prepend() {
32do_install:prepend() { 22do_install:prepend() {
33 export SODIUM_INSTALL=system 23 export SODIUM_INSTALL=system
34} 24}
25
26RDEPENDS:${PN} = "\
27 ${PYTHON_PN}-six \
28 ${PYTHON_PN}-cffi \
29 libsodium \
30"
31
32RPROVIDES:${PN} = "python3-nacl"
33
34# in meta-virtualization layer
35#
36RCONFLICTS:${PN} = "python3-nacl"