aboutsummaryrefslogtreecommitdiff
path: root/package/python-pysmb
diff options
context:
space:
mode:
authorGravatar Yegor Yefremov <yegorslists@googlemail.com>2015-12-21 11:15:07 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-21 23:11:26 +0100
commit16649b439bd0c9c9de0d34cad93ad371e8667fc9 (patch)
tree6749380f9766633d2313028ceb307346b23a140e /package/python-pysmb
parentb2d925159b45f04cbbc8f1a06cda34b478ca2c63 (diff)
downloadbuildroot-16649b439bd0c9c9de0d34cad93ad371e8667fc9.tar.gz
buildroot-16649b439bd0c9c9de0d34cad93ad371e8667fc9.tar.bz2
python-pysmb: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-pysmb')
-rw-r--r--package/python-pysmb/Config.in15
-rw-r--r--package/python-pysmb/python-pysmb.hash3
-rw-r--r--package/python-pysmb/python-pysmb.mk14
3 files changed, 32 insertions, 0 deletions
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))