From 16649b439bd0c9c9de0d34cad93ad371e8667fc9 Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Mon, 21 Dec 2015 11:15:07 +0100 Subject: [PATCH] python-pysmb: new package Signed-off-by: Yegor Yefremov Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/python-pysmb/Config.in | 15 +++++++++++++++ package/python-pysmb/python-pysmb.hash | 3 +++ package/python-pysmb/python-pysmb.mk | 14 ++++++++++++++ 4 files changed, 33 insertions(+) create mode 100644 package/python-pysmb/Config.in create mode 100644 package/python-pysmb/python-pysmb.hash create mode 100644 package/python-pysmb/python-pysmb.mk diff --git a/package/Config.in b/package/Config.in index 066aa06c33..b57c3ee887 100644 --- a/package/Config.in +++ b/package/Config.in @@ -671,6 +671,7 @@ menu "External python modules" source "package/python-pyro/Config.in" source "package/python-pyroute2/Config.in" source "package/python-pysendfile/Config.in" + source "package/python-pysmb/Config.in" source "package/python-pysnmp/Config.in" source "package/python-pysnmp-apps/Config.in" source "package/python-pysnmp-mibs/Config.in" diff --git a/package/python-pysmb/Config.in b/package/python-pysmb/Config.in new file mode 100644 index 0000000000..42a9984ef7 --- /dev/null +++ b/package/python-pysmb/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_PYTHON_PYSMB + bool "python-pysmb" + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_PYTHON_PYASN + help + pysmb is an experimental SMB/CIFS library written in Python. + It implements the client-side SMB/CIFS protocol (SMB1 and SMB2) + which allows your Python application to access and transfer files + to/from SMB/CIFS shared folders like your Windows file sharing and + Samba folders. + + https://miketeo.net/wp/index.php/projects/pysmb + +comment "python-pysmb needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/python-pysmb/python-pysmb.hash b/package/python-pysmb/python-pysmb.hash new file mode 100644 index 0000000000..b3c91fe2ca --- /dev/null +++ b/package/python-pysmb/python-pysmb.hash @@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=256b94bdeb63e6cc63f4b6a380b5918b, sha256 locally computed +md5 256b94bdeb63e6cc63f4b6a380b5918b pysmb-1.1.17.tar.gz +sha256 267def5aef2f0f41be4ba141b29dce9c23214667e84bddefd285b56fd481d813 pysmb-1.1.17.tar.gz diff --git a/package/python-pysmb/python-pysmb.mk b/package/python-pysmb/python-pysmb.mk new file mode 100644 index 0000000000..1a00a4ddc8 --- /dev/null +++ b/package/python-pysmb/python-pysmb.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pysmb +# +################################################################################ + +PYTHON_PYSMB_VERSION = 1.1.17 +PYTHON_PYSMB_SOURCE = pysmb-$(PYTHON_PYSMB_VERSION).tar.gz +PYTHON_PYSMB_SITE = https://pypi.python.org/packages/source/p/pysmb +PYTHON_PYSMB_LICENSE = libpng license +PYTHON_PYSMB_LICENSE_FILES = LICENSE +PYTHON_PYSMB_SETUP_TYPE = setuptools + +$(eval $(python-package)) -- 2.30.2