python-pysocks: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 4 Jan 2016 17:09:22 +0000 (18:09 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 15 Apr 2016 20:25:32 +0000 (22:25 +0200)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-pysocks/Config.in [new file with mode: 0644]
package/python-pysocks/python-pysocks.hash [new file with mode: 0644]
package/python-pysocks/python-pysocks.mk [new file with mode: 0644]

index 3ab18131e5baffbb077906a27d75a05164c701b5..c1dccfd4c30967827c92e602c38bd5c30ffb4cea 100644 (file)
@@ -716,6 +716,7 @@ menu "External python modules"
        source "package/python-pysnmp/Config.in"
        source "package/python-pysnmp-apps/Config.in"
        source "package/python-pysnmp-mibs/Config.in"
+       source "package/python-pysocks/Config.in"
        source "package/python-pytrie/Config.in"
        source "package/python-pyudev/Config.in"
        source "package/python-pyusb/Config.in"
diff --git a/package/python-pysocks/Config.in b/package/python-pysocks/Config.in
new file mode 100644 (file)
index 0000000..cd38d4d
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_PYSOCKS
+       bool "python-pysocks"
+       help
+         A Python SOCKS client module.
+
+         https://github.com/Anorov/PySocks
diff --git a/package/python-pysocks/python-pysocks.hash b/package/python-pysocks/python-pysocks.hash
new file mode 100644 (file)
index 0000000..9388c42
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=c825c7c52b2c79dde73cac8d04bd25cb, sha256 locally computed
+md5     c825c7c52b2c79dde73cac8d04bd25cb  PySocks-1.5.6.tar.gz
+sha256  a62b35b13968ba3642a973d115ae6a11be886b5f5ae0841a3ecad4b4f1d7deb1  PySocks-1.5.6.tar.gz
diff --git a/package/python-pysocks/python-pysocks.mk b/package/python-pysocks/python-pysocks.mk
new file mode 100644 (file)
index 0000000..a556ced
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pysocks
+#
+################################################################################
+
+PYTHON_PYSOCKS_VERSION = 1.5.6
+PYTHON_PYSOCKS_SOURCE = PySocks-$(PYTHON_PYSOCKS_VERSION).tar.gz
+PYTHON_PYSOCKS_SITE = https://pypi.python.org/packages/source/P/PySocks
+PYTHON_PYSOCKS_LICENSE = BSD-3c
+PYTHON_PYSOCKS_LICENSE_FILES = socks.py
+PYTHON_PYSOCKS_SETUP_TYPE = distutils
+
+$(eval $(python-package))