python-subprocess32: new package
authorAsaf Kahlon <asafka7@gmail.com>
Sat, 28 Apr 2018 08:11:50 +0000 (11:11 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 28 Apr 2018 10:30:39 +0000 (12:30 +0200)
A backport of the Python 3 subprocess module for use on Python 2.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/python-subprocess32/Config.in [new file with mode: 0644]
package/python-subprocess32/python-subprocess32.hash [new file with mode: 0644]
package/python-subprocess32/python-subprocess32.mk [new file with mode: 0644]

index 9685a5388690756936f4e9066f8c66b3f21de5da..25edcf97b3be41e00b626dde1c011dfcad657d61 100644 (file)
@@ -191,6 +191,7 @@ F:  package/stress/
 
 N:     Asaf Kahlon <asafka7@gmail.com>
 F:     package/python-jsonmodels/
+F:     package/python-subprocess32/
 F:     package/python-yieldfrom/
 F:     package/zeromq/
 
index bdc02025cf026d3ab979ee63e71ba765c1556507..8614a9b2165ca3a8ce4f3e434d0eacb8866e1b5c 100644 (file)
@@ -939,6 +939,7 @@ menu "External python modules"
        source "package/python-sortedcontainers//Config.in"
        source "package/python-spidev/Config.in"
        source "package/python-sqlalchemy/Config.in"
+       source "package/python-subprocess32/Config.in"
        source "package/python-systemd/Config.in"
        source "package/python-tabledata/Config.in"
        source "package/python-tempora/Config.in"
diff --git a/package/python-subprocess32/Config.in b/package/python-subprocess32/Config.in
new file mode 100644 (file)
index 0000000..a936b06
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_SUBPROCESS32
+       bool "python-subprocess32"
+       depends on BR2_PACKAGE_PYTHON
+       help
+         A backport of the Python 3 subprocess module for use
+         on Python 2.
+
+         https://github.com/google/python-subprocess32
diff --git a/package/python-subprocess32/python-subprocess32.hash b/package/python-subprocess32/python-subprocess32.hash
new file mode 100644 (file)
index 0000000..17a54b0
--- /dev/null
@@ -0,0 +1,4 @@
+# sha256 from https://pypi.org/pypi/subprocess32/json
+sha256 1e450a4a4c53bf197ad6402c564b9f7a53539385918ef8f12bdf430a61036590  subprocess32-3.2.7.tar.gz
+# Locally computed sha256 checksums
+sha256 826b43437249d39422642f695154d064da64de92eb1476048a615f50bc1beb4a  LICENSE
diff --git a/package/python-subprocess32/python-subprocess32.mk b/package/python-subprocess32/python-subprocess32.mk
new file mode 100644 (file)
index 0000000..483bf53
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-subprocess32
+#
+################################################################################
+
+PYTHON_SUBPROCESS32_VERSION = 3.2.7
+PYTHON_SUBPROCESS32_SOURCE = subprocess32-$(PYTHON_SUBPROCESS32_VERSION).tar.gz
+PYTHON_SUBPROCESS32_SITE = https://files.pythonhosted.org/packages/b8/2f/49e53b0d0e94611a2dc624a1ad24d41b6d94d0f1b0a078443407ea2214c2
+PYTHON_SUBPROCESS32_SETUP_TYPE = distutils
+PYTHON_SUBPROCESS32_LICENSE = Python-2.0
+PYTHON_SUBPROCESS32_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))