package/python-pickleshare: New package
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Mon, 12 Jun 2017 23:42:13 +0000 (16:42 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 15 Jun 2017 21:00:09 +0000 (23:00 +0200)
Add 'pickleshare'[1] package to buildroot. Needed by IPython.

[1] https://pypi.python.org/pypi/pickleshare

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
DEVELOPERS
package/Config.in
package/python-pickleshare/Config.in [new file with mode: 0644]
package/python-pickleshare/python-pickleshare.hash [new file with mode: 0644]
package/python-pickleshare/python-pickleshare.mk [new file with mode: 0644]

index 3a7391779743eb04d34f1b0c7d3253c0b528cba1..8edfd5c04aac48db7eb5edd71f701a4e66951dc2 100644 (file)
@@ -84,6 +84,7 @@ N:    Andrey Smirnov <andrew.smirnov@gmail.com>
 F:     package/python-decorator/
 F:     package/python-ipython-genutils/
 F:     package/python-pathlib2/
+F:     package/python-pickleshare/
 F:     package/python-scandir/
 F:     package/python-simplegeneric/
 F:     package/python-traitlets/
index cf41b37ed560a44805be890881faadf3c2bc4129..adea839b14512e8dda1bba705fc9fd01062def41 100644 (file)
@@ -778,6 +778,7 @@ menu "External python modules"
        source "package/python-pathtools/Config.in"
        source "package/python-pathvalidate/Config.in"
        source "package/python-pexpect/Config.in"
+       source "package/python-pickleshare/Config.in"
        source "package/python-pillow/Config.in"
        source "package/python-posix-ipc/Config.in"
        source "package/python-prompt-toolkit/Config.in"
diff --git a/package/python-pickleshare/Config.in b/package/python-pickleshare/Config.in
new file mode 100644 (file)
index 0000000..35a2663
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_PICKLESHARE
+       bool "python-pickleshare"
+       select BR2_PACKAGE_PYTHON_PATHLIB2 if BR2_PACKAGE_PYTHON # runtime
+       help
+         Tiny 'shelve'-like database with concurrency support
+
+         https://pypi.python.org/pypi/pickleshare
diff --git a/package/python-pickleshare/python-pickleshare.hash b/package/python-pickleshare/python-pickleshare.hash
new file mode 100644 (file)
index 0000000..6e3d408
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/pickleshare/json, sha256 locally computed
+md5 6a9e5dd8dfc023031f6b7b3f824cab12 pickleshare-0.7.4.tar.gz
+sha256 84a9257227dfdd6fe1b4be1319096c20eb85ff1e82c7932f36efccfe1b09737b pickleshare-0.7.4.tar.gz
diff --git a/package/python-pickleshare/python-pickleshare.mk b/package/python-pickleshare/python-pickleshare.mk
new file mode 100644 (file)
index 0000000..b2a5e88
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pickleshare
+#
+################################################################################
+
+PYTHON_PICKLESHARE_VERSION = 0.7.4
+PYTHON_PICKLESHARE_SOURCE = pickleshare-$(PYTHON_PICKLESHARE_VERSION).tar.gz
+PYTHON_PICKLESHARE_SITE = https://pypi.python.org/packages/69/fe/dd137d84daa0fd13a709e448138e310d9ea93070620c9db5454e234af525
+PYTHON_PICKLESHARE_LICENSE = MIT
+PYTHON_PICKLESHARE_LICENSE_FILE = LICENSE
+PYTHON_PICKLESHARE_SETUP_TYPE = setuptools
+
+$(eval $(python-package))