Skip to contentSkip to conversation

python3-pynacl: Added recipe

PATCH In review Khem Raj 2 participants 2 messages Aug 9, 2020 – Aug 11, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 python3-pynacl: Added recipe

From: Colin McAllister <[email protected]>

Created Python3 recipe for PyNaCl.

---
 .../python/python3-pynacl_1.4.0.bb            | 32 +++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pynacl_1.4.0.bb
meta-python/recipes-devtools/python/python3-pynacl_1.4.0.bb new file +32 -0
new file mode 100644
index 0000000000..6fd42ebf81
@@ -0,0 +1,32 @@
+SUMMARY = "Python binding to the Networking and Cryptography (NaCl) library"
+DESCRIPTION = "Python binding to the Networking and Cryptography (NaCl) library"
+HOMEPAGE = "https://github.com/pyca/pynacl"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8cc789b082b3d97e1ccc5261f8594d3f"
+
+SRC_URI[md5sum] = "8c6c57893327a694c72510fb620e4744"
+SRC_URI[sha256sum] = "54e9a2c849c742006516ad56a88f5c74bf2ce92c9f67435187c3c5953b346505"
+
+PYPI_PACKAGE = "PyNaCl"
+
+inherit pypi setuptools3
+
+DEPENDS += "\
+    ${PYTHON_PN}-wheel-native \
+    ${PYTHON_PN}-cffi-native \
+    libsodium \
+"
+
+RDEPENDS_${PN} = "\
+    ${PYTHON_PN}-six \
+    ${PYTHON_PN}-cffi \
+    libsodium \
+"
+
+do_compile_prepend() {
+    export SODIUM_INSTALL=system
+}
+
+do_install_prepend() {
+    export SODIUM_INSTALL=system
+}
Signature · 1 line
2.28.0
Acked-by on v2 1/1
#1 lore raw
Quoted 6 lines · Khem Raj

From: Colin McAllister <[email protected]>

Created Python3 recipe for PyNaCl.

Quoted 45 lines
---
  .../python/python3-pynacl_1.4.0.bb            | 32 +++++++++++++++++++
  1 file changed, 32 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-pynacl_1.4.0.bb

meta-python/recipes-devtools/python/python3-pynacl_1.4.0.bb new file +32 -0
new file mode 100644
index 0000000000..6fd42ebf81
@@ -0,0 +1,32 @@
+SUMMARY = "Python binding to the Networking and Cryptography (NaCl) library"
+DESCRIPTION = "Python binding to the Networking and Cryptography (NaCl) library"
+HOMEPAGE = "https://github.com/pyca/pynacl"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8cc789b082b3d97e1ccc5261f8594d3f"
+
+SRC_URI[md5sum] = "8c6c57893327a694c72510fb620e4744"
+SRC_URI[sha256sum] = "54e9a2c849c742006516ad56a88f5c74bf2ce92c9f67435187c3c5953b346505"
+
+PYPI_PACKAGE = "PyNaCl"
+
+inherit pypi setuptools3
+
+DEPENDS += "\
+    ${PYTHON_PN}-wheel-native \
+    ${PYTHON_PN}-cffi-native \
+    libsodium \
+"
+
+RDEPENDS_${PN} = "\
+    ${PYTHON_PN}-six \
+    ${PYTHON_PN}-cffi \
+    libsodium \
+"
+
+do_compile_prepend() {
+    export SODIUM_INSTALL=system
+}
+
+do_install_prepend() {
+    export SODIUM_INSTALL=system
+}