summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb25
-rw-r--r--meta-python/recipes-devtools/python/python3-pynacl_1.5.0.bb22
2 files changed, 12 insertions, 35 deletions
diff --git a/meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb b/meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb
deleted file mode 100644
index 7d5292745b..0000000000
--- a/meta-python/recipes-devtools/python/python3-nacl_1.5.0.bb
+++ /dev/null
@@ -1,25 +0,0 @@
1SUMMARY = "Python binding to the Networking and Cryptography (NaCl) library"
2HOMEPAGE = "https://github.com/pyca/pynacl"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=8cc789b082b3d97e1ccc5261f8594d3f"
5
6PYPI_PACKAGE = "PyNaCl"
7
8inherit pypi setuptools3
9
10SRC_URI[sha256sum] = "8ac7448f09ab85811607bdd21ec2464495ac8b7c66d146bf545b0f08fb9220ba"
11
12DEPENDS += "\
13 libsodium \
14 python3-cffi-native \
15 python3-pip-native \
16"
17
18RDEPENDS:${PN}:class-target += " \
19 python3-cffi \
20 python3-pycparser \
21"
22
23export SODIUM_INSTALL = "system"
24
25BBCLASSEXTEND = "native" \ No newline at end of file
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"