All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH v2] python3-pynacl: Added recipe
@ 2020-08-09 20:02 Khem Raj
  2020-08-11 14:03 ` [oe] " Trevor Gamblin
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2020-08-09 20:02 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Colin McAllister, Khem Raj

From: Colin McAllister <colinmca242@gmail.com>

Created Python3 recipe for PyNaCl.

Signed-off-by: Colin McAllister <colinmca242@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../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

diff --git a/meta-python/recipes-devtools/python/python3-pynacl_1.4.0.bb b/meta-python/recipes-devtools/python/python3-pynacl_1.4.0.bb
new file mode 100644
index 0000000000..6fd42ebf81
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pynacl_1.4.0.bb
@@ -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
+}
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [oe] [meta-python][PATCH v2] python3-pynacl: Added recipe
  2020-08-09 20:02 [meta-python][PATCH v2] python3-pynacl: Added recipe Khem Raj
@ 2020-08-11 14:03 ` Trevor Gamblin
  0 siblings, 0 replies; 2+ messages in thread
From: Trevor Gamblin @ 2020-08-11 14:03 UTC (permalink / raw)
  To: Khem Raj, openembedded-devel; +Cc: Colin McAllister

[-- Attachment #1: Type: text/plain, Size: 1730 bytes --]


On 8/9/20 4:02 PM, Khem Raj wrote:
> From: Colin McAllister <colinmca242@gmail.com>
>
> Created Python3 recipe for PyNaCl.
>
> Signed-off-by: Colin McAllister <colinmca242@gmail.com>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../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
>
> diff --git a/meta-python/recipes-devtools/python/python3-pynacl_1.4.0.bb b/meta-python/recipes-devtools/python/python3-pynacl_1.4.0.bb
> new file mode 100644
> index 0000000000..6fd42ebf81
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pynacl_1.4.0.bb
> @@ -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
> +}
>
> 

[-- Attachment #2: Type: text/html, Size: 2845 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-11 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-09 20:02 [meta-python][PATCH v2] python3-pynacl: Added recipe Khem Raj
2020-08-11 14:03 ` [oe] " Trevor Gamblin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.