All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: buildroot@buildroot.org
Subject: [Buildroot] [git commit branch/next] package/python-smbprotocol: new package
Date: Thu, 24 Nov 2022 22:30:38 +0100	[thread overview]
Message-ID: <20221124213555.9F9D28459D@busybox.osuosl.org> (raw)

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

                 reply	other threads:[~2022-11-24 21:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221124213555.9F9D28459D@busybox.osuosl.org \
    --to=buildroot@buildroot.org \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.