package/python-smbprotocol: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Yegor Yefremov 2022-11-23 10:35:38 +01:00 committed by Thomas Petazzoni
parent 4eb1dde125
commit f3aaa6fd2a
4 changed files with 30 additions and 0 deletions

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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))