package/python-pip: needs python3

python 2 support has been dropped since version 21.0 resulting in the
following build failure since bump to version 21.2.4 in commit
3491f34d9e:

  File "setup.py", line 7
    def read(rel_path: str) -> str:
                     ^

Fixes:
 - http://autobuild.buildroot.org/results/ed74f4ca96332454af329fac23505000c379d4a3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2021-10-15 07:56:43 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent f6ffc2b045
commit 09f1367c30

View File

@ -1,9 +1,8 @@
config BR2_PACKAGE_PYTHON_PIP
bool "python-pip"
select BR2_PACKAGE_PYTHON_HASHLIB if BR2_PACKAGE_PYTHON # runtime
depends on BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime
select BR2_PACKAGE_PYTHON3_SSL
help
The PyPA recommended tool for installing Python packages.