package/python-subprocess32: drop python2 specific package

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Peter Korsgaard 2022-02-09 17:52:05 +01:00 committed by Yann E. MORIN
parent 5fce56ae9b
commit c2d0a365de
5 changed files with 6 additions and 50 deletions

View File

@ -146,6 +146,12 @@ endif
comment "Legacy options removed in 2022.02"
config BR2_PACKAGE_PYTHON_SUBPROCESS32
bool "python-subprocess32 removed"
select BR2_LEGACY
help
Package was removed together with python 2.7 support.
config BR2_PACKAGE_PYTHON_SINGLEDISPATCH
bool "python-singledispatch removed"
select BR2_LEGACY

View File

@ -1243,7 +1243,6 @@ menu "External python modules"
source "package/python-sqlalchemy/Config.in"
source "package/python-sqliteschema/Config.in"
source "package/python-sqlparse/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"

View File

@ -1,13 +0,0 @@
config BR2_PACKAGE_PYTHON_SUBPROCESS32
bool "python-subprocess32"
depends on BR2_PACKAGE_PYTHON
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 || !BR2_MIPS_NABI64
help
A backport of the Python 3 subprocess module for use
on Python 2.
https://github.com/google/python-subprocess32
comment "python-subprocess32 needs a toolchain w/ headers >= 3.10 on MIPS N64"
depends on BR2_MIPS_NABI64
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10

View File

@ -1,5 +0,0 @@
# md5, sha256 from https://pypi.org/pypi/subprocess32/json
md5 748844d560be5f0c707931cba1cdb48b subprocess32-3.5.4.tar.gz
sha256 eb2937c80497978d181efa1b839ec2d9622cf9600a039a79d0e108d1f9aec79d subprocess32-3.5.4.tar.gz
# Locally computed sha256 checksums
sha256 826b43437249d39422642f695154d064da64de92eb1476048a615f50bc1beb4a LICENSE

View File

@ -1,31 +0,0 @@
################################################################################
#
# python-subprocess32
#
################################################################################
PYTHON_SUBPROCESS32_VERSION = 3.5.4
PYTHON_SUBPROCESS32_SOURCE = subprocess32-$(PYTHON_SUBPROCESS32_VERSION).tar.gz
PYTHON_SUBPROCESS32_SITE = https://files.pythonhosted.org/packages/32/c8/564be4d12629b912ea431f1a50eb8b3b9d00f1a0b1ceff17f266be190007
PYTHON_SUBPROCESS32_SETUP_TYPE = setuptools
PYTHON_SUBPROCESS32_LICENSE = Python-2.0
PYTHON_SUBPROCESS32_LICENSE_FILES = LICENSE
# The configure step needs to be run outside of the setup.py since it isn't
# run correctly for cross-compiling
define PYTHON_SUBPROCESS32_CONFIGURE_CMDS
(cd $(@D) && \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--exec-prefix=/usr \
--sysconfdir=/etc \
--program-prefix="" \
)
endef
$(eval $(python-package))