All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit branch/next] package/python-smbprotocol: new package
@ 2022-11-24 21:30 Thomas Petazzoni via buildroot
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni via buildroot @ 2022-11-24 21:30 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=f3aaa6fd2aa5ba132ba6f95a12fc463ed6f4d850
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/Config.in                                  |  1 +
 package/python-smbprotocol/Config.in               |  9 +++++++++
 package/python-smbprotocol/python-smbprotocol.hash |  6 ++++++
 package/python-smbprotocol/python-smbprotocol.mk   | 14 ++++++++++++++
 4 files changed, 30 insertions(+)

diff --git a/package/Config.in b/package/Config.in
index eafc5ae5ff..cafd3b338c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1266,6 +1266,7 @@ menu "External python modules"
 	source "package/python-sip/Config.in"
 	source "package/python-six/Config.in"
 	source "package/python-slob/Config.in"
+	source "package/python-smbprotocol/Config.in"
 	source "package/python-smbus-cffi/Config.in"
 	source "package/python-smmap2/Config.in"
 	source "package/python-snappy/Config.in"
diff --git a/package/python-smbprotocol/Config.in b/package/python-smbprotocol/Config.in
new file mode 100644
index 0000000000..ae58a7d9a1
--- /dev/null
+++ b/package/python-smbprotocol/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_SMBPROTOCOL
+	bool "python-smbprotocol"
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography
+	select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
+	select BR2_PACKAGE_PYTHON_PYSPNEGO # runtime
+	help
+	  Interact with a server using the SMB 2/3 Protocol.
+
+	  https://github.com/jborean93/smbprotocol
diff --git a/package/python-smbprotocol/python-smbprotocol.hash b/package/python-smbprotocol/python-smbprotocol.hash
new file mode 100644
index 0000000000..a46f9f635b
--- /dev/null
+++ b/package/python-smbprotocol/python-smbprotocol.hash
@@ -0,0 +1,6 @@
+# md5, sha256 from https://pypi.org/pypi/smbprotocol/json
+md5  a7474ab4cf8912dffaab56ad5067f429  smbprotocol-1.10.1.tar.gz
+sha256  b5bc9d4930ec947d42c21089a4d373b97e3f6488fd15d32d27189312fd8a04c9  smbprotocol-1.10.1.tar.gz
+
+# Locally computed
+sha256  4c3c550abc2b04c507ed0d641dd7e524eaff5bd06c7862af957301836d496d15  LICENSE
diff --git a/package/python-smbprotocol/python-smbprotocol.mk b/package/python-smbprotocol/python-smbprotocol.mk
new file mode 100644
index 0000000000..17c2b17dbc
--- /dev/null
+++ b/package/python-smbprotocol/python-smbprotocol.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-smbprotocol
+#
+################################################################################
+
+PYTHON_SMBPROTOCOL_VERSION = 1.10.1
+PYTHON_SMBPROTOCOL_SOURCE = smbprotocol-$(PYTHON_SMBPROTOCOL_VERSION).tar.gz
+PYTHON_SMBPROTOCOL_SITE = https://files.pythonhosted.org/packages/13/1a/73ad1883beebe4f6f47879cb9880690944faa00681141920c7a2219f6152
+PYTHON_SMBPROTOCOL_SETUP_TYPE = setuptools
+PYTHON_SMBPROTOCOL_LICENSE = MIT
+PYTHON_SMBPROTOCOL_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-24 21:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-24 21:30 [Buildroot] [git commit branch/next] package/python-smbprotocol: new package Thomas Petazzoni via buildroot

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.