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>
N: Asaf Kahlon <asafka7@gmail.com>
F: package/python-jsonmodels/
+F: package/python-subprocess32/
F: package/python-yieldfrom/
F: package/zeromq/
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"
--- /dev/null
+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
--- /dev/null
+# sha256 from https://pypi.org/pypi/subprocess32/json
+sha256 1e450a4a4c53bf197ad6402c564b9f7a53539385918ef8f12bdf430a61036590 subprocess32-3.2.7.tar.gz
+# Locally computed sha256 checksums
+sha256 826b43437249d39422642f695154d064da64de92eb1476048a615f50bc1beb4a LICENSE
--- /dev/null
+################################################################################
+#
+# 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))