python-subprocess32: new package

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>
This commit is contained in:
Asaf Kahlon 2018-04-28 11:11:50 +03:00 committed by Thomas Petazzoni
parent 476243ac3d
commit 5bc02beb94
5 changed files with 28 additions and 0 deletions

View File

@ -191,6 +191,7 @@ F: package/stress/
N: Asaf Kahlon <asafka7@gmail.com> N: Asaf Kahlon <asafka7@gmail.com>
F: package/python-jsonmodels/ F: package/python-jsonmodels/
F: package/python-subprocess32/
F: package/python-yieldfrom/ F: package/python-yieldfrom/
F: package/zeromq/ F: package/zeromq/

View File

@ -939,6 +939,7 @@ menu "External python modules"
source "package/python-sortedcontainers//Config.in" source "package/python-sortedcontainers//Config.in"
source "package/python-spidev/Config.in" source "package/python-spidev/Config.in"
source "package/python-sqlalchemy/Config.in" source "package/python-sqlalchemy/Config.in"
source "package/python-subprocess32/Config.in"
source "package/python-systemd/Config.in" source "package/python-systemd/Config.in"
source "package/python-tabledata/Config.in" source "package/python-tabledata/Config.in"
source "package/python-tempora/Config.in" source "package/python-tempora/Config.in"

View File

@ -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

View File

@ -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

View File

@ -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))