Drop python 2.7
cover Drop python 2.7
Python 2.7 is EOL since April 2020 and almost all packages support python 3, so drop it before the 2022.02 release.
It is a big series, but the changes are mainly mechanical in nature.
There is still some cleanup to do, E.G. the python2 support in pkg-python and the host python-setuptools package - But this is IMHO the minimum changes before -rc1.
Peter Korsgaard (107):
support/testing: drop python2 tests
package/python: drop target package
package/alsa-lib: drop python2 support package/bmap-tools: drop python2 support
package/boost: drop python2 support
package/cifs-utils: drop python2 support package/cracklib: move python support to python3 package/crudini: drop python2 support package/dbus-python: drop python2 support package/docker-compose: drop reference to BR2_PACKAGE_PYTHON package/dstat: drop python2 support
package/evemu: drop python2 support
package/fail2ban: drop python2 support package/glsandbox-player: drop reference to python2 package/gpsd: drop python2 support package/gst1-devtools: drop python2 support package/i2c-tools: drop python2 support
package/iotop: drop python2 support
package/jack2: drop python2 support
package/kmod: drop python2 support
package/libcec: drop python2 support
package/libevent: drop python2 support package/libftdi1: drop python2 support
package/libiio: drop python2 support package/libpwquality: drop python2 support package/libsigrokdecode: drop reference to python2 package/libsoc: drop python2 support package/lttng-libust: drop python2 support package/networkd-dispatcher: drop reference to python2 package/nftables: drop python2 support
package/ogre: drop python2 support
package/opkg-utils: drop reference to python2 package/owfs: drop python support
package/python-aenum: drop python2 support package/python-argon2-cffi: drop python2 support package/python-bsdiff4: drop python2 support package/python-can: drop python2 support package/python-couchdb: drop python2 support package/python-dicttoxml: drop python2 support package/python-dpkt: drop python2 support package/python-esptool: drop python2 support package/python-fire: drop python2 support package/python-flask: drop python2 support package/python-jsonschema: drop python2 support package/python-libconfig: drop python2 support package/python-logbook: drop python2 support package/python-lxml: drop python2 support package/python-m2crypto: drop python2 support package/python-pexpect: drop python2 support package/python-pickleshare: drop python2 support package/python-pymodbus: drop python2 support package/python-pyqrcode: drop python2 support package/python-pyqt5: drop python2 support package/python-pyroute2: drop python2 support package/python-pyudev: drop python2 support package/python-raven: drop python2 support package/python-reentry: drop python2 support package/python-remi: drop python2 support package/python-scapy: drop python2 support package/python-sentry-sdk: drop python2 support package/python-setuptools: drop python2 support package/python-sip: drop python2 support package/python-txtorcon: drop python2 support package/python-typing-extensions: drop python2 support package/python-urllib3: drop python2 support package/python-web2py: drop python2 support package/python-webob: drop python2 support package/python-websocket-client: drop python2 support package/python-werkzeug: drop python2 support package/python-whoosh: drop python2 support package/python-xlrd: drop python2 support package/python-xmltodict: drop python2 support package/python3: drop references to python2 package/ranger: drop python2 support package/selinux-python: drop reference to python2 package/snmpclitools: drop python2 support package/supervisor: drop python2 support package/suricata: drop python2 support package/syslog-ng: drop python2 support
package/tovid: drop python2 support
package/trace-cmd: drop python2 support package/util-linux: drop python2 support
package/zfs: drop python2 support
package/python: drop host package package/python-backports-abc: drop python2 specific package package/python-backports-shutil-get-terminal-size: drop python2
specific package
package/python-backports-ssl-match-hostname: drop python2 specific
package
package/python-futures: drop python2 specific package package/python-id3: drop python2 specific package package/python-ipaddr: drop python2 specific package package/python-ipaddress: drop python2 specific package package/python-mad: drop python2 specific package package/python-nfc: drop python2 specific package package/python-pam: drop python2 specific package package/python-pathlib2: drop python2 specific package package/python-pypcap: drop python2 specific package package/python-pyro: drop python2 specific package package/python-singledispatch: drop python2 specific package package/python-subprocess32: drop python2 specific package package/python-typing: drop python2 specific package package/python-yieldfrom: drop python2 specific package package/python-configobj: drop python2 specific package package/python-dialog: drop python2 specific package package/python-enum: drop python2 specific package package/python-enum34: drop python2 specific package package/python-functools32: drop python2 specific package docs/manual: drop python2 references
Config.in.legacy | 140 ++++++++ DEVELOPERS | 15 - docs/manual/adding-packages-python.txt | 8 - docs/manual/writing-rules.txt | 8 +- package/Config.in | 25 +- package/Config.in.host | 1 - package/alsa-lib/Config.in | 2 +- package/alsa-lib/alsa-lib.mk | 11 +- package/bmap-tools/Config.in | 5 +- package/boost/Config.in | 2 +- package/boost/boost.mk | 11 +- package/cifs-utils/Config.in | 2 +- package/cracklib/cracklib.mk | 7 +- package/crudini/Config.in | 2 +- package/dbus-python/Config.in | 8 +- package/dbus-python/dbus-python.mk | 28 +- package/docker-compose/Config.in | 9 +- package/dstat/Config.in | 10 +- package/evemu/evemu.mk | 4 +- package/fail2ban/Config.in | 2 +- package/fail2ban/fail2ban.mk | 7 +- package/glslsandbox-player/Config.in | 1 - package/gpsd/Config.in | 4 +- package/gpsd/gpsd.mk | 4 - package/gstreamer1/gst1-devtools/Config.in | 6 +- package/i2c-tools/i2c-tools.mk | 8 +- package/iotop/Config.in | 9 +- package/jack2/Config.in | 5 +- package/kmod/kmod.mk | 4 +- package/libcec/libcec.mk | 4 +- package/libevent/libevent.mk | 2 +- package/libftdi1/Config.in | 2 +- package/libftdi1/libftdi1.mk | 2 +- package/libiio/Config.in | 2 +- package/libiio/libiio.mk | 10 +- package/libpwquality/libpwquality.mk | 4 +- package/libsigrokdecode/Config.in | 6 - package/libsoc/libsoc.mk | 6 +- package/lttng-libust/lttng-libust.mk | 5 +- package/networkd-dispatcher/Config.in | 2 - package/nftables/nftables.mk | 4 +- package/ogre/ogre.mk | 5 +- package/opkg-utils/Config.in | 6 - package/owfs/owfs.mk | 24 +- package/python-aenum/python-aenum.mk | 9 - package/python-argon2-cffi/Config.in | 1 - package/python-backports-abc/Config.in | 8 - .../python-backports-abc.hash | 5 - .../python-backports-abc.mk | 14 - .../Config.in | 8 - ...on-backports-shutil-get-terminal-size.hash | 5 - ...thon-backports-shutil-get-terminal-size.mk | 14 - .../Config.in | 7 - .../python-backports-ssl-match-hostname.hash | 5 - .../python-backports-ssl-match-hostname.mk | 14 - package/python-bsdiff4/Config.in | 3 +- package/python-can/Config.in | 7 +- package/python-configobj/Config.in | 10 - .../python-configobj/python-configobj.hash | 3 - package/python-configobj/python-configobj.mk | 14 - package/python-couchdb/Config.in | 3 +- package/python-dialog/Config.in | 10 - package/python-dialog/python-dialog.hash | 5 - package/python-dialog/python-dialog.mk | 15 - package/python-dicttoxml/Config.in | 3 +- package/python-dpkt/Config.in | 3 +- package/python-enum/Config.in | 12 - package/python-enum/python-enum.hash | 5 - package/python-enum/python-enum.mk | 14 - package/python-enum34/Config.in | 12 - package/python-enum34/python-enum34.hash | 5 - package/python-enum34/python-enum34.mk | 17 - package/python-esptool/Config.in | 3 +- package/python-fire/Config.in | 1 - package/python-fire/python-fire.mk | 9 - package/python-flask/Config.in | 7 +- package/python-functools32/Config.in | 8 - .../python-functools32.hash | 4 - .../python-functools32/python-functools32.mk | 14 - package/python-futures/Config.in | 7 - package/python-futures/python-futures.hash | 5 - package/python-futures/python-futures.mk | 14 - package/python-id3/Config.in | 9 - package/python-id3/python-id3.hash | 3 - package/python-id3/python-id3.mk | 14 - package/python-ipaddr/Config.in | 9 - package/python-ipaddr/python-ipaddr.hash | 5 - package/python-ipaddr/python-ipaddr.mk | 14 - package/python-ipaddress/Config.in | 7 - .../python-ipaddress/python-ipaddress.hash | 5 - package/python-ipaddress/python-ipaddress.mk | 14 - package/python-jsonschema/Config.in | 1 - package/python-libconfig/python-libconfig.mk | 8 +- package/python-logbook/Config.in | 3 +- package/python-lxml/Config.in | 3 +- package/python-m2crypto/Config.in | 7 +- package/python-mad/Config.in | 9 - package/python-mad/python-mad.hash | 3 - package/python-mad/python-mad.mk | 29 -- package/python-nfc/Config.in | 16 - package/python-nfc/python-nfc.hash | 3 - package/python-nfc/python-nfc.mk | 14 - package/python-pam/0001-dealloc.patch | 25 -- package/python-pam/0002-nofree.patch | 68 ---- .../0003-memory-errors-CVE2012-1502.patch | 136 -------- package/python-pam/Config.in | 16 - package/python-pam/python-pam.hash | 3 - package/python-pam/python-pam.mk | 16 - package/python-pathlib2/Config.in | 13 - package/python-pathlib2/python-pathlib2.hash | 5 - package/python-pathlib2/python-pathlib2.mk | 14 - package/python-pexpect/python-pexpect.mk | 10 - package/python-pickleshare/Config.in | 1 - package/python-pymodbus/python-pymodbus.mk | 9 - package/python-pypcap/Config.in | 9 - package/python-pypcap/python-pypcap.hash | 3 - package/python-pypcap/python-pypcap.mk | 21 -- package/python-pyqrcode/Config.in | 6 +- package/python-pyqt5/python-pyqt5.mk | 14 +- package/python-pyro/Config.in | 10 - package/python-pyro/python-pyro.hash | 5 - package/python-pyro/python-pyro.mk | 16 - package/python-pyroute2/Config.in | 3 +- package/python-pyudev/Config.in | 3 +- package/python-raven/Config.in | 9 +- package/python-reentry/Config.in | 1 - package/python-remi/Config.in | 3 +- package/python-scapy/Config.in | 3 +- .../python-sentry-sdk/python-sentry-sdk.mk | 10 - package/python-setuptools/Config.in | 6 +- .../python-setuptools/python-setuptools.mk | 16 - package/python-singledispatch/Config.in | 9 - .../python-singledispatch.hash | 5 - .../python-singledispatch.mk | 14 - package/python-sip/python-sip.mk | 19 +- package/python-subprocess32/Config.in | 13 - .../python-subprocess32.hash | 5 - .../python-subprocess32.mk | 31 -- package/python-txtorcon/python-txtorcon.mk | 9 - package/python-typing-extensions/Config.in | 1 - package/python-typing/Config.in | 8 - package/python-typing/python-typing.hash | 5 - package/python-typing/python-typing.mk | 15 - package/python-urllib3/Config.in | 3 +- package/python-web2py/Config.in | 9 +- package/python-webob/Config.in | 4 +- package/python-websocket-client/Config.in | 3 +- package/python-werkzeug/Config.in | 3 +- package/python-whoosh/Config.in | 3 +- package/python-xlrd/Config.in | 6 +- package/python-xmltodict/Config.in | 3 +- package/python-yieldfrom/Config.in | 8 - .../python-yieldfrom/python-yieldfrom.hash | 5 - package/python-yieldfrom/python-yieldfrom.mk | 15 - ...-do-not-add-invalid-header-locations.patch | 42 --- ...get_python_inc-for-cross-compilation.patch | 48 --- ...nstall-location-of-_sysconfigdata.py.patch | 88 ----- ...ilation-of-.pyc-and-.pyo-conditional.patch | 78 ----- ...taddrinfo-test-for-cross-compilation.patch | 31 -- ...astructure-to-be-able-to-disable-ext.patch | 81 ----- ...y-header-paths-for-cross-compilation.patch | 64 ---- ...ook-in-usr-lib-termcap-for-libraries.patch | 31 -- ...9-Fix-python-config-for-cross-builds.patch | 229 ------------- ...ove-the-python-symlink-install-rules.patch | 43 --- .../0011-Don-t-add-multiarch-paths.patch | 36 --- .../0012-Abort-on-failed-module-build.patch | 30 -- ...d-when-threads-are-not-used-availabl.patch | 58 ---- .../python/0014-Serial-ioctl-workaround.patch | 33 -- ...e-shebang-of-Python-scripts-for-cros.patch | 35 -- ...-disable-installation-of-test-module.patch | 105 ------ .../0017-Add-an-option-to-disable-pydoc.patch | 89 ------ ...018-Add-an-option-to-disable-lib2to3.patch | 92 ------ ...option-to-disable-the-sqlite3-module.patch | 69 ---- ...d-an-option-to-disable-the-tk-module.patch | 73 ----- ...-option-to-disable-the-curses-module.patch | 61 ---- .../0022-Add-an-option-to-disable-expat.patch | 92 ------ ...-Add-an-option-to-disable-CJK-codecs.patch | 32 -- .../0024-Add-an-option-to-disable-NIS.patch | 35 -- ...Add-an-option-to-disable-unicodedata.patch | 32 -- .../0026-Add-an-option-to-disable-bsddb.patch | 87 ----- ...-an-option-to-disable-the-ssl-module.patch | 32 -- ...-an-option-to-disable-the-bz2-module.patch | 32 -- ...an-option-to-disable-the-zlib-module.patch | 32 -- .../0030-Do-not-install-the-idle-editor.patch | 55 ---- ...on-to-disable-the-ossaudiodev-module.patch | 32 -- ...option-to-disable-the-hashlib-module.patch | 32 -- ...an-option-to-disable-readline-module.patch | 32 -- ...locale-and-set-to-default-when-addin.patch | 37 --- package/python/Config.in | 139 -------- package/python/Config.in.host | 16 - package/python/python.hash | 5 - package/python/python.mk | 302 ------------------ package/python3/Config.in | 1 - package/python3/python3.mk | 2 - package/ranger/Config.in | 5 +- package/selinux-python/Config.in | 5 - package/snmpclitools/Config.in | 2 +- package/supervisor/Config.in | 3 +- package/suricata/suricata.mk | 4 +- package/syslog-ng/syslog-ng.mk | 7 +- package/tovid/Config.in | 6 +- package/trace-cmd/trace-cmd.mk | 5 +- package/util-linux/util-linux.mk | 4 +- package/zfs/zfs.mk | 12 +- .../package/sample_python_subprocess32.py | 6 - .../testing/tests/package/test_bmap_tools.py | 8 - support/testing/tests/package/test_crudini.py | 8 - .../testing/tests/package/test_libftdi1.py | 12 - support/testing/tests/package/test_python.py | 14 - .../testing/tests/package/test_python_argh.py | 9 - .../tests/package/test_python_bitstring.py | 10 - .../testing/tests/package/test_python_can.py | 11 - .../testing/tests/package/test_python_cbor.py | 11 - .../tests/package/test_python_click.py | 9 - .../tests/package/test_python_constantly.py | 10 - .../tests/package/test_python_gnupg.py | 10 - .../tests/package/test_python_incremental.py | 11 - .../tests/package/test_python_passlib.py | 11 - .../tests/package/test_python_pexpect.py | 10 - .../tests/package/test_python_pynacl.py | 11 - .../tests/package/test_python_pyyaml.py | 11 - .../tests/package/test_python_subprocess32.py | 11 - .../tests/package/test_python_ubjson.py | 11 - 223 files changed, 270 insertions(+), 3981 deletions(-) delete mode 100644 package/python-backports-abc/Config.in delete mode 100644 package/python-backports-abc/python-backports-abc.hash delete mode 100644 package/python-backports-abc/python-backports-abc.mk delete mode 100644 package/python-backports-shutil-get-terminal-size/Config.in delete mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash delete mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk delete mode 100644 package/python-backports-ssl-match-hostname/Config.in delete mode 100644 package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.hash delete mode 100644 package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.mk delete mode 100644 package/python-configobj/Config.in delete mode 100644 package/python-configobj/python-configobj.hash delete mode 100644 package/python-configobj/python-configobj.mk delete mode 100644 package/python-dialog/Config.in delete mode 100644 package/python-dialog/python-dialog.hash delete mode 100644 package/python-dialog/python-dialog.mk delete mode 100644 package/python-enum/Config.in delete mode 100644 package/python-enum/python-enum.hash delete mode 100644 package/python-enum/python-enum.mk delete mode 100644 package/python-enum34/Config.in delete mode 100644 package/python-enum34/python-enum34.hash delete mode 100644 package/python-enum34/python-enum34.mk delete mode 100644 package/python-functools32/Config.in delete mode 100644 package/python-functools32/python-functools32.hash delete mode 100644 package/python-functools32/python-functools32.mk delete mode 100644 package/python-futures/Config.in delete mode 100644 package/python-futures/python-futures.hash delete mode 100644 package/python-futures/python-futures.mk delete mode 100644 package/python-id3/Config.in delete mode 100644 package/python-id3/python-id3.hash delete mode 100644 package/python-id3/python-id3.mk delete mode 100644 package/python-ipaddr/Config.in delete mode 100644 package/python-ipaddr/python-ipaddr.hash delete mode 100644 package/python-ipaddr/python-ipaddr.mk delete mode 100644 package/python-ipaddress/Config.in delete mode 100644 package/python-ipaddress/python-ipaddress.hash delete mode 100644 package/python-ipaddress/python-ipaddress.mk delete mode 100644 package/python-mad/Config.in delete mode 100644 package/python-mad/python-mad.hash delete mode 100644 package/python-mad/python-mad.mk delete mode 100644 package/python-nfc/Config.in delete mode 100644 package/python-nfc/python-nfc.hash delete mode 100644 package/python-nfc/python-nfc.mk delete mode 100644 package/python-pam/0001-dealloc.patch delete mode 100644 package/python-pam/0002-nofree.patch delete mode 100644 package/python-pam/0003-memory-errors-CVE2012-1502.patch delete mode 100644 package/python-pam/Config.in delete mode 100644 package/python-pam/python-pam.hash delete mode 100644 package/python-pam/python-pam.mk delete mode 100644 package/python-pathlib2/Config.in delete mode 100644 package/python-pathlib2/python-pathlib2.hash delete mode 100644 package/python-pathlib2/python-pathlib2.mk delete mode 100644 package/python-pypcap/Config.in delete mode 100644 package/python-pypcap/python-pypcap.hash delete mode 100644 package/python-pypcap/python-pypcap.mk delete mode 100644 package/python-pyro/Config.in delete mode 100644 package/python-pyro/python-pyro.hash delete mode 100644 package/python-pyro/python-pyro.mk delete mode 100644 package/python-singledispatch/Config.in delete mode 100644 package/python-singledispatch/python-singledispatch.hash delete mode 100644 package/python-singledispatch/python-singledispatch.mk delete mode 100644 package/python-subprocess32/Config.in delete mode 100644 package/python-subprocess32/python-subprocess32.hash delete mode 100644 package/python-subprocess32/python-subprocess32.mk delete mode 100644 package/python-typing/Config.in delete mode 100644 package/python-typing/python-typing.hash delete mode 100644 package/python-typing/python-typing.mk delete mode 100644 package/python-yieldfrom/Config.in delete mode 100644 package/python-yieldfrom/python-yieldfrom.hash delete mode 100644 package/python-yieldfrom/python-yieldfrom.mk delete mode 100644 package/python/0001-setup.py-do-not-add-invalid-header-locations.patch delete mode 100644 package/python/0002-Fix-get_python_inc-for-cross-compilation.patch delete mode 100644 package/python/0003-Change-the-install-location-of-_sysconfigdata.py.patch delete mode 100644 package/python/0004-Make-the-compilation-of-.pyc-and-.pyo-conditional.patch delete mode 100644 package/python/0005-Adjust-getaddrinfo-test-for-cross-compilation.patch delete mode 100644 package/python/0006-Add-minimal-infrastructure-to-be-able-to-disable-ext.patch delete mode 100644 package/python/0007-Adjust-library-header-paths-for-cross-compilation.patch delete mode 100644 package/python/0008-Don-t-look-in-usr-lib-termcap-for-libraries.patch delete mode 100644 package/python/0009-Fix-python-config-for-cross-builds.patch delete mode 100644 package/python/0010-Remove-the-python-symlink-install-rules.patch delete mode 100644 package/python/0011-Don-t-add-multiarch-paths.patch delete mode 100644 package/python/0012-Abort-on-failed-module-build.patch delete mode 100644 package/python/0013-sqlite3-fix-build-when-threads-are-not-used-availabl.patch delete mode 100644 package/python/0014-Serial-ioctl-workaround.patch delete mode 100644 package/python/0015-Do-not-adjust-the-shebang-of-Python-scripts-for-cros.patch delete mode 100644 package/python/0016-Add-an-option-to-disable-installation-of-test-module.patch delete mode 100644 package/python/0017-Add-an-option-to-disable-pydoc.patch delete mode 100644 package/python/0018-Add-an-option-to-disable-lib2to3.patch delete mode 100644 package/python/0019-Add-option-to-disable-the-sqlite3-module.patch delete mode 100644 package/python/0020-Add-an-option-to-disable-the-tk-module.patch delete mode 100644 package/python/0021-Add-an-option-to-disable-the-curses-module.patch delete mode 100644 package/python/0022-Add-an-option-to-disable-expat.patch delete mode 100644 package/python/0023-Add-an-option-to-disable-CJK-codecs.patch delete mode 100644 package/python/0024-Add-an-option-to-disable-NIS.patch delete mode 100644 package/python/0025-Add-an-option-to-disable-unicodedata.patch delete mode 100644 package/python/0026-Add-an-option-to-disable-bsddb.patch delete mode 100644 package/python/0027-Add-an-option-to-disable-the-ssl-module.patch delete mode 100644 package/python/0028-Add-an-option-to-disable-the-bz2-module.patch delete mode 100644 package/python/0029-Add-an-option-to-disable-the-zlib-module.patch delete mode 100644 package/python/0030-Do-not-install-the-idle-editor.patch delete mode 100644 package/python/0031-Add-an-option-to-disable-the-ossaudiodev-module.patch delete mode 100644 package/python/0032-Add-option-to-disable-the-hashlib-module.patch delete mode 100644 package/python/0033-Add-an-option-to-disable-readline-module.patch delete mode 100644 package/python/0034-Override-system-locale-and-set-to-default-when-addin.patch delete mode 100644 package/python/Config.in delete mode 100644 package/python/Config.in.host delete mode 100644 package/python/python.hash delete mode 100644 package/python/python.mk delete mode 100644 support/testing/tests/package/sample_python_subprocess32.py delete mode 100644 support/testing/tests/package/test_python_subprocess32.py
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 1/107 support/testing: drop python2 tests
Python2 for the target is about to get removed, so drop the tests using it.
--- .../tests/package/sample_python_subprocess32.py | 6 ------ support/testing/tests/package/test_bmap_tools.py | 8 -------- support/testing/tests/package/test_crudini.py | 8 -------- support/testing/tests/package/test_libftdi1.py | 12 ------------ support/testing/tests/package/test_python.py | 14 -------------- support/testing/tests/package/test_python_argh.py | 9 --------- .../testing/tests/package/test_python_bitstring.py | 10 ---------- support/testing/tests/package/test_python_can.py | 11 ----------- support/testing/tests/package/test_python_cbor.py | 11 ----------- support/testing/tests/package/test_python_click.py | 9 --------- .../tests/package/test_python_constantly.py | 10 ---------- support/testing/tests/package/test_python_gnupg.py | 10 ---------- .../tests/package/test_python_incremental.py | 11 ----------- .../testing/tests/package/test_python_passlib.py | 11 ----------- .../testing/tests/package/test_python_pexpect.py | 10 ---------- .../testing/tests/package/test_python_pynacl.py | 11 ----------- .../testing/tests/package/test_python_pyyaml.py | 11 ----------- .../tests/package/test_python_subprocess32.py | 11 ----------- .../testing/tests/package/test_python_ubjson.py | 11 ----------- 19 files changed, 194 deletions(-) delete mode 100644 support/testing/tests/package/sample_python_subprocess32.py delete mode 100644 support/testing/tests/package/test_python_subprocess32.py
support/testing/tests/package/sample_python_subprocess32.py deleted +0 -6
@@ -1,6 +0,0 @@ -import subprocess32 - -output = subprocess32.check_output(["ls", "-l", "/dev/null"]) -print(output) -assert("/dev/null" in output) -assert("No such" not in output)
support/testing/tests/package/test_bmap_tools.py +0 -8
@@ -45,14 +45,6 @@ class TestBmapTools(BRTest): self.assertRunOk(cmd, timeout=20) -class TestPy2BmapTools(TestBmapTools): - __test__ = True - config = TestBmapTools.config + \ - """ - BR2_PACKAGE_PYTHON=y - """ - - class TestPy3BmapTools(TestBmapTools): __test__ = True config = TestBmapTools.config + \
support/testing/tests/package/test_crudini.py +0 -8
@@ -33,14 +33,6 @@ class TestCrudiniBase(TestPythonPackageBase): self.assertEqual(out, ['this-is-the-magic-value']) -class TestCrudiniPy2(TestCrudiniBase): - __test__ = True - config = TestCrudiniBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - """ - - class TestCrudiniPy3(TestCrudiniBase): __test__ = True config = TestCrudiniBase.config + \
support/testing/tests/package/test_libftdi1.py +0 -12
@@ -1,18 +1,6 @@ from tests.package.test_python import TestPythonPackageBase -class TestPythonPy2Libftdi1(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_LIBFTDI1=y - BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS=y - """ - sample_scripts = ["tests/package/sample_libftdi1.py"] - timeout = 40 - - class TestPythonPy3Libftdi1(TestPythonPackageBase): __test__ = True config = TestPythonPackageBase.config + \
support/testing/tests/package/test_python.py +0 -14
@@ -39,20 +39,6 @@ class TestPythonBase(infra.basetest.BRTest): self.assertEqual(exit_code, 1) -class TestPython2(TestPythonBase): - config = TestPythonBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - """ - - def test_run(self): - self.login() - self.version_test("Python 2") - self.math_floor_test() - self.libc_time_test() - self.zlib_test() - - class TestPython3(TestPythonBase): config = TestPythonBase.config + \ """
support/testing/tests/package/test_python_argh.py +0 -9
@@ -27,15 +27,6 @@ class TestPythonArgh(TestPythonPackageBase): self.assertEqual(exit_code, 2) -class TestPythonPy2Argh(TestPythonArgh): - __test__ = True - config = TestPythonArgh.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_ARGH=y - """ - - class TestPythonPy3Argh(TestPythonArgh): __test__ = True config = TestPythonArgh.config + \
support/testing/tests/package/test_python_bitstring.py +0 -10
@@ -1,16 +1,6 @@ from tests.package.test_python import TestPythonPackageBase -class TestPythonPy2Bitstring(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_BITSTRING=y - """ - sample_scripts = ["tests/package/sample_python_bitstring.py"] - - class TestPythonPy3Bitstring(TestPythonPackageBase): __test__ = True config = TestPythonPackageBase.config + \
support/testing/tests/package/test_python_can.py +0 -11
@@ -1,17 +1,6 @@ from tests.package.test_python import TestPythonPackageBase -class TestPythonPy2Can(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_CAN=y - """ - sample_scripts = ["tests/package/sample_python_can.py"] - timeout = 40 - - class TestPythonPy3Can(TestPythonPackageBase): __test__ = True config = TestPythonPackageBase.config + \
support/testing/tests/package/test_python_cbor.py +0 -11
@@ -1,17 +1,6 @@ from tests.package.test_python import TestPythonPackageBase -class TestPythonPy2Cbor(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_CBOR=y - """ - sample_scripts = ["tests/package/sample_python_cbor_enc.py", - "tests/package/sample_python_cbor_dec.py"] - - class TestPythonPy3Cbor(TestPythonPackageBase): __test__ = True config = TestPythonPackageBase.config + \
support/testing/tests/package/test_python_click.py +0 -9
@@ -26,15 +26,6 @@ class TestPythonClick(TestPythonPackageBase): self.assertEqual(exit_code, 2) -class TestPythonPy2Click(TestPythonClick): - __test__ = True - config = TestPythonClick.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_CLICK=y - """ - - class TestPythonPy3Click(TestPythonClick): __test__ = True config = TestPythonClick.config + \
support/testing/tests/package/test_python_constantly.py +0 -10
@@ -1,16 +1,6 @@ from tests.package.test_python import TestPythonPackageBase -class TestPythonPy2Constantly(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_CONSTANTLY=y - """ - sample_scripts = ["tests/package/sample_python_constantly.py"] - - class TestPythonPy3Constantly(TestPythonPackageBase): __test__ = True config = TestPythonPackageBase.config + \
support/testing/tests/package/test_python_gnupg.py +0 -10
@@ -1,16 +1,6 @@ from tests.package.test_python import TestPythonPackageBase -class TestPythonPy2GnuPG(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_GNUPG=y - """ - sample_scripts = ["tests/package/sample_python_gnupg.py"] - - class TestPythonPy3GnuPG(TestPythonPackageBase): __test__ = True config = TestPythonPackageBase.config + \
support/testing/tests/package/test_python_incremental.py +0 -11
@@ -1,17 +1,6 @@ from tests.package.test_python import TestPythonPackageBase -class TestPythonPy2Incremental(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_INCREMENTAL=y - """ - sample_scripts = ["tests/package/sample_python_incremental.py"] - timeout = 30 - - class TestPythonPy3Incremental(TestPythonPackageBase): __test__ = True config = TestPythonPackageBase.config + \
support/testing/tests/package/test_python_passlib.py +0 -11
@@ -1,17 +1,6 @@ from tests.package.test_python import TestPythonPackageBase -class TestPythonPy2Passlib(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_PASSLIB=y - """ - sample_scripts = ["tests/package/sample_python_passlib.py"] - timeout = 30 - - class TestPythonPy3Passlib(TestPythonPackageBase): __test__ = True config = TestPythonPackageBase.config + \
support/testing/tests/package/test_python_pexpect.py +0 -10
@@ -1,16 +1,6 @@ from tests.package.test_python import TestPythonPackageBase -class TestPythonPy2Pexpect(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_PEXPECT=y - """ - sample_scripts = ["tests/package/sample_python_pexpect.py"] - - class TestPythonPy3Pexpect(TestPythonPackageBase): __test__ = True config = TestPythonPackageBase.config + \
support/testing/tests/package/test_python_pynacl.py +0 -11
@@ -1,17 +1,6 @@ from tests.package.test_python import TestPythonPackageBase -class TestPythonPy2Pynacl(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_PYNACL=y - """ - sample_scripts = ["tests/package/sample_python_pynacl.py"] - timeout = 10 - - class TestPythonPy3Pynacl(TestPythonPackageBase): __test__ = True config = TestPythonPackageBase.config + \
support/testing/tests/package/test_python_pyyaml.py +0 -11
@@ -1,17 +1,6 @@ from tests.package.test_python import TestPythonPackageBase -class TestPythonPy2Pyyaml(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_PYYAML=y - """ - sample_scripts = ["tests/package/sample_python_pyyaml_enc.py", - "tests/package/sample_python_pyyaml_dec.py"] - - class TestPythonPy3Pyyaml(TestPythonPackageBase): __test__ = True config = TestPythonPackageBase.config + \
support/testing/tests/package/test_python_subprocess32.py deleted +0 -11
@@ -1,11 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Subprocess32(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_SUBPROCESS32=y - """ - sample_scripts = ["tests/package/sample_python_subprocess32.py"]
support/testing/tests/package/test_python_ubjson.py +0 -11
@@ -1,17 +1,6 @@ from tests.package.test_python import TestPythonPackageBase -class TestPythonPy2Ubjson(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_UBJSON=y - """ - sample_scripts = ["tests/package/sample_python_ubjson_enc.py", - "tests/package/sample_python_ubjson_dec.py"] - - class TestPythonPy3Ubjson(TestPythonPackageBase): __test__ = True config = TestPythonPackageBase.config + \
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/107 package/python: drop target package
In reply to Peter KorsgaardPython 2.7 is EOL since April 2020, so drop support for the target package.
https://www.python.org/dev/peps/pep-0373/
--- Config.in.legacy | 8 +++ package/Config.in | 3 +- package/python/Config.in | 139 --------------------------------------- 3 files changed, 9 insertions(+), 141 deletions(-) delete mode 100644 package/python/Config.in
Config.in.legacy +8 -0
@@ -146,6 +146,14 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON + bool "python2.7 package removed" + select BR2_LEGACY + help + Python 2.7 is EOL since April 2020 and has been removed. + + https://www.python.org/dev/peps/pep-0373/ + config BR2_TARGET_UBOOT_ZYNQ_IMAGE bool "Generate image for Xilinx Zynq" select BR2_LEGACY
package/Config.in +1 -2
@@ -897,9 +897,8 @@ if BR2_STATIC_LIBS comment "External PHP extensions need a toolchain w/ dynamic library" endif endif - source "package/python/Config.in" source "package/python3/Config.in" -if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 +if BR2_PACKAGE_PYTHON3 menu "External python modules" source "package/python-aenum/Config.in" source "package/python-aexpect/Config.in"
package/python/Config.in deleted +0 -139
139 lines not on this page · raw message
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/107 package/alsa-lib: drop python2 support
In reply to Peter Korsgaard--- package/alsa-lib/Config.in | 2 +- package/alsa-lib/alsa-lib.mk | 11 +---------- 2 files changed, 2 insertions(+), 11 deletions(-)
package/alsa-lib/Config.in +1 -1
@@ -22,7 +22,7 @@ if BR2_PACKAGE_ALSA_LIB config BR2_PACKAGE_ALSA_LIB_PYTHON bool "Python support for alsa-lib" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON3 help Add python support for alsa-lib. Python will be built and libpython will be installed
package/alsa-lib/alsa-lib.mk +1 -10
@@ -61,20 +61,11 @@ endif ifeq ($(BR2_PACKAGE_ALSA_LIB_PYTHON),y) ALSA_LIB_CONF_OPTS += \ - --enable-mixer-pymods -ifeq ($(BR2_PACKAGE_PYTHON),y) -ALSA_LIB_CONF_OPTS += \ - --with-pythonlibs=-lpython$(PYTHON_VERSION_MAJOR) \ - --with-pythonincludes=$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR) -ALSA_LIB_CFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR) -ALSA_LIB_DEPENDENCIES += python -else -ALSA_LIB_CONF_OPTS += \ + --enable-mixer-pymods \ --with-pythonlibs=-lpython$(PYTHON3_VERSION_MAJOR) \ --with-pythonincludes=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) ALSA_LIB_CFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) ALSA_LIB_DEPENDENCIES += python3 -endif else ALSA_LIB_CONF_OPTS += --disable-python endif
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 4/107 package/bmap-tools: drop python2 support
In reply to Peter Korsgaard--- package/bmap-tools/Config.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
package/bmap-tools/Config.in +2 -3
@@ -1,8 +1,7 @@ config BR2_PACKAGE_BMAP_TOOLS bool "bmap-tools" - depends on BR2_PACKAGE_PYTHON3 || BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime, pkg_resources select BR2_PACKAGE_PYTHON_SIX # runtime help
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 5/107 package/boost: drop python2 support
In reply to Peter Korsgaard--- package/boost/Config.in | 2 +- package/boost/boost.mk | 11 +++-------- 2 files changed, 4 insertions(+), 9 deletions(-)
package/boost/Config.in +1 -1
@@ -296,7 +296,7 @@ config BR2_PACKAGE_BOOST_PROGRAM_OPTIONS config BR2_PACKAGE_BOOST_PYTHON bool "boost-python" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON3 help The Boost Python Library is a framework for interfacing Python and C++. It allows you to quickly and seamlessly expose C++
package/boost/boost.mk +3 -8
@@ -68,16 +68,11 @@ BOOST_DEPENDENCIES += bzip2 zlib endif ifeq ($(BR2_PACKAGE_BOOST_PYTHON),y) -BOOST_FLAGS += --with-python-root=$(HOST_DIR) -ifeq ($(BR2_PACKAGE_PYTHON3),y) -BOOST_FLAGS += --with-python=$(HOST_DIR)/bin/python$(PYTHON3_VERSION_MAJOR) +BOOST_FLAGS += \ + --with-python-root=$(HOST_DIR) \ + --with-python=$(HOST_DIR)/bin/python$(PYTHON3_VERSION_MAJOR) BOOST_TARGET_CXXFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) BOOST_DEPENDENCIES += python3 -else -BOOST_FLAGS += --with-python=$(HOST_DIR)/bin/python$(PYTHON_VERSION_MAJOR) -BOOST_TARGET_CXXFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR) -BOOST_DEPENDENCIES += python -endif endif HOST_BOOST_OPTS += --no-cmake-config toolset=gcc threading=multi \
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 6/107 package/cifs-utils: drop python2 support
In reply to Peter Korsgaard--- package/cifs-utils/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/cifs-utils/Config.in +1 -1
@@ -21,7 +21,7 @@ config BR2_PACKAGE_CIFS_UTILS_SMBTOOLS depends on BR2_USE_WCHAR # python3 depends on BR2_TOOLCHAIN_HAS_THREADS # python3 depends on !BR2_STATIC_LIBS # python3 - select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON # runtime + select BR2_PACKAGE_PYTHON3 # runtime help Install the smb tools smbinfo and smb2-quota (python implementations).
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 7/107 package/cracklib: move python support to python3
In reply to Peter KorsgaardThe configure script needs a bit of help to detect the python version.
--- package/cracklib/cracklib.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
package/cracklib/cracklib.mk +5 -2
@@ -20,9 +20,12 @@ else CRACKLIB_CONF_OPTS += --without-zlib endif -ifeq ($(BR2_PACKAGE_PYTHON),y) +ifeq ($(BR2_PACKAGE_PYTHON3),y) CRACKLIB_CONF_OPTS += --with-python -CRACKLIB_DEPENDENCIES += python +CRACKLIB_CONF_ENV += \ + ac_cv_path_PYTHON=$(HOST_DIR)/bin/python3 \ + am_cv_python_version=$(PYTHON3_VERSION_MAJOR) +CRACKLIB_DEPENDENCIES += python3 else CRACKLIB_CONF_OPTS += --without-python endif
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 8/107 package/crudini: drop python2 support
In reply to Peter Korsgaard--- package/crudini/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/crudini/Config.in +1 -1
@@ -1,6 +1,6 @@ config BR2_PACKAGE_CRUDINI bool "crudini" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_PYTHON_INIPARSE # runtime help A utility for handling ini files from the command line and
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 9/107 package/dbus-python: drop python2 support
In reply to Peter Korsgaard--- package/dbus-python/Config.in | 8 +++----- package/dbus-python/dbus-python.mk | 28 ++++------------------------ 2 files changed, 7 insertions(+), 29 deletions(-)
package/dbus-python/Config.in +3 -5
@@ -3,16 +3,14 @@ config BR2_PACKAGE_DBUS_PYTHON depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 depends on BR2_PACKAGE_DBUS - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_LIBGLIB2 - # pyexpat: runtime dependency only - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime help Python bindings for D-Bus http://dbus.freedesktop.org/doc/dbus-python/ comment "dbus-python needs a toolchain w/ wchar, threads" - depends on BR2_PACKAGE_DBUS && (BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3) + depends on BR2_PACKAGE_DBUS && BR2_PACKAGE_PYTHON3 depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/dbus-python/dbus-python.mk +4 -24
@@ -9,40 +9,20 @@ DBUS_PYTHON_SITE = http://dbus.freedesktop.org/releases/dbus-python DBUS_PYTHON_INSTALL_STAGING = YES DBUS_PYTHON_LICENSE = MIT (dbus-python), AFL-2.1 or GPL-2.0+ (dbus-gmain) DBUS_PYTHON_LICENSE_FILES = COPYING dbus-gmain/COPYING -DBUS_PYTHON_DEPENDENCIES = dbus libglib2 -HOST_DBUS_PYTHON_DEPENDENCIES = host-dbus host-libglib2 +DBUS_PYTHON_DEPENDENCIES = dbus libglib2 python3 host-python3 +HOST_DBUS_PYTHON_DEPENDENCIES = host-dbus host-libglib2 host-python3 -ifeq ($(BR2_PACKAGE_PYTHON),y) -DBUS_PYTHON_DEPENDENCIES += python host-python - -DBUS_PYTHON_CONF_ENV += \ - PYTHON=$(HOST_DIR)/bin/python2 \ - PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python2-config --includes`" \ - PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python2-config --ldflags`" - -HOST_DBUS_PYTHON_DEPENDENCIES += host-python - -HOST_DBUS_PYTHON_CONF_ENV += \ - PYTHON=$(HOST_DIR)/bin/python2 \ - PYTHON_INCLUDES="`$(HOST_DIR)/usr/bin/python2-config --includes`" \ - PYTHON_LIBS="`$(HOST_DIR)/usr/bin/python2-config --ldflags`" -else -DBUS_PYTHON_DEPENDENCIES += python3 host-python3 - -DBUS_PYTHON_CONF_ENV += \ +DBUS_PYTHON_CONF_ENV = \ PYTHON=$(HOST_DIR)/bin/python3 \ PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python3-config --includes`" \ PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --ldflags`" \ PYTHON_EXTRA_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --libs --embed`" -HOST_DBUS_PYTHON_DEPENDENCIES += host-python3 - -HOST_DBUS_PYTHON_CONF_ENV += \ +HOST_DBUS_PYTHON_CONF_ENV = \ PYTHON=$(HOST_DIR)/bin/python3 \ PYTHON_INCLUDES="`$(HOST_DIR)/usr/bin/python3-config --includes`" \ PYTHON_LIBS="`$(HOST_DIR)/usr/bin/python3-config --ldflags`" \ PYTHON_EXTRA_LIBS="`$(HOST_DIR)/usr/bin/python3-config --libs --embed`" -endif $(eval $(autotools-package)) $(eval $(host-autotools-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 10/107 package/docker-compose: drop reference to BR2_PACKAGE_PYTHON
In reply to Peter KorsgaardAnd adjust the comments to clarify that the toolchain dependencies are from python3.
--- package/docker-compose/Config.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
package/docker-compose/Config.in +4 -5
@@ -1,10 +1,9 @@ config BR2_PACKAGE_DOCKER_COMPOSE bool "docker-compose" - depends on !BR2_PACKAGE_PYTHON # python-paramiko -> python-bcrypt - depends on BR2_USE_MMU # python - depends on BR2_USE_WCHAR # python - depends on BR2_TOOLCHAIN_HAS_THREADS # python - depends on !BR2_STATIC_LIBS # python + depends on BR2_USE_MMU # python3 + depends on BR2_USE_WCHAR # python3 + depends on BR2_TOOLCHAIN_HAS_THREADS # python3 + depends on !BR2_STATIC_LIBS # python3 # python-paramiko -> python-cryptography depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS select BR2_PACKAGE_PYTHON3
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 11/107 package/dstat: drop python2 support
In reply to Peter Korsgaard--- package/dstat/Config.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
package/dstat/Config.in +5 -5
@@ -1,10 +1,10 @@ config BR2_PACKAGE_DSTAT bool "dstat" - depends on BR2_USE_WCHAR # python - depends on BR2_USE_MMU # python - depends on BR2_TOOLCHAIN_HAS_THREADS # python - depends on !BR2_STATIC_LIBS # python - select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON + depends on BR2_USE_WCHAR # python3 + depends on BR2_USE_MMU # python3 + depends on BR2_TOOLCHAIN_HAS_THREADS # python3 + depends on !BR2_STATIC_LIBS # python3 + select BR2_PACKAGE_PYTHON3 # runtime help Dstat, written in Python, is a versatile replacement for vmstat, iostat, netstat and ifstat. Dstat overcomes some of
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 12/107 package/evemu: drop python2 support
In reply to Peter Korsgaard--- package/evemu/evemu.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/evemu/evemu.mk +2 -2
@@ -22,9 +22,9 @@ EVEMU_CONF_OPTS += --disable-tests EVEMU_DEPENDENCIES = host-pkgconf libevdev # Check for target python -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) +ifeq ($(BR2_PACKAGE_PYTHON3),y) EVEMU_CONF_OPTS += --enable-python-bindings -EVEMU_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON3),python3,python) +EVEMU_DEPENDENCIES += python3 else EVEMU_CONF_OPTS += --disable-python-bindings endif
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 13/107 package/fail2ban: drop python2 support
In reply to Peter Korsgaard--- package/fail2ban/Config.in | 2 +- package/fail2ban/fail2ban.mk | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-)
package/fail2ban/Config.in +1 -1
@@ -1,6 +1,6 @@ config BR2_PACKAGE_FAIL2BAN bool "fail2ban" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_PYTHON_SYSTEMD if BR2_PACKAGE_SYSTEMD help Fail2ban scans log files (e.g. /var/log/apache/error_log) and
package/fail2ban/fail2ban.mk +2 -5
@@ -15,15 +15,13 @@ FAIL2BAN_SETUP_TYPE = distutils # 0001-fixed-possible-RCE-vulnerability-unset-escape-variable.patch FAIL2BAN_IGNORE_CVES += CVE-2021-32749 -ifeq ($(BR2_PACKAGE_PYTHON3),y) define FAIL2BAN_PYTHON_2TO3 $(HOST_DIR)/bin/2to3 --write --nobackups --no-diffs $(@D)/bin/* $(@D)/fail2ban endef -FAIL2BAN_DEPENDENCIES += host-python3 +FAIL2BAN_DEPENDENCIES = host-python3 # We can't use _POST_PATCH_HOOKS because dependencies are not guaranteed # to build and install before _POST_PATCH_HOOKS run. FAIL2BAN_PRE_CONFIGURE_HOOKS += FAIL2BAN_PYTHON_2TO3 -endif define FAIL2BAN_FIX_DEFAULT_CONFIG $(SED) '/^socket/c\socket = /run/fail2ban.sock' $(TARGET_DIR)/etc/fail2ban/fail2ban.conf
@@ -34,8 +32,7 @@ FAIL2BAN_POST_INSTALL_TARGET_HOOKS += FAIL2BAN_FIX_DEFAULT_CONFIG # fail2ban-python points to host python define FAIL2BAN_FIX_FAIL2BAN_PYTHON_SYMLINK - ln -snf $(if $(BR2_PACKAGE_PYTHON),python,python3) \ - $(TARGET_DIR)/usr/bin/fail2ban-python + ln -snf python3 $(TARGET_DIR)/usr/bin/fail2ban-python endef FAIL2BAN_POST_INSTALL_TARGET_HOOKS += FAIL2BAN_FIX_FAIL2BAN_PYTHON_SYMLINK
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 14/107 package/glsandbox-player: drop reference to python2
In reply to Peter Korsgaard--- package/glslsandbox-player/Config.in | 1 - 1 file changed, 1 deletion(-)
package/glslsandbox-player/Config.in +0 -1
@@ -33,7 +33,6 @@ config BR2_PACKAGE_GLSLSANDBOX_PLAYER_TESTING config BR2_PACKAGE_GLSLSANDBOX_PLAYER_SCRIPTS bool "Install scripts" - depends on !BR2_PACKAGE_PYTHON # python3 depends on !BR2_STATIC_LIBS # python3 depends on BR2_TOOLCHAIN_HAS_THREADS # python3 depends on BR2_USE_MMU # bash, python3
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 15/107 package/gpsd: drop python2 support
In reply to Peter Korsgaard--- package/gpsd/Config.in | 4 ++-- package/gpsd/gpsd.mk | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-)
package/gpsd/Config.in +2 -2
@@ -81,8 +81,8 @@ config BR2_PACKAGE_GPSD_SQUELCH config BR2_PACKAGE_GPSD_PYTHON bool "build Python support and modules" - depends on BR2_USE_WCHAR # python - select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON + depends on BR2_USE_WCHAR # python3 + select BR2_PACKAGE_PYTHON3 help Python libraries and tools for the gpsd service daemon including gpsfake test harness.
package/gpsd/gpsd.mk +0 -4
@@ -194,10 +194,6 @@ ifeq ($(BR2_PACKAGE_PYTHON3),y) GPSD_SCONS_OPTS += \ python=yes \ python_libdir="/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages" -else ifeq ($(BR2_PACKAGE_PYTHON),y) -GPSD_SCONS_OPTS += \ - python=yes \ - python_libdir="/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages" else GPSD_SCONS_OPTS += python=no endif
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 16/107 package/gst1-devtools: drop python2 support
In reply to Peter Korsgaard--- package/gstreamer1/gst1-devtools/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
package/gstreamer1/gst1-devtools/Config.in +2 -4
@@ -1,11 +1,10 @@ config BR2_PACKAGE_GST1_DEVTOOLS bool "gst1-devtools" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_GSTREAMER1_CHECK select BR2_PACKAGE_GST1_PLUGINS_BASE select BR2_PACKAGE_JSON_GLIB - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_PYEXPAT # cairo is autodetected but needs PNG support select BR2_PACKAGE_CAIRO_PNG if BR2_PACKAGE_CAIRO help
@@ -14,5 +13,4 @@ config BR2_PACKAGE_GST1_DEVTOOLS https://gstreamer.freedesktop.org comment "gst1-devtools depends on python" - depends on !BR2_PACKAGE_PYTHON depends on !BR2_PACKAGE_PYTHON3
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 17/107 package/i2c-tools: drop python2 support
In reply to Peter Korsgaard--- package/i2c-tools/i2c-tools.mk | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
package/i2c-tools/i2c-tools.mk +2 -6
@@ -13,10 +13,6 @@ I2C_TOOLS_CPE_ID_VENDOR = i2c-tools_project I2C_TOOLS_MAKE_OPTS = EXTRA=eeprog I2C_TOOLS_INSTALL_STAGING = YES -ifeq ($(BR2_PACKAGE_PYTHON),y) -I2C_TOOLS_DEPENDENCIES += python -endif - ifeq ($(BR2_PACKAGE_PYTHON3),y) I2C_TOOLS_DEPENDENCIES += python3 endif
@@ -31,7 +27,7 @@ endif # Build/install steps mirror the distutil python package type in the python package # infrastructure -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) +ifeq ($(BR2_PACKAGE_PYTHON3),y) # BASE_ENV taken from PKG_PYTHON_DISTUTILS_ENV in package/pkg-python.mk I2C_TOOLS_PYTHON_BASE_ENV = \ $(PKG_PYTHON_DISTUTILS_ENV) \
@@ -51,7 +47,7 @@ define I2C_TOOLS_INSTALL_PYSMBUS $(PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS)) endef -endif # BR2_PACKAGE_PYTHON +endif # BR2_PACKAGE_PYTHON3 define I2C_TOOLS_BUILD_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) $(I2C_TOOLS_MAKE_OPTS) -C $(@D)
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 18/107 package/iotop: drop python2 support
In reply to Peter Korsgaard--- package/iotop/Config.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
package/iotop/Config.in +4 -5
@@ -1,11 +1,10 @@ -comment "iotop depends on python or python3" - depends on !BR2_PACKAGE_PYTHON && !BR2_PACKAGE_PYTHON3 +comment "iotop depends on python3" + depends on !BR2_PACKAGE_PYTHON3 config BR2_PACKAGE_IOTOP bool "iotop" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_CURSES if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_CURSES if BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_CURSES help iotop does for I/O usage what top does for CPU usage.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 19/107 package/jack2: drop python2 support
In reply to Peter Korsgaard--- package/jack2/Config.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
package/jack2/Config.in +2 -3
@@ -37,9 +37,8 @@ config BR2_PACKAGE_JACK2_DBUS depends on BR2_USE_WCHAR # dbus-python, python select BR2_PACKAGE_DBUS select BR2_PACKAGE_DBUS_PYTHON - select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime help Build and use jackdbus.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 20/107 package/kmod: drop python2 support
In reply to Peter Korsgaard--- package/kmod/kmod.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/kmod/kmod.mk +2 -2
@@ -62,8 +62,8 @@ else KMOD_CONF_OPTS += --without-openssl endif -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) -KMOD_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3) +ifeq ($(BR2_PACKAGE_PYTHON3),y) +KMOD_DEPENDENCIES += python3 KMOD_CONF_OPTS += --enable-python endif
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 21/107 package/libcec: drop python2 support
In reply to Peter Korsgaard--- package/libcec/libcec.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/libcec/libcec.mk +2 -2
@@ -20,8 +20,8 @@ ifeq ($(BR2_PACKAGE_HAS_UDEV),y) LIBCEC_DEPENDENCIES += udev endif -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) -LIBCEC_DEPENDENCIES += host-swig $(if $(BR2_PACKAGE_PYTHON3),python3,python) +ifeq ($(BR2_PACKAGE_PYTHON3),y) +LIBCEC_DEPENDENCIES += host-swig python3 endif ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 22/107 package/libevent: drop python2 support
In reply to Peter Korsgaard--- package/libevent/libevent.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/libevent/libevent.mk +1 -1
@@ -25,7 +25,7 @@ endef # libevent installs a python script to target - get rid of it if we # don't have python support enabled -ifneq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) +ifneq ($(BR2_PACKAGE_PYTHON3),y) LIBEVENT_POST_INSTALL_TARGET_HOOKS += LIBEVENT_REMOVE_PYSCRIPT endif
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 23/107 package/libftdi1: drop python2 support
In reply to Peter Korsgaard--- package/libftdi1/Config.in | 2 +- package/libftdi1/libftdi1.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/libftdi1/Config.in +1 -1
@@ -24,7 +24,7 @@ comment "libftdipp1 needs a toolchain w/ C++, wchar" config BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS bool "python bindings" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON3 help Python bindings for libftdi
package/libftdi1/libftdi1.mk +1 -1
@@ -24,7 +24,7 @@ LIBFTDI1_CONF_OPTS += -DFTDIPP=OFF endif ifeq ($(BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS),y) -LIBFTDI1_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3) host-swig +LIBFTDI1_DEPENDENCIES += python3 host-swig LIBFTDI1_CONF_OPTS += -DPYTHON_BINDINGS=ON else LIBFTDI1_CONF_OPTS += -DPYTHON_BINDINGS=OFF
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 24/107 package/libiio: drop python2 support
In reply to Peter Korsgaard--- package/libiio/Config.in | 2 +- package/libiio/libiio.mk | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-)
package/libiio/Config.in +1 -1
@@ -91,7 +91,7 @@ config BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP config BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON bool "Install Python bindings" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON3 help Install the Python bindings.
package/libiio/libiio.mk +3 -7
@@ -73,14 +73,10 @@ LIBIIO_CONF_OPTS += -DHAVE_DNS_SD=OFF endif ifeq ($(BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON),y) -ifeq ($(BR2_PACKAGE_PYTHON),y) -LIBIIO_DEPENDENCIES += host-python-setuptools python -LIBIIO_CONF_OPTS += -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python -else ifeq ($(BR2_PACKAGE_PYTHON3),y) LIBIIO_DEPENDENCIES += host-python3-setuptools python3 -LIBIIO_CONF_OPTS += -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 -endif -LIBIIO_CONF_OPTS += -DPYTHON_BINDINGS=ON +LIBIIO_CONF_OPTS += \ + -DPYTHON_BINDINGS=ON + -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 else LIBIIO_CONF_OPTS += -DPYTHON_BINDINGS=OFF endif
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 024/107] package/libiio: drop python2 support
Hi Peter,
Quoted 1 line · Peter Korsgaard
Signed-off-by Peter Korsgaard <[email protected]>
Cheers,
-Paul
Quoted 41 lines
--- package/libiio/Config.in | 2 +- package/libiio/libiio.mk | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-)package/libiio/Config.in +1
-1@@ -91,7 +91,7 @@ config BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP config BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON bool "Install Python bindings" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON3 help Install the Python bindings.package/libiio/libiio.mk +3
-8@@ -73,14 +73,10 @@ LIBIIO_CONF_OPTS += -DHAVE_DNS_SD=OFF endif ifeq ($(BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON),y) -ifeq ($(BR2_PACKAGE_PYTHON),y) -LIBIIO_DEPENDENCIES += host-python-setuptools python -LIBIIO_CONF_OPTS += -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python -else ifeq ($(BR2_PACKAGE_PYTHON3),y) LIBIIO_DEPENDENCIES += host-python3-setuptools python3 -LIBIIO_CONF_OPTS += -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 -endif -LIBIIO_CONF_OPTS += -DPYTHON_BINDINGS=ON +LIBIIO_CONF_OPTS += \ + -DPYTHON_BINDINGS=ON + -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 else LIBIIO_CONF_OPTS += -DPYTHON_BINDINGS=OFF endif --
Quoted 2 lines
2.20.1
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 25/107 package/libpwquality: drop python2 support
In reply to Peter Korsgaard--- package/libpwquality/libpwquality.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/libpwquality/libpwquality.mk +2 -2
@@ -12,9 +12,9 @@ LIBPWQUALITY_INSTALL_STAGING = YES LIBPWQUALITY_DEPENDENCIES = cracklib LIBPWQUALITY_LICENSE_FILES = COPYING -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) +ifeq ($(BR2_PACKAGE_PYTHON3),y) LIBPWQUALITY_CONF_OPTS += --enable-python-bindings -LIBPWQUALITY_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON3),python3,python) +LIBPWQUALITY_DEPENDENCIES += python3 LIBPWQUALITY_MAKE_ENV += $(PKG_PYTHON_DISTUTILS_ENV) else LIBPWQUALITY_CONF_OPTS += --disable-python-bindings
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 26/107 package/libsigrokdecode: drop reference to python2
In reply to Peter Korsgaard--- package/libsigrokdecode/Config.in | 6 ------ 1 file changed, 6 deletions(-)
package/libsigrokdecode/Config.in +0 -6
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LIBSIGROKDECODE bool "libsigrokdecode" - depends on !BR2_PACKAGE_PYTHON # python3 depends on BR2_USE_WCHAR # libglib2/python3 depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2/python3 depends on BR2_USE_MMU # libglib2/python3
@@ -19,9 +18,4 @@ config BR2_PACKAGE_LIBSIGROKDECODE comment "libsigrokdecode needs a toolchain w/ wchar, threads, dynamic library" depends on BR2_USE_MMU - depends on !BR2_PACKAGE_PYTHON depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS - -comment "libsigrokdecode is not compatible with python" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_PYTHON
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 27/107 package/libsoc: drop python2 support
In reply to Peter Korsgaard--- package/libsoc/libsoc.mk | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
package/libsoc/libsoc.mk +1 -5
@@ -12,12 +12,8 @@ LIBSOC_AUTORECONF = YES LIBSOC_INSTALL_STAGING = YES LIBSOC_DEPENDENCIES = host-pkgconf -# Install Python 2 bindings -ifeq ($(BR2_PACKAGE_PYTHON),y) -LIBSOC_DEPENDENCIES += python -LIBSOC_CONF_OPTS += --enable-python=2 # Install Python 3 bindings -else ifeq ($(BR2_PACKAGE_PYTHON3),y) +ifeq ($(BR2_PACKAGE_PYTHON3),y) LIBSOC_DEPENDENCIES += python3 LIBSOC_CONF_OPTS += --enable-python=3 else
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 28/107 package/lttng-libust: drop python2 support
In reply to Peter Korsgaard--- package/lttng-libust/lttng-libust.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
package/lttng-libust/lttng-libust.mk +1 -4
@@ -20,10 +20,7 @@ LTTNG_LIBUST_AUTORECONF = YES # https://www.mail-archive.com/[email protected]/msg12950.html LTTNG_LIBUST_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DUATOMIC_NO_LINK_ERROR" -ifeq ($(BR2_PACKAGE_PYTHON),y) -LTTNG_LIBUST_DEPENDENCIES += python -LTTNG_LIBUST_CONF_OPTS += --enable-python-agent -else ifeq ($(BR2_PACKAGE_PYTHON3),y) +ifeq ($(BR2_PACKAGE_PYTHON3),y) LTTNG_LIBUST_DEPENDENCIES += python3 LTTNG_LIBUST_CONF_OPTS += --enable-python-agent else
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 29/107 package/networkd-dispatcher: drop reference to python2
In reply to Peter Korsgaard--- package/networkd-dispatcher/Config.in | 2 -- 1 file changed, 2 deletions(-)
package/networkd-dispatcher/Config.in +0 -2
@@ -4,7 +4,6 @@ config BR2_PACKAGE_NETWORKD_DISPATCHER depends on BR2_HOST_GCC_AT_LEAST_8 # python-gobject -> gobject-introspection -> host-qemu depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # python-gobject -> gobject-introspection depends on BR2_TOOLCHAIN_USES_GLIBC # python-gobject -> gobject-introspection - depends on !BR2_PACKAGE_PYTHON # python3 depends on BR2_PACKAGE_SYSTEMD # runtime select BR2_PACKAGE_DBUS # dbus-python select BR2_PACKAGE_DBUS_PYTHON # runtime
@@ -23,7 +22,6 @@ config BR2_PACKAGE_NETWORKD_DISPATCHER comment "networkd-dispatcher needs a glibc toolchain, gcc >= 4.9, host gcc >= 8" depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS depends on BR2_PACKAGE_SYSTEMD - depends on !BR2_PACKAGE_PYTHON depends on !BR2_HOST_GCC_AT_LEAST_8 || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ !BR2_TOOLCHAIN_USES_GLIBC
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 30/107 package/nftables: drop python2 support
In reply to Peter Korsgaard--- package/nftables/nftables.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/nftables/nftables.mk +2 -2
@@ -35,9 +35,9 @@ else NFTABLES_CONF_OPTS += --without-json endif -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) +ifeq ($(BR2_PACKAGE_PYTHON3),y) NFTABLES_CONF_OPTS += --enable-python -NFTABLES_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3) +NFTABLES_DEPENDENCIES += python3 else NFTABLES_CONF_OPTS += --disable-python endif
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 31/107 package/ogre: drop python2 support
In reply to Peter Korsgaard--- package/ogre/ogre.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
package/ogre/ogre.mk +2 -3
@@ -42,9 +42,8 @@ OGRE_CONF_OPTS = -DOGRE_BUILD_DEPENDENCIES=OFF \ -DCMAKE_CXX_FLAGS="$(OGRE_CXXFLAGS)" # Enable optional python component if python interpreter is present on the target. -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) -OGRE_DEPENDENCIES += host-swig \ - $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python) +ifeq ($(BR2_PACKAGE_PYTHON3),y) +OGRE_DEPENDENCIES += host-swig host-python3 OGRE_CONF_OPTS += -DOGRE_BUILD_COMPONENT_PYTHON=ON else OGRE_CONF_OPTS += -DOGRE_BUILD_COMPONENT_PYTHON=OFF
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 32/107 package/opkg-utils: drop reference to python2
In reply to Peter Korsgaard--- package/opkg-utils/Config.in | 6 ------ 1 file changed, 6 deletions(-)
package/opkg-utils/Config.in +0 -6
@@ -5,7 +5,6 @@ config BR2_PACKAGE_OPKG_UTILS depends on BR2_USE_WCHAR # python3 depends on BR2_TOOLCHAIN_HAS_THREADS # python3 <- libffi depends on !BR2_STATIC_LIBS # python3 - depends on !BR2_PACKAGE_PYTHON # python3 select BR2_PACKAGE_BINUTILS if !BR2_PACKAGE_BUSYBOX # runtime select BR2_PACKAGE_BINUTILS_TARGET if !BR2_PACKAGE_BUSYBOX # runtime select BR2_PACKAGE_COREUTILS if !BR2_PACKAGE_BUSYBOX # runtime
@@ -27,8 +26,3 @@ comment "opkg-utils needs a toolchain w/ wchar, threads, dynamic library" depends on !BR2_nios2 || BR2_PACKAGE_BUSYBOX depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS - -comment "opkg-utils needs python3" - depends on !BR2_nios2 || BR2_PACKAGE_BUSYBOX - depends on BR2_USE_MMU - depends on BR2_PACKAGE_PYTHON
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 33/107 package/owfs: drop python support
In reply to Peter KorsgaardThe python support only works with python2, so drop it.
Notice that there is a PR adding python3 support, but it is not yet merged:
https://github.com/owfs/owfs/pull/32
--- package/owfs/owfs.mk | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-)
package/owfs/owfs.mk +1 -23
@@ -67,30 +67,8 @@ else OWFS_CONF_OPTS += --disable-avahi endif -# setup.py isn't python3 compliant -ifeq ($(BR2_PACKAGE_PYTHON),y) -OWFS_CONF_OPTS += \ - --enable-owpython \ - --with-python \ - --with-pythonconfig=$(STAGING_DIR)/usr/bin/python-config -OWFS_MAKE_ENV += \ - CC="$(TARGET_CC)" \ - PYTHONPATH="$(PYTHON_PATH)" \ - _python_sysroot=$(STAGING_DIR) \ - _python_prefix=/usr \ - _python_exec_prefix=/usr -OWFS_DEPENDENCIES += python host-swig -# The configure scripts finds PYSITEDIR as the python_lib directory of -# host-python, and then prepends DESTDIR in front of it. So we end up -# installing things in $(TARGET_DIR)/$(HOST_DIR)/lib/python which is -# clearly wrong. -# Patching owfs to do the right thing is not trivial, it's much easier to -# override the PYSITEDIR variable in make. -OWFS_EXTRA_MAKE_OPTS += PYSITEDIR=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages - -else +# python2 only (https://github.com/owfs/owfs/pull/32) OWFS_CONF_OPTS += --disable-owpython --without-python -endif ifeq ($(BR2_STATIC_LIBS),y) # zeroconf support uses dlopen()
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 34/107 package/python-aenum: drop python2 support
In reply to Peter Korsgaard--- package/python-aenum/python-aenum.mk | 9 --------- 1 file changed, 9 deletions(-)
package/python-aenum/python-aenum.mk +0 -9
@@ -11,13 +11,4 @@ PYTHON_AENUM_SETUP_TYPE = setuptools PYTHON_AENUM_LICENSE = BSD-3-Clause PYTHON_AENUM_LICENSE_FILES = aenum/LICENSE -ifeq ($(BR2_PACKAGE_PYTHON),y) -# only needed/valid for python 3.x -define PYTHON_AENUM_RM_PY3_FILE - rm -f $(TARGET_DIR)/usr/lib/python*/site-packages/aenum/test_v3.py -endef - -PYTHON_AENUM_POST_INSTALL_TARGET_HOOKS += PYTHON_AENUM_RM_PY3_FILE -endif - $(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 35/107 package/python-argon2-cffi: drop python2 support
In reply to Peter Korsgaard--- package/python-argon2-cffi/Config.in | 1 - 1 file changed, 1 deletion(-)
package/python-argon2-cffi/Config.in +0 -1
@@ -3,7 +3,6 @@ config BR2_PACKAGE_PYTHON_ARGON2_CFFI depends on BR2_USE_MMU # libargon2 depends on !BR2_STATIC_LIBS # libargon2 select BR2_PACKAGE_PYTHON_CFFI # runtime - select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime select BR2_PACKAGE_PYTHON_SIX # runtime select BR2_PACKAGE_LIBARGON2 help
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 36/107 package/python-bsdiff4: drop python2 support
In reply to Peter Korsgaard--- package/python-bsdiff4/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/python-bsdiff4/Config.in +1 -2
@@ -1,7 +1,6 @@ config BR2_PACKAGE_PYTHON_BSDIFF4 bool "python-bsdiff4" - select BR2_PACKAGE_PYTHON_BZIP2 if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_BZIP2 if BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3_BZIP2 # runtime help binary diff and patch using the BSDIFF4-format.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 37/107 package/python-can: drop python2 support
In reply to Peter Korsgaard--- package/python-can/Config.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
package/python-can/Config.in +2 -5
@@ -1,13 +1,10 @@ config BR2_PACKAGE_PYTHON_CAN bool "python-can" select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - select BR2_PACKAGE_PYTHON_SQLITE if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_SQLITE if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_TYPING if BR2_PACKAGE_PYTHON # runtime + select BR2_PACKAGE_PYTHON3_SQLITE # runtime select BR2_PACKAGE_PYTHON_AENUM # runtime select BR2_PACKAGE_PYTHON_WRAPT # runtime - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_ZLIB help This module provides controller area network support for Python.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 38/107 package/python-couchdb: drop python2 support
In reply to Peter Korsgaard--- package/python-couchdb/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/python-couchdb/Config.in +1 -2
@@ -1,7 +1,6 @@ config BR2_PACKAGE_PYTHON_COUCHDB bool "python-couchdb" - 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 # runtime help Python client library for working with CouchDB.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 39/107 package/python-dicttoxml: drop python2 support
In reply to Peter Korsgaard--- package/python-dicttoxml/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/python-dicttoxml/Config.in +1 -2
@@ -1,7 +1,6 @@ config BR2_PACKAGE_PYTHON_DICTTOXML bool "python-dicttoxml" - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_PYEXPAT help Converts a Python dictionary or other native data type into a valid XML string.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 40/107 package/python-dpkt: drop python2 support
In reply to Peter Korsgaard--- package/python-dpkt/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/python-dpkt/Config.in +1 -2
@@ -1,7 +1,6 @@ config BR2_PACKAGE_PYTHON_DPKT bool "python-dpkt" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime help Fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 41/107 package/python-esptool: drop python2 support
In reply to Peter Korsgaard--- package/python-esptool/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/python-esptool/Config.in +1 -2
@@ -3,8 +3,7 @@ config BR2_PACKAGE_PYTHON_ESPTOOL select BR2_PACKAGE_PYTHON_ECDSA # runtime select BR2_PACKAGE_PYTHON_PYAES # runtime select BR2_PACKAGE_PYTHON_SERIAL # runtime - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_ZLIB help A serial utility to communicate & flash code to Espressif ESP8266 & ESP32 chips.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 42/107 package/python-fire: drop python2 support
In reply to Peter Korsgaard--- package/python-fire/Config.in | 1 - package/python-fire/python-fire.mk | 9 --------- 2 files changed, 10 deletions(-)
package/python-fire/Config.in +0 -1
@@ -2,7 +2,6 @@ config BR2_PACKAGE_PYTHON_FIRE bool "python-fire" select BR2_PACKAGE_PYTHON_SIX # runtime select BR2_PACKAGE_PYTHON_TERMCOLOR # runtime - select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime help A library for automatically generating command line interfaces.
package/python-fire/python-fire.mk +0 -9
@@ -11,13 +11,4 @@ PYTHON_FIRE_SETUP_TYPE = setuptools PYTHON_FIRE_LICENSE = Apache-2.0 PYTHON_FIRE_LICENSE_FILES = LICENSE -ifeq ($(BR2_PACKAGE_PYTHON),y) -# only needed/valid for python 3.x -define PYTHON_FIRE_RM_PY3_FILE - rm -f $(TARGET_DIR)/usr/lib/python*/site-packages/fire/test_components_py3.py -endef - -PYTHON_FIRE_POST_INSTALL_TARGET_HOOKS += PYTHON_FIRE_RM_PY3_FILE -endif - $(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 43/107 package/python-flask: drop python2 support
In reply to Peter KorsgaardThe package alredy depended on python3, so no functional change.
--- package/python-flask/Config.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
package/python-flask/Config.in +2 -5
@@ -1,15 +1,12 @@ config BR2_PACKAGE_PYTHON_FLASK bool "python-flask" - depends on BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_PYTHON_CLICK # runtime select BR2_PACKAGE_PYTHON_JINJA2 # runtime select BR2_PACKAGE_PYTHON_WERKZEUG # runtime select BR2_PACKAGE_PYTHON_ITSDANGEROUS # runtime select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_SSL + select BR2_PACKAGE_PYTHON3_ZLIB help Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 44/107 package/python-jsonschema: drop python2 support
In reply to Peter Korsgaard--- package/python-jsonschema/Config.in | 1 - 1 file changed, 1 deletion(-)
package/python-jsonschema/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_PYTHON_JSONSCHEMA bool "python-jsonschema" - select BR2_PACKAGE_PYTHON_FUNCTOOLS32 if BR2_PACKAGE_PYTHON # runtime help An implementation of JSON Schema validation for Python.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 45/107 package/python-libconfig: drop python2 support
In reply to Peter Korsgaard--- package/python-libconfig/python-libconfig.mk | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
package/python-libconfig/python-libconfig.mk +1 -7
@@ -14,14 +14,8 @@ PYTHON_LIBCONFIG_SETUP_TYPE = setuptools PYTHON_LIBCONFIG_DEPENDENCIES = libconfig boost -ifeq ($(BR2_PACKAGE_PYTHON),y) -PYTHON_LIBCONFIG_PYVER = $(PYTHON_VERSION_MAJOR) -else ifeq ($(BR2_PACKAGE_PYTHON3),y) -PYTHON_LIBCONFIG_PYVER = $(PYTHON3_VERSION_MAJOR) -endif - define PYTHON_LIBCONFIG_FIX_SETUP - $(SED) 's/boost_python/boost_python$(subst .,,$(PYTHON_LIBCONFIG_PYVER))/g' \ + $(SED) 's/boost_python/boost_python$(subst .,,$(PYTHON3_VERSION_MAJOR))/g' \ $(@D)/setup.py endef PYTHON_LIBCONFIG_POST_PATCH_HOOKS += PYTHON_LIBCONFIG_FIX_SETUP
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 46/107 package/python-logbook: drop python2 support
In reply to Peter Korsgaard--- package/python-logbook/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/python-logbook/Config.in +1 -2
@@ -1,7 +1,6 @@ config BR2_PACKAGE_PYTHON_LOGBOOK bool "python-logbook" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_ZLIB help A logging replacement for Python.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 47/107 package/python-lxml: drop python2 support
In reply to Peter Korsgaard--- package/python-lxml/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/python-lxml/Config.in +1 -2
@@ -2,8 +2,7 @@ config BR2_PACKAGE_PYTHON_LXML bool "python-lxml" select BR2_PACKAGE_LIBXML2 select BR2_PACKAGE_LIBXSLT - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_ZLIB help The lxml XML toolkit is a Pythonic binding for the C libraries libxml2 and libxslt.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 48/107 package/python-m2crypto: drop python2 support
In reply to Peter Korsgaard--- package/python-m2crypto/Config.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
package/python-m2crypto/Config.in +2 -5
@@ -1,11 +1,8 @@ config BR2_PACKAGE_PYTHON_M2CRYPTO bool "python-m2crypto" select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_TYPING if BR2_PACKAGE_PYTHON # runtime + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + select BR2_PACKAGE_PYTHON3_SSL # runtime help M2Crypto: A Python crypto and SSL toolkit.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 49/107 package/python-pexpect: drop python2 support
In reply to Peter Korsgaard--- package/python-pexpect/python-pexpect.mk | 10 ---------- 1 file changed, 10 deletions(-)
package/python-pexpect/python-pexpect.mk +0 -10
@@ -11,14 +11,4 @@ PYTHON_PEXPECT_LICENSE = ISC PYTHON_PEXPECT_LICENSE_FILES = LICENSE PYTHON_PEXPECT_SETUP_TYPE = distutils -# async.py is not usable with Python 2, and removing is the solution -# recommended by upstream: -# https://github.com/pexpect/pexpect/issues/290 -ifeq ($(BR2_PACKAGE_PYTHON),y) -define PYTHON_PEXPECT_REMOVE_ASYNC_PY - $(RM) $(@D)/pexpect/_async.py -endef -PYTHON_PEXPECT_POST_PATCH_HOOKS += PYTHON_PEXPECT_REMOVE_ASYNC_PY -endif - $(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 50/107 package/python-pickleshare: drop python2 support
In reply to Peter Korsgaard--- package/python-pickleshare/Config.in | 1 - 1 file changed, 1 deletion(-)
package/python-pickleshare/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_PYTHON_PICKLESHARE bool "python-pickleshare" - select BR2_PACKAGE_PYTHON_PATHLIB2 if BR2_PACKAGE_PYTHON # runtime help Tiny 'shelve'-like database with concurrency support
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 51/107 package/python-pymodbus: drop python2 support
In reply to Peter Korsgaard--- package/python-pymodbus/python-pymodbus.mk | 9 --------- 1 file changed, 9 deletions(-)
package/python-pymodbus/python-pymodbus.mk +0 -9
@@ -11,13 +11,4 @@ PYTHON_PYMODBUS_SETUP_TYPE = setuptools PYTHON_PYMODBUS_LICENSE = BSD-3-Clause PYTHON_PYMODBUS_LICENSE_FILES = doc/LICENSE -ifeq ($(BR2_PACKAGE_PYTHON),y) -# only needed/valid for python 3.x -define PYTHON_PYMODBUS_RM_PY3_FILES - rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pymodbus/client/asynchronous/asyncio -endef - -PYTHON_PYMODBUS_POST_INSTALL_TARGET_HOOKS += PYTHON_PYMODBUS_RM_PY3_FILES -endif - $(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 52/107 package/python-pyqrcode: drop python2 support
In reply to Peter Korsgaard--- package/python-pyqrcode/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
package/python-pyqrcode/Config.in +2 -4
@@ -1,9 +1,7 @@ config BR2_PACKAGE_PYTHON_PYQRCODE bool "python-pyqrcode" - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_CODECSCJK if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_CODECSCJK if BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + select BR2_PACKAGE_PYTHON3_CODECSCJK # runtime help A QR code generator written purely in Python with SVG, EPS, PNG and terminal output.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 53/107 package/python-pyqt5: drop python2 support
In reply to Peter Korsgaard--- package/python-pyqt5/python-pyqt5.mk | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-)
package/python-pyqt5/python-pyqt5.mk +3 -11
@@ -19,14 +19,6 @@ PYTHON_PYQT5_MODULES = \ $(if $(BR2_PACKAGE_QT5BASE_PRINTSUPPORT),QtPrintSupport) \ $(if $(BR2_PACKAGE_QT5BASE_XML),QtXml) -ifeq ($(BR2_PACKAGE_PYTHON),y) -PYTHON_PYQT5_PYTHON_DIR = python$(PYTHON_VERSION_MAJOR) -PYTHON_PYQT5_RM_PORT_BASE = port_v3 -else ifeq ($(BR2_PACKAGE_PYTHON3),y) -PYTHON_PYQT5_PYTHON_DIR = python$(PYTHON3_VERSION_MAJOR) -PYTHON_PYQT5_RM_PORT_BASE = port_v2 -endif - ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS),y) PYTHON_PYQT5_MODULES += QtWidgets
@@ -159,7 +151,7 @@ PYTHON_PYQT5_PRE_CONFIGURE_HOOKS += QT5_QT_CONF_FIXUP PYTHON_PYQT5_CONF_OPTS = \ --bindir $(TARGET_DIR)/usr/bin \ - --destdir $(TARGET_DIR)/usr/lib/$(PYTHON_PYQT5_PYTHON_DIR)/site-packages \ + --destdir $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ --qmake $(HOST_DIR)/bin/qmake \ --sysroot $(STAGING_DIR)/usr \ -w --confirm-license \
@@ -186,8 +178,8 @@ endef # __init__.pyc is needed if BR2_PACKAGE_PYTHON_PYC_ONLY is set define PYTHON_PYQT5_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) install - touch $(TARGET_DIR)/usr/lib/$(PYTHON_PYQT5_PYTHON_DIR)/site-packages/PyQt5/__init__.py - $(RM) -rf $(TARGET_DIR)/usr/lib/$(PYTHON_PYQT5_PYTHON_DIR)/site-packages/PyQt5/uic/$(PYTHON_PYQT5_RM_PORT_BASE) + touch $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/PyQt5/__init__.py + $(RM) -rf $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/PyQt5/uic/port_v2 endef $(eval $(generic-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 54/107 package/python-pyroute2: drop python2 support
In reply to Peter Korsgaard--- package/python-pyroute2/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/python-pyroute2/Config.in +1 -2
@@ -1,7 +1,6 @@ config BR2_PACKAGE_PYTHON_PYROUTE2 bool "python-pyroute2" - select BR2_PACKAGE_PYTHON_SQLITE if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_SQLITE if BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_SQLITE help Python netlink library - Linux network / netns / wireless / ipset configuration.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 55/107 package/python-pyudev: drop python2 support
In reply to Peter Korsgaard--- package/python-pyudev/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/python-pyudev/Config.in +1 -2
@@ -1,8 +1,7 @@ config BR2_PACKAGE_PYTHON_PYUDEV bool "python-pyudev" depends on BR2_PACKAGE_HAS_UDEV - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime select BR2_PACKAGE_PYTHON_SIX # runtime help pyudev is a LGPL licenced, pure Python 2/3 binding to
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 56/107 package/python-raven: drop python2 support
In reply to Peter Korsgaard--- package/python-raven/Config.in | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-)
package/python-raven/Config.in +3 -6
@@ -1,11 +1,8 @@ config BR2_PACKAGE_PYTHON_RAVEN bool "python-raven" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_UNICODEDATA if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_UNICODEDATA if BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_ZLIB + select BR2_PACKAGE_PYTHON3_SSL + select BR2_PACKAGE_PYTHON3_UNICODEDATA help Raven is a client for Sentry (https://getsentry.com).
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 57/107 package/python-reentry: drop python2 support
In reply to Peter Korsgaard--- package/python-reentry/Config.in | 1 - 1 file changed, 1 deletion(-)
package/python-reentry/Config.in +0 -1
@@ -3,7 +3,6 @@ config BR2_PACKAGE_PYTHON_REENTRY select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime select BR2_PACKAGE_PYTHON_CLICK # runtime select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_PATHLIB2 if BR2_PACKAGE_PYTHON # runtime help A plugin manager based on setuptools entry points mechanism.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 58/107 package/python-remi: drop python2 support
In reply to Peter Korsgaard--- package/python-remi/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/python-remi/Config.in +1 -2
@@ -1,7 +1,6 @@ config BR2_PACKAGE_PYTHON_REMI bool "python-remi" - 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 # runtime select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime help Remi is a GUI library for Python applications which transpiles
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 59/107 package/python-scapy: drop python2 support
In reply to Peter Korsgaard--- package/python-scapy/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/python-scapy/Config.in +1 -2
@@ -1,7 +1,6 @@ config BR2_PACKAGE_PYTHON_SCAPY bool "python-scapy" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_ZLIB help Scapy: interactive packet manipulation tool.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 60/107 package/python-sentry-sdk: drop python2 support
In reply to Peter Korsgaard--- package/python-sentry-sdk/python-sentry-sdk.mk | 10 ---------- 1 file changed, 10 deletions(-)
package/python-sentry-sdk/python-sentry-sdk.mk +0 -10
@@ -11,14 +11,4 @@ PYTHON_SENTRY_SDK_SETUP_TYPE = setuptools PYTHON_SENTRY_SDK_LICENSE = BSD-2-Clause PYTHON_SENTRY_SDK_LICENSE_FILES = LICENSE -ifeq ($(BR2_PACKAGE_PYTHON),y) -# only needed/valid for python 3.x -define PYTHON_SENTRY_SDK_RM_PY3_FILES - rm -f $(addprefix $(TARGET_DIR)/usr/lib/python*/site-packages/sentry_sdk/integrations/,\ - aiohttp.py asgi.py django/asgi.py httpx.py sanic.py tornado.py) -endef - -PYTHON_SENTRY_SDK_POST_INSTALL_TARGET_HOOKS += PYTHON_SENTRY_SDK_RM_PY3_FILES -endif - $(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 61/107 package/python-setuptools: drop python2 support
In reply to Peter KorsgaardFor the target.
--- package/python-setuptools/Config.in | 6 ++---- package/python-setuptools/python-setuptools.mk | 16 ---------------- 2 files changed, 2 insertions(+), 20 deletions(-)
package/python-setuptools/Config.in +2 -4
@@ -1,9 +1,7 @@ config BR2_PACKAGE_PYTHON_SETUPTOOLS bool "python-setuptools" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime help Download, build, install, upgrade, and uninstall Python packages.
package/python-setuptools/python-setuptools.mk +0 -16
@@ -4,19 +4,11 @@ # ################################################################################ -# For the target variant, we adapt the version depending on whether -# Python 3.x or 2.x is selected for the target. -ifeq ($(BR2_PACKAGE_PYTHON3),y) # Please keep in sync with # package/python3-setuptools/python3-setuptools.mk PYTHON_SETUPTOOLS_VERSION = 60.7.0 PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON3_SETUPTOOLS_VERSION).tar.gz PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/29/dd/48d662bb93e5e51e72265ef612f869947d4ae4126328d7156824cd50d440 -else # Python -PYTHON_SETUPTOOLS_VERSION = 44.0.0 -PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).zip -PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/b0/f3/44da7482ac6da3f36f68e253cb04de37365b3dba9036a3c70773b778b485 -endif # The host variant is only for Python 2.x, so we need to use 44.0.0. HOST_PYTHON_SETUPTOOLS_VERSION = 44.0.0
@@ -30,14 +22,6 @@ PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python PYTHON_SETUPTOOLS_CPE_ID_PRODUCT = setuptools PYTHON_SETUPTOOLS_SETUP_TYPE = setuptools -ifeq ($(BR2_PACKAGE_PYTHON),y) -define PYTHON_SETUPTOOLS_EXTRACT_CMDS - $(UNZIP) -d $(@D) $(PYTHON_SETUPTOOLS_DL_DIR)/$(PYTHON_SETUPTOOLS_SOURCE) - mv $(@D)/setuptools-$(PYTHON_SETUPTOOLS_VERSION)/* $(@D) - $(RM) -r $(@D)/setuptools-$(PYTHON_SETUPTOOLS_VERSION) -endef -endif - define HOST_PYTHON_SETUPTOOLS_EXTRACT_CMDS $(UNZIP) -d $(@D) $(HOST_PYTHON_SETUPTOOLS_DL_DIR)/$(HOST_PYTHON_SETUPTOOLS_SOURCE) mv $(@D)/setuptools-$(HOST_PYTHON_SETUPTOOLS_VERSION)/* $(@D)
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 62/107 package/python-sip: drop python2 support
In reply to Peter Korsgaard--- package/python-sip/python-sip.mk | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-)
package/python-sip/python-sip.mk +4 -15
@@ -10,19 +10,8 @@ PYTHON_SIP_SITE = http://downloads.sourceforge.net/project/pyqt/sip/sip-$(PYTHON PYTHON_SIP_LICENSE = SIP license or GPL-2.0 or GPL-3.0 PYTHON_SIP_LICENSE_FILES = LICENSE LICENSE-GPL2 LICENSE-GPL3 -PYTHON_SIP_DEPENDENCIES = qt5base - -ifeq ($(BR2_PACKAGE_PYTHON),y) -PYTHON_SIP_DEPENDENCIES += python -HOST_PYTHON_SIP_DEPENDENCIES += host-python -PYTHON_SIP_LIB_DIR = usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages -PYTHON_SIP_INCLUDE_DIR = usr/include/python$(PYTHON_VERSION_MAJOR) -else ifeq ($(BR2_PACKAGE_PYTHON3),y) -PYTHON_SIP_DEPENDENCIES += python3 -HOST_PYTHON_SIP_DEPENDENCIES += host-python3 -PYTHON_SIP_LIB_DIR = usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages -PYTHON_SIP_INCLUDE_DIR = usr/include/python$(PYTHON3_VERSION_MAJOR) -endif +PYTHON_SIP_DEPENDENCIES = python3 qt5base +HOST_PYTHON_SIP_DEPENDENCIES = host-python3 define HOST_PYTHON_SIP_CONFIGURE_CMDS (cd $(@D); \
@@ -41,8 +30,8 @@ define PYTHON_SIP_CONFIGURE_CMDS (cd $(@D); \ $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(HOST_DIR)/bin/python configure.py \ --bindir $(TARGET_DIR)/usr/bin \ - --destdir $(TARGET_DIR)/$(PYTHON_SIP_LIB_DIR) \ - --incdir $(STAGING_DIR)/$(PYTHON_SIP_INCLUDE_DIR) \ + --destdir $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ + --incdir $(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ --sipdir $(TARGET_DIR)/usr/share/sip \ --sysroot $(STAGING_DIR)/usr \ --use-qmake && \
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 63/107 package/python-txtorcon: drop python2 support
In reply to Peter Korsgaard--- package/python-txtorcon/python-txtorcon.mk | 9 --------- 1 file changed, 9 deletions(-)
package/python-txtorcon/python-txtorcon.mk +0 -9
@@ -11,13 +11,4 @@ PYTHON_TXTORCON_SETUP_TYPE = setuptools PYTHON_TXTORCON_LICENSE = MIT PYTHON_TXTORCON_LICENSE_FILES = LICENSE -ifeq ($(BR2_PACKAGE_PYTHON),y) -# only needed/valid for python 3.x -define PYTHON_TXTORCON_RM_PY3_FILE - rm -f $(TARGET_DIR)/usr/lib/python*/site-packages/txtorcon/controller_py3.py -endef - -PYTHON_TXTORCON_POST_INSTALL_TARGET_HOOKS += PYTHON_TXTORCON_RM_PY3_FILE -endif - $(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 64/107 package/python-typing-extensions: drop python2 support
In reply to Peter Korsgaard--- package/python-typing-extensions/Config.in | 1 - 1 file changed, 1 deletion(-)
package/python-typing-extensions/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS bool "python-typing-extensions" - select BR2_PACKAGE_PYTHON_TYPING if BR2_PACKAGE_PYTHON # runtime help Backported and Experimental Type Hints for Python 3.5+.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 65/107 package/python-urllib3: drop python2 support
In reply to Peter Korsgaard--- package/python-urllib3/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/python-urllib3/Config.in +1 -2
@@ -1,7 +1,6 @@ config BR2_PACKAGE_PYTHON_URLLIB3 bool "python-urllib3" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime help Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 66/107 package/python-web2py: drop python2 support
In reply to Peter Korsgaard--- package/python-web2py/Config.in | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-)
package/python-web2py/Config.in +3 -6
@@ -1,12 +1,9 @@ config BR2_PACKAGE_PYTHON_WEB2PY bool "python-web2py" select BR2_PACKAGE_PYTHON_PYDAL # runtime - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_SQLITE if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_SQLITE if BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + select BR2_PACKAGE_PYTHON3_SQLITE # runtime select BR2_PACKAGE_PYTHON_YATL # runtime help web2py is a free open source full-stack framework for rapid
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 67/107 package/python-webob: drop python2 support
In reply to Peter Korsgaard--- package/python-webob/Config.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
package/python-webob/Config.in +1 -3
@@ -1,8 +1,6 @@ config BR2_PACKAGE_PYTHON_WEBOB bool "python-webob" - select BR2_PACKAGE_PYTHON_HASHLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime help WSGI request and response object.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 68/107 package/python-websocket-client: drop python2 support
In reply to Peter Korsgaard--- package/python-websocket-client/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/python-websocket-client/Config.in +1 -2
@@ -1,8 +1,7 @@ config BR2_PACKAGE_PYTHON_WEBSOCKET_CLIENT bool "python-websocket-client" select BR2_PACKAGE_PYTHON_SIX # 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 # runtime help WebSocket client for python. hybi13 is supported.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 69/107 package/python-werkzeug: drop python2 support
In reply to Peter Korsgaard--- package/python-werkzeug/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/python-werkzeug/Config.in +1 -2
@@ -1,7 +1,6 @@ config BR2_PACKAGE_PYTHON_WERKZEUG bool "python-werkzeug" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime help Werkzeug is a WSGI utility library for Python. It's widely used and BSD licensed.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 70/107 package/python-whoosh: drop python2 support
In reply to Peter Korsgaard--- package/python-whoosh/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/python-whoosh/Config.in +1 -2
@@ -1,7 +1,6 @@ config BR2_PACKAGE_PYTHON_WHOOSH bool "python-whoosh" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime help Whoosh is a fast, pure-Python full text indexing, search and spell checking library.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 71/107 package/python-xlrd: drop python2 support
In reply to Peter Korsgaard--- package/python-xlrd/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
package/python-xlrd/Config.in +2 -4
@@ -1,9 +1,7 @@ config BR2_PACKAGE_PYTHON_XLRD bool "python-xlrd" - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_PYEXPAT + select BR2_PACKAGE_PYTHON3_ZLIB help Library for developers to extract data from Microsoft Excel(tm) spreadsheet files.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 72/107 package/python-xmltodict: drop python2 support
In reply to Peter Korsgaard--- package/python-xmltodict/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/python-xmltodict/Config.in +1 -2
@@ -1,7 +1,6 @@ config BR2_PACKAGE_PYTHON_XMLTODICT bool "python-xmltodict" - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime help Makes working with XML feel like you are working with JSON.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 73/107 package/python3: drop references to python2
In reply to Peter Korsgaard--- package/python3/Config.in | 1 - package/python3/python3.mk | 2 -- 2 files changed, 3 deletions(-)
package/python3/Config.in +0 -1
@@ -4,7 +4,6 @@ comment "python3 needs a toolchain w/ wchar, threads, dynamic library" config BR2_PACKAGE_PYTHON3 bool "python3" - depends on !BR2_PACKAGE_PYTHON depends on BR2_USE_WCHAR # uses fork() depends on BR2_USE_MMU
package/python3/python3.mk +0 -2
@@ -260,9 +260,7 @@ define PYTHON3_INSTALL_SYMLINK ln -fs python3 $(TARGET_DIR)/usr/bin/python endef -ifneq ($(BR2_PACKAGE_PYTHON),y) PYTHON3_POST_INSTALL_TARGET_HOOKS += PYTHON3_INSTALL_SYMLINK -endif # Some packages may have build scripts requiring python3, whatever is the # python version chosen for the target.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 74/107 package/ranger: drop python2 support
In reply to Peter Korsgaard--- package/ranger/Config.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
package/ranger/Config.in +2 -3
@@ -4,9 +4,8 @@ config BR2_PACKAGE_RANGER depends on BR2_USE_WCHAR # python3 depends on BR2_TOOLCHAIN_HAS_THREADS # python3 depends on !BR2_STATIC_LIBS # python3 - select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON_CURSES if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_CURSES if BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_CURSES help ranger is a console file manager with VI key bindings. It provides a minimalistic and nice curses interface with a
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 75/107 package/selinux-python: drop reference to python2
In reply to Peter Korsgaard--- package/selinux-python/Config.in | 5 ----- 1 file changed, 5 deletions(-)
package/selinux-python/Config.in +0 -5
@@ -1,6 +1,5 @@ config BR2_PACKAGE_SELINUX_PYTHON bool "selinux-python" - depends on !BR2_PACKAGE_PYTHON depends on BR2_USE_MMU depends on BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HAS_THREADS
@@ -46,10 +45,6 @@ comment "sepolgen needs a toolchain w/ gcc 5" endif -comment "selinux-python needs python3" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_PYTHON - comment "selinux-python packages needs a toolchain w/ wchar, threads, dynamic library" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 76/107 package/snmpclitools: drop python2 support
In reply to Peter Korsgaard--- package/snmpclitools/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/snmpclitools/Config.in +1 -1
@@ -1,6 +1,6 @@ config BR2_PACKAGE_SNMPCLITOOLS bool "snmpclitools" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_PYTHON_PYSMI # runtime select BR2_PACKAGE_PYTHON_PYSNMP # runtime help
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 77/107 package/supervisor: drop python2 support
In reply to Peter Korsgaard--- package/supervisor/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/supervisor/Config.in +1 -2
@@ -1,6 +1,6 @@ config BR2_PACKAGE_SUPERVISOR bool "supervisor" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime dependency help A client/server system that allows its users to control a
@@ -9,5 +9,4 @@ config BR2_PACKAGE_SUPERVISOR http://supervisord.org/ comment "supervisor needs a python interpreter" - depends on !BR2_PACKAGE_PYTHON depends on !BR2_PACKAGE_PYTHON3
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 78/107 package/suricata: drop python2 support
In reply to Peter Korsgaard--- package/suricata/suricata.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/suricata/suricata.mk +2 -2
@@ -116,9 +116,9 @@ else SURICATA_CONF_OPTS += --disable-luajit endif -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) +ifeq ($(BR2_PACKAGE_PYTHON3),y) SURICATA_CONF_OPTS += --enable-python -SURICATA_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3) +SURICATA_DEPENDENCIES += python3 else SURICATA_CONF_OPTS += --disable-python endif
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 79/107 package/syslog-ng: drop python2 support
In reply to Peter Korsgaard--- package/syslog-ng/syslog-ng.mk | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
package/syslog-ng/syslog-ng.mk +1 -6
@@ -32,12 +32,7 @@ else SYSLOG_NG_CONF_OPTS += --disable-linux-caps endif -ifeq ($(BR2_PACKAGE_PYTHON),y) -SYSLOG_NG_DEPENDENCIES += python -SYSLOG_NG_CONF_OPTS += \ - --enable-python \ - --with-python=$(PYTHON_VERSION_MAJOR) -else ifeq ($(BR2_PACKAGE_PYTHON3),y) +ifeq ($(BR2_PACKAGE_PYTHON3),y) SYSLOG_NG_DEPENDENCIES += python3 SYSLOG_NG_CONF_OPTS += \ --enable-python \
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 80/107 package/tovid: drop python2 support
In reply to Peter Korsgaard--- package/tovid/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
package/tovid/Config.in +3 -3
@@ -4,7 +4,7 @@ config BR2_PACKAGE_TOVID depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON3 depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # mpv depends on BR2_TOOLCHAIN_HAS_ATOMIC # mpv
@@ -40,8 +40,8 @@ comment "tovid needs a toolchain w/ threads, C++, wchar, gcc >= 4.9" || !BR2_USE_WCHAR depends on !BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC -comment "tovid depends on python or python3" - depends on !BR2_PACKAGE_PYTHON && !BR2_PACKAGE_PYTHON3 +comment "tovid depends on python3" + depends on !BR2_PACKAGE_PYTHON3 depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_ATOMIC depends on BR2_TOOLCHAIN_HAS_SYNC_4
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 81/107 package/trace-cmd: drop python2 support
In reply to Peter Korsgaard--- package/trace-cmd/trace-cmd.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
package/trace-cmd/trace-cmd.mk +1 -4
@@ -18,10 +18,7 @@ ifeq ($(BR2_PACKAGE_AUDIT),y) TRACE_CMD_DEPENDENCIES += audit endif -ifeq ($(BR2_PACKAGE_PYTHON),y) -TRACE_CMD_DEPENDENCIES += python host-swig -TRACE_CMD_MAKE_OPTS += PYTHON_VERS=python -else ifeq ($(BR2_PACKAGE_PYTHON3),y) +ifeq ($(BR2_PACKAGE_PYTHON3),y) TRACE_CMD_DEPENDENCIES += python3 host-swig TRACE_CMD_MAKE_OPTS += PYTHON_VERS=python3 else
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 82/107 package/util-linux: drop python2 support
In reply to Peter Korsgaard--- package/util-linux/util-linux.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/util-linux/util-linux.mk +2 -2
@@ -241,9 +241,9 @@ HOST_UTIL_LINUX_CONF_OPTS += --disable-all-programs endif # Install libmount Python bindings -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) +ifeq ($(BR2_PACKAGE_PYTHON3),y) UTIL_LINUX_CONF_OPTS += --with-python -UTIL_LINUX_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3) +UTIL_LINUX_DEPENDENCIES += python3 ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT),y) UTIL_LINUX_CONF_OPTS += --enable-pylibmount else
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 83/107 package/zfs: drop python2 support
In reply to Peter Korsgaard--- package/zfs/zfs.mk | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-)
package/zfs/zfs.mk +1 -11
@@ -37,17 +37,7 @@ else ZFS_CONF_OPTS += --disable-systemd endif -# The optional PyZFS uses different scripts depending on the python -# version (ex: arc_summary2 or arc_summary3). -ifeq ($(BR2_PACKAGE_PYTHON),y) -ZFS_DEPENDENCIES += python python-setuptools host-python-cffi host-python-packaging -ZFS_CONF_ENV += \ - PYTHON=$(HOST_DIR)/usr/bin/python2 \ - PYTHON_CPPFLAGS="`$(STAGING_DIR)/usr/bin/python2-config --includes`" \ - PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python2-config --ldflags`" \ - PYTHON_SITE_PKG="/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages" -ZFS_CONF_OPTS += --enable-pyzfs -else ifeq ($(BR2_PACKAGE_PYTHON3),y) +ifeq ($(BR2_PACKAGE_PYTHON3),y) ZFS_DEPENDENCIES += python3 python-setuptools host-python-cffi host-python-packaging ZFS_CONF_ENV += \ PYTHON=$(HOST_DIR)/usr/bin/python3 \
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 84/107 package/python: drop host package
In reply to Peter Korsgaard--- ...-do-not-add-invalid-header-locations.patch | 42 --- ...get_python_inc-for-cross-compilation.patch | 48 --- ...nstall-location-of-_sysconfigdata.py.patch | 88 ----- ...ilation-of-.pyc-and-.pyo-conditional.patch | 78 ----- ...taddrinfo-test-for-cross-compilation.patch | 31 -- ...astructure-to-be-able-to-disable-ext.patch | 81 ----- ...y-header-paths-for-cross-compilation.patch | 64 ---- ...ook-in-usr-lib-termcap-for-libraries.patch | 31 -- ...9-Fix-python-config-for-cross-builds.patch | 229 ------------- ...ove-the-python-symlink-install-rules.patch | 43 --- .../0011-Don-t-add-multiarch-paths.patch | 36 --- .../0012-Abort-on-failed-module-build.patch | 30 -- ...d-when-threads-are-not-used-availabl.patch | 58 ---- .../python/0014-Serial-ioctl-workaround.patch | 33 -- ...e-shebang-of-Python-scripts-for-cros.patch | 35 -- ...-disable-installation-of-test-module.patch | 105 ------ .../0017-Add-an-option-to-disable-pydoc.patch | 89 ------ ...018-Add-an-option-to-disable-lib2to3.patch | 92 ------ ...option-to-disable-the-sqlite3-module.patch | 69 ---- ...d-an-option-to-disable-the-tk-module.patch | 73 ----- ...-option-to-disable-the-curses-module.patch | 61 ---- .../0022-Add-an-option-to-disable-expat.patch | 92 ------ ...-Add-an-option-to-disable-CJK-codecs.patch | 32 -- .../0024-Add-an-option-to-disable-NIS.patch | 35 -- ...Add-an-option-to-disable-unicodedata.patch | 32 -- .../0026-Add-an-option-to-disable-bsddb.patch | 87 ----- ...-an-option-to-disable-the-ssl-module.patch | 32 -- ...-an-option-to-disable-the-bz2-module.patch | 32 -- ...an-option-to-disable-the-zlib-module.patch | 32 -- .../0030-Do-not-install-the-idle-editor.patch | 55 ---- ...on-to-disable-the-ossaudiodev-module.patch | 32 -- ...option-to-disable-the-hashlib-module.patch | 32 -- ...an-option-to-disable-readline-module.patch | 32 -- ...locale-and-set-to-default-when-addin.patch | 37 --- package/python/Config.in.host | 16 - package/python/python.hash | 5 - package/python/python.mk | 302 ------------------ 37 files changed, 2301 deletions(-) delete mode 100644 package/python/0001-setup.py-do-not-add-invalid-header-locations.patch delete mode 100644 package/python/0002-Fix-get_python_inc-for-cross-compilation.patch delete mode 100644 package/python/0003-Change-the-install-location-of-_sysconfigdata.py.patch delete mode 100644 package/python/0004-Make-the-compilation-of-.pyc-and-.pyo-conditional.patch delete mode 100644 package/python/0005-Adjust-getaddrinfo-test-for-cross-compilation.patch delete mode 100644 package/python/0006-Add-minimal-infrastructure-to-be-able-to-disable-ext.patch delete mode 100644 package/python/0007-Adjust-library-header-paths-for-cross-compilation.patch delete mode 100644 package/python/0008-Don-t-look-in-usr-lib-termcap-for-libraries.patch delete mode 100644 package/python/0009-Fix-python-config-for-cross-builds.patch delete mode 100644 package/python/0010-Remove-the-python-symlink-install-rules.patch delete mode 100644 package/python/0011-Don-t-add-multiarch-paths.patch delete mode 100644 package/python/0012-Abort-on-failed-module-build.patch delete mode 100644 package/python/0013-sqlite3-fix-build-when-threads-are-not-used-availabl.patch delete mode 100644 package/python/0014-Serial-ioctl-workaround.patch delete mode 100644 package/python/0015-Do-not-adjust-the-shebang-of-Python-scripts-for-cros.patch delete mode 100644 package/python/0016-Add-an-option-to-disable-installation-of-test-module.patch delete mode 100644 package/python/0017-Add-an-option-to-disable-pydoc.patch delete mode 100644 package/python/0018-Add-an-option-to-disable-lib2to3.patch delete mode 100644 package/python/0019-Add-option-to-disable-the-sqlite3-module.patch delete mode 100644 package/python/0020-Add-an-option-to-disable-the-tk-module.patch delete mode 100644 package/python/0021-Add-an-option-to-disable-the-curses-module.patch delete mode 100644 package/python/0022-Add-an-option-to-disable-expat.patch delete mode 100644 package/python/0023-Add-an-option-to-disable-CJK-codecs.patch delete mode 100644 package/python/0024-Add-an-option-to-disable-NIS.patch delete mode 100644 package/python/0025-Add-an-option-to-disable-unicodedata.patch delete mode 100644 package/python/0026-Add-an-option-to-disable-bsddb.patch delete mode 100644 package/python/0027-Add-an-option-to-disable-the-ssl-module.patch delete mode 100644 package/python/0028-Add-an-option-to-disable-the-bz2-module.patch delete mode 100644 package/python/0029-Add-an-option-to-disable-the-zlib-module.patch delete mode 100644 package/python/0030-Do-not-install-the-idle-editor.patch delete mode 100644 package/python/0031-Add-an-option-to-disable-the-ossaudiodev-module.patch delete mode 100644 package/python/0032-Add-option-to-disable-the-hashlib-module.patch delete mode 100644 package/python/0033-Add-an-option-to-disable-readline-module.patch delete mode 100644 package/python/0034-Override-system-locale-and-set-to-default-when-addin.patch delete mode 100644 package/python/Config.in.host delete mode 100644 package/python/python.hash delete mode 100644 package/python/python.mk
package/python/0001-setup.py-do-not-add-invalid-header-locations.patch deleted +0 -42
@@ -1,42 +0,0 @@ -From 3dc31a435b67de2ba3dd3457f0c939e20b58e8de Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Tue, 7 Mar 2017 22:17:06 +0100 -Subject: [PATCH] setup.py: do not add invalid header locations - -This piece of code incorrectly adds /usr/include to -self.compiler.include_dirs, and results in the following invalid -compilation line: - -/home/thomas/projets/buildroot/output/host/usr/bin/arm-none-linux-gnueabi-gcc -fPIC \ - -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \ - -pipe -Os -DNDEBUG -g -O3 -Wall -Wstrict-prototypes \ - -I/usr/include -I. -IInclude -I./Include \ - -I/home/thomas/projets/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/include \ - -I/home/thomas/projets/buildroot/output/build/python-2.7.6/Include \ - -I/home/thomas/projets/buildroot/output/build/python-2.7.6 \ - -c /home/thomas/projets/buildroot/output/build/python-2.7.6/Modules/mathmodule.c \ - -o build/temp.linux2-arm-2.7/home/thomas/projets/buildroot/output/build/python-2.7.6/Modules/mathmodule.o -cc1: warning: include location "/usr/include" is unsafe for cross-compilation [-Wpoison-system-directories] -[...] - -Signed-off-by: Thomas Petazzoni <[email protected]> ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 54054c2..64001e2 100644 ---- a/setup.py -+++ b/setup.py -@@ -496,7 +496,7 @@ class PyBuildExt(build_ext): - for directory in reversed(options.dirs): - add_dir_to_list(dir_list, directory) - -- if os.path.normpath(sys.prefix) != '/usr' \ -+ if False and os.path.normpath(sys.prefix) != '/usr' \ - and not sysconfig.get_config_var('PYTHONFRAMEWORK'): - # OSX note: Don't add LIBDIR and INCLUDEDIR to building a framework - # (PYTHONFRAMEWORK is set) to avoid # linking problems when --- -2.7.4 -
package/python/0002-Fix-get_python_inc-for-cross-compilation.patch deleted +0 -48
48 lines not on this page · raw message
package/python/0003-Change-the-install-location-of-_sysconfigdata.py.patch deleted +0 -88
88 lines not on this page · raw message
package/python/0004-Make-the-compilation-of-.pyc-and-.pyo-conditional.patch deleted +0 -78
78 lines not on this page · raw message
package/python/0005-Adjust-getaddrinfo-test-for-cross-compilation.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From e674e29ceba34e55c9149ce99489e543aa4ebb01 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Tue, 7 Mar 2017 22:19:47 +0100 -Subject: [PATCH] Adjust getaddrinfo() test for cross-compilation - -The getaddrinfo() test in configure.ac uses AC_RUN_IFELSE(), which isn't -cross-compilation friendly. - -Signed-off-by: Thomas Petazzoni <[email protected]> -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard <[email protected]> ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 6bd8369105..77ca6d86ca 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3563,7 +3563,7 @@ fi - - AC_MSG_RESULT($ac_cv_buggy_getaddrinfo) - --if test $have_getaddrinfo = no -o "$ac_cv_buggy_getaddrinfo" = yes -+if test $have_getaddrinfo = no || test "$cross_compiling" != "yes" -a "$ac_cv_buggy_getaddrinfo" = yes - then - if test $ipv6 = yes - then --- -2.11.0 -
package/python/0006-Add-minimal-infrastructure-to-be-able-to-disable-ext.patch deleted +0 -81
81 lines not on this page · raw message
package/python/0007-Adjust-library-header-paths-for-cross-compilation.patch deleted +0 -64
64 lines not on this page · raw message
package/python/0008-Don-t-look-in-usr-lib-termcap-for-libraries.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From 87b627d8845e67fd798449b414bece04f18bd450 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Tue, 7 Mar 2017 22:22:40 +0100 -Subject: [PATCH] Don't look in /usr/lib/termcap for libraries - -Signed-off-by: Thomas Petazzoni <[email protected]> ---- - setup.py | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -diff --git a/setup.py b/setup.py -index 3b51c0a..fa32532 100644 ---- a/setup.py -+++ b/setup.py -@@ -784,12 +784,9 @@ class PyBuildExt(build_ext): - pass # Issue 7384: Already linked against curses or tinfo. - elif curses_library: - readline_libs.append(curses_library) -- elif self.compiler.find_library_file(lib_dirs + -- ['/usr/lib/termcap'], -- 'termcap'): -+ elif self.compiler.find_library_file(lib_dirs, 'termcap'): - readline_libs.append('termcap') - exts.append( Extension('readline', ['readline.c'], -- library_dirs=['/usr/lib/termcap'], - extra_link_args=readline_extra_link_args, - libraries=readline_libs) ) - else: --- -2.7.4 -
package/python/0009-Fix-python-config-for-cross-builds.patch deleted +0 -229
229 lines not on this page · raw message
package/python/0010-Remove-the-python-symlink-install-rules.patch deleted +0 -43
43 lines not on this page · raw message
package/python/0011-Don-t-add-multiarch-paths.patch deleted +0 -36
@@ -1,36 +0,0 @@ -From 50a243a9c90f95e9248ac720e42e802b5922ab90 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Tue, 7 Mar 2017 22:24:28 +0100 -Subject: [PATCH] Don't add multiarch paths - -The add_multiarch_paths() function leads, in certain build -environments, to the addition of host header paths to the CFLAGS, -which is not appropriate for cross-compilation. This patch fixes that -by simply removing the call to add_multiarch_paths() when we're -cross-compiling. - -Investigation done by David <[email protected]>. - -Signed-off-by: Thomas Petazzoni <[email protected]> ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index fa32532..0b9ea57 100644 ---- a/setup.py -+++ b/setup.py -@@ -461,9 +461,9 @@ class PyBuildExt(build_ext): - if not cross_compiling: - add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') - add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') -+ self.add_multiarch_paths() - if cross_compiling: - self.add_gcc_paths() -- self.add_multiarch_paths() - - # Add paths specified in the environment variables LDFLAGS and - # CPPFLAGS for header and library files. --- -2.7.4 -
package/python/0012-Abort-on-failed-module-build.patch deleted +0 -30
@@ -1,30 +0,0 @@ -From a131e2ff219872d97eef6585117bd2f8ff9e310d Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Tue, 7 Mar 2017 22:24:48 +0100 -Subject: [PATCH] Abort on failed module build - -When building a Python module fails, the setup.py script currently -doesn't exit with an error, and simply continues. This is not a really -nice behavior, so this patch changes setup.py to abort with an error, -so that the build issue is clearly noticeable. - -Signed-off-by: Thomas Petazzoni <[email protected]> ---- - setup.py | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/setup.py b/setup.py -index 0b9ea57..9a5c2b8 100644 ---- a/setup.py -+++ b/setup.py -@@ -299,6 +299,7 @@ class PyBuildExt(build_ext): - print "Failed to build these modules:" - print_three_column(failed) - print -+ sys.exit(1) - - def build_extension(self, ext): - --- -2.7.4 -
package/python/0013-sqlite3-fix-build-when-threads-are-not-used-availabl.patch deleted +0 -58
58 lines not on this page · raw message
package/python/0014-Serial-ioctl-workaround.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 22e5a4c5d29ddf0856d7f68f5a613aec00e26168 Mon Sep 17 00:00:00 2001 -From: Baruch Siach <[email protected]> -Date: Tue, 7 Mar 2017 22:25:36 +0100 -Subject: [PATCH] Serial ioctl() workaround - -The ioctls.h of some architectures (notably xtensa) references structs from -linux/serial.h. Make sure to include this header as well. - -Also, undef TIOCTTYGSTRUCT that require reference to internal kernel tty_struct, -but isn't actually referenced in modern kernels. - -Signed-off-by: Baruch Siach <[email protected]> ---- - Modules/termios.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/Modules/termios.c b/Modules/termios.c -index 57f30dc..a8c9855 100644 ---- a/Modules/termios.c -+++ b/Modules/termios.c -@@ -16,7 +16,9 @@ - * so this needs to be included first on that platform. */ - #include <termio.h> - #endif -+#include <linux/serial.h> - #include <sys/ioctl.h> -+#undef TIOCTTYGSTRUCT - - /* HP-UX requires that this be included to pick up MDCD, MCTS, MDSR, - * MDTR, MRI, and MRTS (appearantly used internally by some things --- -2.7.4 -
package/python/0015-Do-not-adjust-the-shebang-of-Python-scripts-for-cros.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From 70049366ddf1fc9084bb02cf4459380976cdf8f7 Mon Sep 17 00:00:00 2001 -From: Christophe Vu-Brugier <[email protected]> -Date: Tue, 7 Mar 2017 22:26:09 +0100 -Subject: [PATCH] Do not adjust the shebang of Python scripts for - cross-compilation - -The copy_scripts() method in distutils copies the scripts listed in -the setup file and adjusts the first line to refer to the current -Python interpreter. When cross-compiling, this means that the adjusted -shebang refers to the host Python interpreter. - -This patch modifies copy_scripts() to preserve the shebang when -cross-compilation is detected. - -Signed-off-by: Christophe Vu-Brugier <[email protected]> ---- - Lib/distutils/command/build_scripts.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Lib/distutils/command/build_scripts.py b/Lib/distutils/command/build_scripts.py -index 567df65..4922d50 100644 ---- a/Lib/distutils/command/build_scripts.py -+++ b/Lib/distutils/command/build_scripts.py -@@ -89,7 +89,7 @@ class build_scripts (Command): - adjust = 1 - post_interp = match.group(1) or '' - -- if adjust: -+ if adjust and not '_python_sysroot' in os.environ: - log.info("copying and adjusting %s -> %s", script, - self.build_dir) - if not self.dry_run: --- -2.7.4 -
package/python/0016-Add-an-option-to-disable-installation-of-test-module.patch deleted +0 -105
105 lines not on this page · raw message
package/python/0017-Add-an-option-to-disable-pydoc.patch deleted +0 -89
89 lines not on this page · raw message
package/python/0018-Add-an-option-to-disable-lib2to3.patch deleted +0 -92
92 lines not on this page · raw message
package/python/0019-Add-option-to-disable-the-sqlite3-module.patch deleted +0 -69
69 lines not on this page · raw message
package/python/0020-Add-an-option-to-disable-the-tk-module.patch deleted +0 -73
73 lines not on this page · raw message
package/python/0021-Add-an-option-to-disable-the-curses-module.patch deleted +0 -61
61 lines not on this page · raw message
package/python/0022-Add-an-option-to-disable-expat.patch deleted +0 -92
92 lines not on this page · raw message
package/python/0023-Add-an-option-to-disable-CJK-codecs.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From 6761066addfb6028e183d7fe4322b283af18117f Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Tue, 7 Mar 2017 22:29:31 +0100 -Subject: [PATCH] Add an option to disable CJK codecs - -Signed-off-by: Thomas Petazzoni <[email protected]> -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard <[email protected]> ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 2f5759a890..862c8ae516 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2851,6 +2851,12 @@ if test "$SQLITE3" = "no" ; then - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _sqlite3" - fi - -+AC_ARG_ENABLE(codecs-cjk, -+ AS_HELP_STRING([--disable-codecs-cjk], [disable CJK codecs]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk" -+ fi]) -+ - AC_SUBST(TK) - AC_ARG_ENABLE(tk, - AS_HELP_STRING([--disable-tk], [disable tk]), --- -2.11.0 -
package/python/0024-Add-an-option-to-disable-NIS.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From ecd8e926bd364d866f492df87d7c46d029445480 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Tue, 7 Mar 2017 22:29:41 +0100 -Subject: [PATCH] Add an option to disable NIS - -NIS is not necessarily available in uClibc, so we need an option to -not compile support for it. - -Signed-off-by: Thomas Petazzoni <[email protected]> -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard <[email protected]> ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 862c8ae516..354212fb16 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2857,6 +2857,12 @@ AC_ARG_ENABLE(codecs-cjk, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk" - fi]) - -+AC_ARG_ENABLE(nis, -+ AS_HELP_STRING([--disable-nis], [disable NIS]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis" -+ fi]) -+ - AC_SUBST(TK) - AC_ARG_ENABLE(tk, - AS_HELP_STRING([--disable-tk], [disable tk]), --- -2.11.0 -
package/python/0025-Add-an-option-to-disable-unicodedata.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From dc99b7a0331fe75d70ccb87dc0877ac5bbba51ca Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Tue, 7 Mar 2017 22:29:52 +0100 -Subject: [PATCH] Add an option to disable unicodedata - -Signed-off-by: Thomas Petazzoni <[email protected]> -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard <[email protected]> ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 354212fb16..4e430d82b8 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2863,6 +2863,12 @@ AC_ARG_ENABLE(nis, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis" - fi]) - -+AC_ARG_ENABLE(unicodedata, -+ AS_HELP_STRING([--disable-unicodedata], [disable unicodedata]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} unicodedata" -+ fi]) -+ - AC_SUBST(TK) - AC_ARG_ENABLE(tk, - AS_HELP_STRING([--disable-tk], [disable tk]), --- -2.11.0 -
package/python/0026-Add-an-option-to-disable-bsddb.patch deleted +0 -87
87 lines not on this page · raw message
package/python/0027-Add-an-option-to-disable-the-ssl-module.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From a0e56b96c3bfb04a5c8ecc0987cdd294d8ce116b Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Tue, 7 Mar 2017 22:30:22 +0100 -Subject: [PATCH] Add an option to disable the ssl module - -Signed-off-by: Thomas Petazzoni <[email protected]> -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard <[email protected]> ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 361e8c120e..8fe47d8c37 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2863,6 +2863,12 @@ AC_ARG_ENABLE(nis, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis" - fi]) - -+AC_ARG_ENABLE(ssl, -+ AS_HELP_STRING([--disable-ssl], [disable SSL]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _ssl" -+ fi]) -+ - AC_ARG_ENABLE(dbm, - AS_HELP_STRING([--disable-dbm], [disable DBM]), - [ if test "$enableval" = "no"; then --- -2.11.0 -
package/python/0028-Add-an-option-to-disable-the-bz2-module.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From d1236c6f4d8d893709fa36f751af47b8ad9055c1 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Tue, 7 Mar 2017 22:30:33 +0100 -Subject: [PATCH] Add an option to disable the bz2 module - -Signed-off-by: Thomas Petazzoni <[email protected]> -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard <[email protected]> ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 8fe47d8c37..85df7b1478 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2869,6 +2869,12 @@ AC_ARG_ENABLE(ssl, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _ssl" - fi]) - -+AC_ARG_ENABLE(bz2, -+ AS_HELP_STRING([--disable-bz2], [disable BZIP2]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} bz2" -+ fi]) -+ - AC_ARG_ENABLE(dbm, - AS_HELP_STRING([--disable-dbm], [disable DBM]), - [ if test "$enableval" = "no"; then --- -2.11.0 -
package/python/0029-Add-an-option-to-disable-the-zlib-module.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From a9c7314e069036f74b503dfaef261e5f45477b7e Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Tue, 7 Mar 2017 22:30:45 +0100 -Subject: [PATCH] Add an option to disable the zlib module - -Signed-off-by: Thomas Petazzoni <[email protected]> -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard <[email protected]> ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 85df7b1478..3848b16b9f 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2875,6 +2875,12 @@ AC_ARG_ENABLE(bz2, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} bz2" - fi]) - -+AC_ARG_ENABLE(zlib, -+ AS_HELP_STRING([--disable-zlib], [disable ZLIB]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} zlib" -+ fi]) -+ - AC_ARG_ENABLE(dbm, - AS_HELP_STRING([--disable-dbm], [disable DBM]), - [ if test "$enableval" = "no"; then --- -2.11.0 -
package/python/0030-Do-not-install-the-idle-editor.patch deleted +0 -55
55 lines not on this page · raw message
package/python/0031-Add-an-option-to-disable-the-ossaudiodev-module.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From 4ab280b8a7626de2565cf4ef6cf08a5c7326574b Mon Sep 17 00:00:00 2001 -From: Zoltan Gyarmati <[email protected]> -Date: Tue, 7 Mar 2017 22:31:22 +0100 -Subject: [PATCH] Add an option to disable the ossaudiodev module - -Signed-off-by: Zoltan Gyarmati <[email protected]> -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard <[email protected]> ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 3848b16b9f..6d19cdee95 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2927,6 +2927,12 @@ if test "$CURSES" = "no"; then - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _curses _curses_panel" - fi - -+AC_ARG_ENABLE(ossaudiodev, -+ AS_HELP_STRING([--disable-ossaudiodev], [disable OSSAUDIODEV]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ossaudiodev" -+ fi]) -+ - AC_SUBST(PYDOC) - - AC_ARG_ENABLE(pydoc, --- -2.11.0 -
package/python/0032-Add-option-to-disable-the-hashlib-module.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From 479bef8182c4f6b678a86820ccc06760ca60c286 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Tue, 7 Mar 2017 22:33:02 +0100 -Subject: [PATCH] Add option to disable the hashlib module - -Signed-off-by: Thomas Petazzoni <[email protected]> -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard <[email protected]> ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 6d19cdee95..ddccc79c2c 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2869,6 +2869,12 @@ AC_ARG_ENABLE(ssl, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _ssl" - fi]) - -+AC_ARG_ENABLE(hashlib, -+ AS_HELP_STRING([--disable-hashlib], [disable hashlib]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _hashlib" -+ fi]) -+ - AC_ARG_ENABLE(bz2, - AS_HELP_STRING([--disable-bz2], [disable BZIP2]), - [ if test "$enableval" = "no"; then --- -2.11.0 -
package/python/0033-Add-an-option-to-disable-readline-module.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From abea92958b073dfbf0c78bcb31ce9cfc709c20ca Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni <[email protected]> -Date: Tue, 7 Mar 2017 22:33:55 +0100 -Subject: [PATCH] Add an option to disable readline module - -Signed-off-by: Thomas Petazzoni <[email protected]> -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard <[email protected]> ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index ddccc79c2c..dae266326e 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2875,6 +2875,12 @@ AC_ARG_ENABLE(hashlib, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _hashlib" - fi]) - -+AC_ARG_ENABLE(readline, -+ AS_HELP_STRING([--disable-readline], [disable readline]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} readline" -+ fi]) -+ - AC_ARG_ENABLE(bz2, - AS_HELP_STRING([--disable-bz2], [disable BZIP2]), - [ if test "$enableval" = "no"; then --- -2.11.0 -
package/python/0034-Override-system-locale-and-set-to-default-when-addin.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From d2bfa8805206db8c57c182094396d20a9d94bd8f Mon Sep 17 00:00:00 2001 -From: Samuel Cabrero <[email protected]> -Date: Sat, 1 Apr 2017 09:31:52 +0200 -Subject: [PATCH] Override system locale and set to default when adding gcc - paths - -Forces the use of the default locale in the function -add_gcc_paths, which is called when cross compiling to add the -include and library paths. This is necessary because otherwise -the gcc output is localized and the output parsing fails, which -results in no paths added and detect_modules not able to find -any system library (eg. libz, libssl, etc.) - -[Thomas: patch taken from https://bugs.python.org/issue23767.] - -Signed-off-by: Samuel Cabrero <[email protected]> -Signed-off-by: Thomas Petazzoni <[email protected]> ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 8045a9b..c14f4ab 100644 ---- a/setup.py -+++ b/setup.py -@@ -430,7 +430,7 @@ class PyBuildExt(build_ext): - tmpfile = os.path.join(self.build_temp, 'gccpaths') - if not os.path.exists(self.build_temp): - os.makedirs(self.build_temp) -- ret = os.system('%s -E -v - </dev/null 2>%s 1>/dev/null' % (gcc, tmpfile)) -+ ret = os.system('LC_ALL=C %s -E -v - </dev/null 2>%s 1>/dev/null' % (gcc, tmpfile)) - is_gcc = False - in_incdirs = False - inc_dirs = [] --- -2.7.4 -
package/python/Config.in.host deleted +0 -16
@@ -1,16 +0,0 @@ -config BR2_PACKAGE_HOST_PYTHON - bool "host python" - help - The python language interpreter. Host package. - - http://www.python.org/ - -if BR2_PACKAGE_HOST_PYTHON - -config BR2_PACKAGE_HOST_PYTHON_SSL - bool "ssl" - select BR2_PACKAGE_HOST_OPENSSL - help - _ssl module for host Python. - -endif
package/python/python.hash deleted +0 -5
@@ -1,5 +0,0 @@ -# From https://www.python.org/downloads/release/python-2718/ -md5 fd6cc8ec0a78c44036f825e739f36e5a Python-2.7.18.tar.xz -# Locally calculated -sha256 b62c0e7937551d0cc02b8fd5cb0f544f9405bafc9a54d3808ed4594812edef43 Python-2.7.18.tar.xz -sha256 de4d1f2d2ad5ad0cfd1657a106476b31cb5db5ef9d1ff842b237c0c81f0c8a23 LICENSE
package/python/python.mk deleted +0 -302
302 lines not on this page · raw message
Signature · 7 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedRe: [Buildroot] [PATCH 084/107] package/python: drop host package
Peter, All,
On 2022-02-09 17:51 +0100, Peter Korsgaard spake thusly:
Quoted 2 lines
Signed-off-by Peter Korsgaard <[email protected]>---
...
Quoted 4 lines
package/python/Config.in.host | 16 - package/python/python.hash | 5 - package/python/python.mk | 302 ------------------ 37 files changed, 2301 deletions(-)
You forgot to update DEVELOPPERS, so I cherry-picked the hunk from patch 102 and applied it here.
Applied to master, thanks.
Regards,
Yann E. MORIN.
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 85/107 package/python-backports-abc: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ package/Config.in | 1 - package/python-backports-abc/Config.in | 8 -------- .../python-backports-abc/python-backports-abc.hash | 5 ----- .../python-backports-abc/python-backports-abc.mk | 14 -------------- 5 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 package/python-backports-abc/Config.in delete mode 100644 package/python-backports-abc/python-backports-abc.hash delete mode 100644 package/python-backports-abc/python-backports-abc.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_BACKPORTS_ABC + bool "python-backports-abc removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON bool "python2.7 package removed" select BR2_LEGACY
package/Config.in +0 -1
@@ -941,7 +941,6 @@ menu "External python modules" source "package/python-avro/Config.in" source "package/python-babel/Config.in" source "package/python-backcall/Config.in" - source "package/python-backports-abc/Config.in" source "package/python-backports-shutil-get-terminal-size/Config.in" source "package/python-backports-ssl-match-hostname/Config.in" source "package/python-bcrypt/Config.in"
package/python-backports-abc/Config.in deleted +0 -8
@@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_BACKPORTS_ABC - bool "python-backports-abc" - depends on BR2_PACKAGE_PYTHON - help - A backport of recent additions to the 'collections.abc' - module. - - https://pypi.python.org/pypi/backports_abc
package/python-backports-abc/python-backports-abc.hash deleted +0 -5
@@ -1,5 +0,0 @@ -# md5 from https://pypi.python.org/pypi/backports_abc/json -md5 7d1936ec183a3586290adf60f6f96764 backports_abc-0.5.tar.gz -# Locally computed -sha256 033be54514a03e255df75c5aee8f9e672f663f93abb723444caec8fe43437bde backports_abc-0.5.tar.gz -sha256 0a4f3b38055f50f047a42521568fa6ddb9a5976c2884f6ae138796d0f71150ca LICENSE
package/python-backports-abc/python-backports-abc.mk deleted +0 -14
@@ -1,14 +0,0 @@ -################################################################################ -# -# python-backports-abc -# -################################################################################ - -PYTHON_BACKPORTS_ABC_VERSION = 0.5 -PYTHON_BACKPORTS_ABC_SOURCE = backports_abc-$(PYTHON_BACKPORTS_ABC_VERSION).tar.gz -PYTHON_BACKPORTS_ABC_SITE = https://pypi.python.org/packages/68/3c/1317a9113c377d1e33711ca8de1e80afbaf4a3c950dd0edfaf61f9bfe6d8 -PYTHON_BACKPORTS_ABC_LICENSE = Python-2.0 -PYTHON_BACKPORTS_ABC_LICENSE_FILES = LICENSE -PYTHON_BACKPORTS_ABC_SETUP_TYPE = setuptools - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 86/107 package/python-backports-shutil-get-terminal-size: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ DEVELOPERS | 1 - package/Config.in | 1 - .../Config.in | 8 -------- .../python-backports-shutil-get-terminal-size.hash | 5 ----- .../python-backports-shutil-get-terminal-size.mk | 14 -------------- 6 files changed, 6 insertions(+), 29 deletions(-) delete mode 100644 package/python-backports-shutil-get-terminal-size/Config.in delete mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash delete mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE + bool "python-backports-shutil-get-terminal-size removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_BACKPORTS_ABC bool "python-backports-abc removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -143,7 +143,6 @@ N: Andreas Ziegler <[email protected]> F: package/mpd/ N: Andrey Smirnov <[email protected]> -F: package/python-backports-shutil-get-terminal-size/ F: package/python-decorator/ F: package/python-ipython-genutils/ F: package/python-pathlib2/
package/Config.in +0 -1
@@ -941,7 +941,6 @@ menu "External python modules" source "package/python-avro/Config.in" source "package/python-babel/Config.in" source "package/python-backcall/Config.in" - source "package/python-backports-shutil-get-terminal-size/Config.in" source "package/python-backports-ssl-match-hostname/Config.in" source "package/python-bcrypt/Config.in" source "package/python-beautifulsoup4/Config.in"
package/python-backports-shutil-get-terminal-size/Config.in deleted +0 -8
@@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE - bool "python-backports-shutil-get-terminal-size" - depends on BR2_PACKAGE_PYTHON - help - A backport of the get_terminal_size function from Python - 3.3's shutil. - - https://pypi.python.org/pypi/backports.shutil_get_terminal_size
package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash deleted +0 -5
@@ -1,5 +0,0 @@ -# md5 from https://pypi.python.org/pypi/backports.shutil_get_terminal_size/json -md5 03267762480bd86b50580dc19dff3c66 backports.shutil_get_terminal_size-1.0.0.tar.gz -# Locally computed -sha256 713e7a8228ae80341c70586d1cc0a8caa5207346927e23d09dcbcaf18eadec80 backports.shutil_get_terminal_size-1.0.0.tar.gz -sha256 9edd99f8c339cddbfe36a9707e671fccf245b3e50b80eec0877dccec87a2dfe4 LICENSE
package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk deleted +0 -14
@@ -1,14 +0,0 @@ -################################################################################ -# -# python-backports-shutil-get-terminal-size -# -################################################################################ - -PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_VERSION = 1.0.0 -PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SOURCE = backports.shutil_get_terminal_size-$(PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_VERSION).tar.gz -PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SITE = https://pypi.python.org/packages/ec/9c/368086faa9c016efce5da3e0e13ba392c9db79e3ab740b763fe28620b18b -PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SETUP_TYPE = setuptools -PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_LICENSE = MIT -PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_LICENSE_FILES = LICENSE - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 87/107 package/python-backports-ssl-match-hostname: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ DEVELOPERS | 1 - package/Config.in | 1 - .../python-backports-ssl-match-hostname/Config.in | 7 ------- .../python-backports-ssl-match-hostname.hash | 5 ----- .../python-backports-ssl-match-hostname.mk | 14 -------------- 6 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 package/python-backports-ssl-match-hostname/Config.in delete mode 100644 package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.hash delete mode 100644 package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME + bool "python-backports-ssl-match-hostname removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE bool "python-backports-shutil-get-terminal-size removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -2243,7 +2243,6 @@ F: package/lzop/ F: package/memtool/ F: package/mosquitto/ F: package/python-alsaaudio/ -F: package/python-backports-ssl-match-hostname/ F: package/python-cached-property/ F: package/python-docker/ F: package/python-dockerpty/
package/Config.in +0 -1
@@ -941,7 +941,6 @@ menu "External python modules" source "package/python-avro/Config.in" source "package/python-babel/Config.in" source "package/python-backcall/Config.in" - source "package/python-backports-ssl-match-hostname/Config.in" source "package/python-bcrypt/Config.in" source "package/python-beautifulsoup4/Config.in" source "package/python-bidict/Config.in"
package/python-backports-ssl-match-hostname/Config.in deleted +0 -7
@@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME - bool "python-backports-ssl-match-hostname" - depends on BR2_PACKAGE_PYTHON - help - The ssl.match_hostname() function from Python 3.5. - - http://bitbucket.org/brandon/backports.ssl_match_hostname
package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.hash deleted +0 -5
@@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/backports.ssl_match_hostname/json -md5 32d2f593af01a046bec3d2f5181a420a backports.ssl_match_hostname-3.7.0.1.tar.gz -sha256 bb82e60f9fbf4c080eabd957c39f0641f0fc247d9a16e31e26d594d8f42b9fd2 backports.ssl_match_hostname-3.7.0.1.tar.gz -# Locally computed sha256 checksums -sha256 bfc8a75a4b9aec224aa7973c0c9d7cc0134bdcbf8eefd008936b58554d66e97e LICENSE.txt
package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.mk deleted +0 -14
@@ -1,14 +0,0 @@ -################################################################################ -# -# python-backports-ssl-match-hostname -# -################################################################################ - -PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_VERSION = 3.7.0.1 -PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_SOURCE = backports.ssl_match_hostname-$(PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_VERSION).tar.gz -PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_SITE = https://files.pythonhosted.org/packages/ff/2b/8265224812912bc5b7a607c44bf7b027554e1b9775e9ee0de8032e3de4b2 -PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_SETUP_TYPE = distutils -PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_LICENSE = Python-2.0 -PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_LICENSE_FILES = LICENSE.txt - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 88/107 package/python-futures: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ DEVELOPERS | 1 - package/Config.in | 1 - package/python-futures/Config.in | 7 ------- package/python-futures/python-futures.hash | 5 ----- package/python-futures/python-futures.mk | 14 -------------- 6 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 package/python-futures/Config.in delete mode 100644 package/python-futures/python-futures.hash delete mode 100644 package/python-futures/python-futures.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_FUTURES + bool "python-futures removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME bool "python-backports-ssl-match-hostname removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -436,7 +436,6 @@ F: package/pulseaudio/ F: package/pure-ftpd/ F: package/python-couchdb/ F: package/python-cssutils/ -F: package/python-futures/ F: package/python-mwclient/ F: package/python-mwscrape/ F: package/python-mwscrape2slob/
package/Config.in +0 -1
@@ -1032,7 +1032,6 @@ menu "External python modules" source "package/python-frozenlist/Config.in" source "package/python-functools32/Config.in" source "package/python-future/Config.in" - source "package/python-futures/Config.in" source "package/python-git/Config.in" source "package/python-gitdb2/Config.in" source "package/python-gnupg/Config.in"
package/python-futures/Config.in deleted +0 -7
@@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_FUTURES - bool "python-futures" - depends on BR2_PACKAGE_PYTHON # not needed for python3 - help - Backport of the concurrent.futures package from Python 3.2. - - https://github.com/agronholm/pythonfutures
package/python-futures/python-futures.hash deleted +0 -5
@@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/futures/json -md5 b43a39ae1475e3fd6940f2b4f7214675 futures-3.3.0.tar.gz -sha256 7e033af76a5e35f58e56da7a91e687706faf4e7bdfb2cbc3f2cca6b9bcda9794 futures-3.3.0.tar.gz -# Locally computed sha256 checksums -sha256 a698bd5d441e4a16af6c992b8e80cbfa12755d72d910854fa1fb11d4deb0059a LICENSE
package/python-futures/python-futures.mk deleted +0 -14
@@ -1,14 +0,0 @@ -################################################################################ -# -# python-futures -# -################################################################################ - -PYTHON_FUTURES_VERSION = 3.3.0 -PYTHON_FUTURES_SOURCE = futures-$(PYTHON_FUTURES_VERSION).tar.gz -PYTHON_FUTURES_SITE = https://files.pythonhosted.org/packages/47/04/5fc6c74ad114032cd2c544c575bffc17582295e9cd6a851d6026ab4b2c00 -PYTHON_FUTURES_SETUP_TYPE = setuptools -PYTHON_FUTURES_LICENSE = BSD-2-Clause -PYTHON_FUTURES_LICENSE_FILES = LICENSE - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 89/107 package/python-id3: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ DEVELOPERS | 1 - package/Config.in | 1 - package/python-id3/Config.in | 9 --------- package/python-id3/python-id3.hash | 3 --- package/python-id3/python-id3.mk | 14 -------------- 6 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 package/python-id3/Config.in delete mode 100644 package/python-id3/python-id3.hash delete mode 100644 package/python-id3/python-id3.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_ID3 + bool "python-id3 removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_FUTURES bool "python-futures removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -729,7 +729,6 @@ F: package/wireless-regdb/ N: Dominik Faessler <[email protected]> F: package/logsurfer/ -F: package/python-id3/ N: Doug Kehn <[email protected]> F: package/nss-pam-ldapd/
package/Config.in +0 -1
@@ -1049,7 +1049,6 @@ menu "External python modules" source "package/python-hyperframe/Config.in" source "package/python-hyperlink/Config.in" source "package/python-ibmiotf/Config.in" - source "package/python-id3/Config.in" source "package/python-idna/Config.in" source "package/python-ifaddr/Config.in" source "package/python-incremental/Config.in"
package/python-id3/Config.in deleted +0 -9
@@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_ID3 - bool "python-id3" - depends on BR2_PACKAGE_PYTHON - help - This module allows one to read and manipulate so-called ID3 - informational tags on MP3 files through an object-oriented - Python interface. - - http://id3-py.sourceforge.net/
package/python-id3/python-id3.hash deleted +0 -3
@@ -1,3 +0,0 @@ -# Locally computed: -sha256 ba612342b59a49cbf9a7eb23a646667757ffda96dc23b67245fc6cd8d90c2022 id3-py_1.2.tar.gz -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING
package/python-id3/python-id3.mk deleted +0 -14
@@ -1,14 +0,0 @@ -################################################################################ -# -# python-id3 -# -################################################################################ - -PYTHON_ID3_VERSION = 1.2 -PYTHON_ID3_SOURCE = id3-py_$(PYTHON_ID3_VERSION).tar.gz -PYTHON_ID3_SITE = http://downloads.sourceforge.net/project/id3-py/id3-py/$(PYTHON_ID3_VERSION) -PYTHON_ID3_SETUP_TYPE = distutils -PYTHON_ID3_LICENSE = GPL-2.0+ -PYTHON_ID3_LICENSE_FILES = COPYING - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 90/107 package/python-ipaddr: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ DEVELOPERS | 1 - package/Config.in | 1 - package/python-ipaddr/Config.in | 9 --------- package/python-ipaddr/python-ipaddr.hash | 5 ----- package/python-ipaddr/python-ipaddr.mk | 14 -------------- 6 files changed, 6 insertions(+), 30 deletions(-) delete mode 100644 package/python-ipaddr/Config.in delete mode 100644 package/python-ipaddr/python-ipaddr.hash delete mode 100644 package/python-ipaddr/python-ipaddr.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_IPADDR + bool "python-ipaddr removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_ID3 bool "python-id3 removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -2248,7 +2248,6 @@ F: package/python-docker-pycreds/ F: package/python-enum/ F: package/python-enum34/ F: package/python-functools32/ -F: package/python-ipaddr/ F: package/python-pam/ F: package/python-psutil/ F: package/python-request-id/
package/Config.in +0 -1
@@ -1058,7 +1058,6 @@ menu "External python modules" source "package/python-iniparse/Config.in" source "package/python-intelhex/Config.in" source "package/python-iowait/Config.in" - source "package/python-ipaddr/Config.in" source "package/python-ipaddress/Config.in" source "package/python-ipdb/Config.in" source "package/python-iptables/Config.in"
package/python-ipaddr/Config.in deleted +0 -9
@@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_IPADDR - bool "python-ipaddr" - depends on BR2_PACKAGE_PYTHON # included since python3.3 - help - An IPv4/IPv6 manipulation library in Python. This library is - used to create/poke/manipulate IPv4 and IPv6 addresses and - prefixes. - - https://github.com/google/ipaddr-py
package/python-ipaddr/python-ipaddr.hash deleted +0 -5
@@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/ipaddr/json -md5 f88353e40dec06410acfa075b8209b27 ipaddr-2.2.0.tar.gz -sha256 4092dfe667588d16aa12b59acb7c8a4024e5dcb23a681cd0b0b602373eca88d6 ipaddr-2.2.0.tar.gz -# Locally computed sha256 checksums -sha256 175b3b509d5c840db72ad8c22d22a690d15c67b317f34de8a8bb0a66059e8215 COPYING
package/python-ipaddr/python-ipaddr.mk deleted +0 -14
@@ -1,14 +0,0 @@ -################################################################################ -# -# python-ipaddr -# -################################################################################ - -PYTHON_IPADDR_VERSION = 2.2.0 -PYTHON_IPADDR_SOURCE = ipaddr-$(PYTHON_IPADDR_VERSION).tar.gz -PYTHON_IPADDR_SITE = https://files.pythonhosted.org/packages/9d/a7/1b39a16cb90dfe491f57e1cab3103a15d4e8dd9a150872744f531b1106c1 -PYTHON_IPADDR_SETUP_TYPE = distutils -PYTHON_IPADDR_LICENSE = Apache-2.0 -PYTHON_IPADDR_LICENSE_FILES = COPYING - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 91/107 package/python-ipaddress: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ package/Config.in | 1 - package/python-ipaddress/Config.in | 7 ------- package/python-ipaddress/python-ipaddress.hash | 5 ----- package/python-ipaddress/python-ipaddress.mk | 14 -------------- 5 files changed, 6 insertions(+), 27 deletions(-) delete mode 100644 package/python-ipaddress/Config.in delete mode 100644 package/python-ipaddress/python-ipaddress.hash delete mode 100644 package/python-ipaddress/python-ipaddress.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_IPADDRESS + bool "python-ipaddress removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_IPADDR bool "python-ipaddr removed" select BR2_LEGACY
package/Config.in +0 -1
@@ -1058,7 +1058,6 @@ menu "External python modules" source "package/python-iniparse/Config.in" source "package/python-intelhex/Config.in" source "package/python-iowait/Config.in" - source "package/python-ipaddress/Config.in" source "package/python-ipdb/Config.in" source "package/python-iptables/Config.in" source "package/python-ipy/Config.in"
package/python-ipaddress/Config.in deleted +0 -7
@@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_IPADDRESS - bool "python-ipaddress" - depends on BR2_PACKAGE_PYTHON - help - Python 3.3's ipaddress for older Python versions. - - https://github.com/phihag/ipaddress
package/python-ipaddress/python-ipaddress.hash deleted +0 -5
@@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/ipaddress/json -md5 aaee67a8026782af1831148beb0d9060 ipaddress-1.0.23.tar.gz -sha256 b7f8e0369580bb4a24d5ba1d7cc29660a4a6987763faf1d8a8046830e020e7e2 ipaddress-1.0.23.tar.gz -# Locally computed sha256 checksums -sha256 38675419eb4a79ec616396d70f1254b3a433fb7088fb3f4cc9b6c0bcdcec6162 LICENSE
package/python-ipaddress/python-ipaddress.mk deleted +0 -14
@@ -1,14 +0,0 @@ -################################################################################ -# -# python-ipaddress -# -################################################################################ - -PYTHON_IPADDRESS_VERSION = 1.0.23 -PYTHON_IPADDRESS_SOURCE = ipaddress-$(PYTHON_IPADDRESS_VERSION).tar.gz -PYTHON_IPADDRESS_SITE = https://files.pythonhosted.org/packages/b9/9a/3e9da40ea28b8210dd6504d3fe9fe7e013b62bf45902b458d1cdc3c34ed9 -PYTHON_IPADDRESS_LICENSE = Python-2.0 -PYTHON_IPADDRESS_LICENSE_FILES = LICENSE -PYTHON_IPADDRESS_SETUP_TYPE = setuptools - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 92/107 package/python-mad: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ DEVELOPERS | 1 - package/Config.in | 1 - package/python-mad/Config.in | 9 --------- package/python-mad/python-mad.hash | 3 --- package/python-mad/python-mad.mk | 29 ----------------------------- 6 files changed, 6 insertions(+), 43 deletions(-) delete mode 100644 package/python-mad/Config.in delete mode 100644 package/python-mad/python-mad.hash delete mode 100644 package/python-mad/python-mad.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_MAD + bool "python-mad removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_IPADDRESS bool "python-ipaddress removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -2805,7 +2805,6 @@ F: package/python3/ F: package/python-augeas/ F: package/python-flask-expects-json/ F: package/python-git/ -F: package/python-mad/ F: package/python-serial/ F: package/python-unittest-xml-reporting/ F: package/qextserialport/
package/Config.in +0 -1
@@ -1086,7 +1086,6 @@ menu "External python modules" source "package/python-lxml/Config.in" source "package/python-m2crypto/Config.in" source "package/python-m2r/Config.in" - source "package/python-mad/Config.in" source "package/python-mako/Config.in" source "package/python-markdown/Config.in" source "package/python-markdown2/Config.in"
package/python-mad/Config.in deleted +0 -9
@@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_MAD - bool "python-mad" - depends on BR2_PACKAGE_PYTHON - select BR2_PACKAGE_LIBMAD - help - python-mad is a Python binding for the MAD library, a - high-quality integer-only MPEG decoder. - - http://spacepants.org/src/pymad/
package/python-mad/python-mad.hash deleted +0 -3
@@ -1,3 +0,0 @@ -# locally computed -sha256 1c9fc529b78de7d26e9e47cf182c9f8bf43838d8f62a9c1773540d57f5ebc522 pymad-0.6.tar.gz -sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING
package/python-mad/python-mad.mk deleted +0 -29
@@ -1,29 +0,0 @@ -################################################################################ -# -# python-mad -# -################################################################################ - -PYTHON_MAD_VERSION = 0.6 -PYTHON_MAD_SOURCE = pymad-$(PYTHON_MAD_VERSION).tar.gz -PYTHON_MAD_SITE = http://spacepants.org/src/pymad/download -PYTHON_MAD_SETUP_TYPE = distutils -PYTHON_MAD_LICENSE = GPL-2.0+ -PYTHON_MAD_LICENSE_FILES = COPYING - -PYTHON_MAD_DEPENDENCIES = libmad - -ifeq ($(BR2_ENDIAN),"LITTLE") -PYTHON_MAD_ENDIAN = little -else -PYTHON_MAD_ENDIAN = big -endif - -define PYTHON_MAD_CONFIGURE_CMDS - echo "endian = $(PYTHON_MAD_ENDIAN)" > $(@D)/Setup - echo "mad_libs = mad" >> $(@D)/Setup - echo "mad_lib_dir = $(STAGING_DIR)/usr/lib" >> $(@D)/Setup - echo "mad_include_dir = $(STAGING_DIR)/usr/include" >> $(@D)/Setup -endef - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 93/107 package/python-nfc: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ DEVELOPERS | 1 - package/Config.in | 1 - package/python-nfc/Config.in | 16 ---------------- package/python-nfc/python-nfc.hash | 3 --- package/python-nfc/python-nfc.mk | 14 -------------- 6 files changed, 6 insertions(+), 35 deletions(-) delete mode 100644 package/python-nfc/Config.in delete mode 100644 package/python-nfc/python-nfc.hash delete mode 100644 package/python-nfc/python-nfc.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_NFC + bool "python-nfc removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_MAD bool "python-mad removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -2598,7 +2598,6 @@ F: package/nanocom/ F: package/neard/ F: package/neardal/ F: package/owl-linux/ -F: package/python-nfc/ F: package/rapidjson/ F: package/sconeserver/ F: package/sound-theme-borealis/
package/Config.in +0 -1
@@ -1110,7 +1110,6 @@ menu "External python modules" source "package/python-netifaces/Config.in" source "package/python-networkmanager/Config.in" source "package/python-networkx/Config.in" - source "package/python-nfc/Config.in" source "package/python-numpy/Config.in" source "package/python-oauthlib/Config.in" source "package/python-opcua-asyncio/Config.in"
package/python-nfc/Config.in deleted +0 -16
@@ -1,16 +0,0 @@ -config BR2_PACKAGE_PYTHON_NFC - bool "python-nfc" - depends on BR2_PACKAGE_PYTHON - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBUSB - select BR2_PACKAGE_LIBUSB_COMPAT - help - Python module for near field communication. - - https://launchpad.net/nfcpy - -comment "python-nfc needs a toolchain w/ threads, gcc >= 4.9" - depends on BR2_PACKAGE_PYTHON - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
package/python-nfc/python-nfc.hash deleted +0 -3
@@ -1,3 +0,0 @@ -# Locally computed: -sha256 7ff9265e393e9e70173ecef5a1f9124e67d3b6e481c2dc3a9537b6a769ebe16f python-nfc-0.13.5.tar.gz -sha256 0dc4b0a3362f197e250604567a6b4eb16bbc34c186425401e2201a193a82549f LICENSE
package/python-nfc/python-nfc.mk deleted +0 -14
@@ -1,14 +0,0 @@ -################################################################################ -# -# python-nfc -# -################################################################################ - -PYTHON_NFC_VERSION = 0.13.5 -PYTHON_NFC_SITE = $(call github,nfcpy,nfcpy,v$(PYTHON_NFC_VERSION)) -PYTHON_NFC_DEPENDENCIES = libusb libusb-compat -PYTHON_NFC_SETUP_TYPE = setuptools -PYTHON_NFC_LICENSE = EUPL-1.1+ -PYTHON_NFC_LICENSE_FILES = LICENSE - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 94/107 package/python-pam: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 + DEVELOPERS | 1 - package/Config.in | 1 - package/python-pam/0001-dealloc.patch | 25 ---- package/python-pam/0002-nofree.patch | 68 --------- .../0003-memory-errors-CVE2012-1502.patch | 136 ------------------ package/python-pam/Config.in | 16 --- package/python-pam/python-pam.hash | 3 - package/python-pam/python-pam.mk | 16 --- 9 files changed, 6 insertions(+), 266 deletions(-) delete mode 100644 package/python-pam/0001-dealloc.patch delete mode 100644 package/python-pam/0002-nofree.patch delete mode 100644 package/python-pam/0003-memory-errors-CVE2012-1502.patch delete mode 100644 package/python-pam/Config.in delete mode 100644 package/python-pam/python-pam.hash delete mode 100644 package/python-pam/python-pam.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_PAM + bool "python-pam removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_NFC bool "python-nfc removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -2248,7 +2248,6 @@ F: package/python-docker-pycreds/ F: package/python-enum/ F: package/python-enum34/ F: package/python-functools32/ -F: package/python-pam/ F: package/python-psutil/ F: package/python-request-id/ F: package/python-semver/
package/Config.in +0 -1
@@ -1115,7 +1115,6 @@ menu "External python modules" source "package/python-opcua-asyncio/Config.in" source "package/python-packaging/Config.in" source "package/python-paho-mqtt/Config.in" - source "package/python-pam/Config.in" source "package/python-paramiko/Config.in" source "package/python-parso/Config.in" source "package/python-passlib/Config.in"
package/python-pam/0001-dealloc.patch deleted +0 -25
@@ -1,25 +0,0 @@ -[PATCH] fix two bugs in the PAM object deallocation - -Fixes https://bugzilla.redhat.com/show_bug.cgi?id=658955 - -Downloaded from: -http://pkgs.fedoraproject.org/cgit/PyPAM.git/plain/PyPAM-0.5.0-dealloc.patch - -Signed-off-by: Peter Korsgaard <[email protected]> -diff -up PyPAM-0.5.0/PAMmodule.c.dealloc PyPAM-0.5.0/PAMmodule.c ---- PyPAM-0.5.0/PAMmodule.c.dealloc 2011-01-17 22:48:22.000000000 +0100 -+++ PyPAM-0.5.0/PAMmodule.c 2011-01-18 21:24:59.000000000 +0100 -@@ -538,10 +538,11 @@ static void PyPAM_dealloc(PyPAMObject *s - free(self->service); - free(self->user); - free(self->conv); -- pam_end(self->pamh, PAM_SUCCESS); -+ if (self->pamh) -+ pam_end(self->pamh, PAM_SUCCESS); - dlclose(self->dlh2); - dlclose(self->dlh1); -- PyMem_DEL(self); -+ PyObject_Del(self); - } - - static PyObject * PyPAM_getattr(PyPAMObject *self, char *name)
package/python-pam/0002-nofree.patch deleted +0 -68
68 lines not on this page · raw message
package/python-pam/0003-memory-errors-CVE2012-1502.patch deleted +0 -136
136 lines not on this page · raw message
package/python-pam/Config.in deleted +0 -16
@@ -1,16 +0,0 @@ -comment "python-pam needs a toolchain w/ wchar, locale, dynamic library" - depends on BR2_PACKAGE_PYTHON - depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR || BR2_STATIC_LIBS - -config BR2_PACKAGE_PYTHON_PAM - bool "python-pam" - depends on BR2_PACKAGE_PYTHON # C extension not compatible with python3 - depends on BR2_ENABLE_LOCALE # linux-pam - depends on BR2_USE_WCHAR # linux-pam - depends on BR2_USE_MMU # linux-pam - depends on !BR2_STATIC_LIBS # linux-pam - select BR2_PACKAGE_LINUX_PAM - help - PAM (Pluggable Authentication Module) bindings for Python. - - https://admin.fedoraproject.org/pkgdb/package/PyPAM/
package/python-pam/python-pam.hash deleted +0 -3
@@ -1,3 +0,0 @@ -# locally computed -sha256 796ac019b9ee805696d0d277d8fb912fa2391b6ac070dc6f9f1a9a0fadbc3a5a PyPAM-0.5.0.tar.gz -sha256 ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532 COPYING
package/python-pam/python-pam.mk deleted +0 -16
@@ -1,16 +0,0 @@ -################################################################################ -# -# python-pam -# -################################################################################ - -PYTHON_PAM_VERSION = 0.5.0 -PYTHON_PAM_SOURCE = PyPAM-$(PYTHON_PAM_VERSION).tar.gz -# pangalactic.org gone -PYTHON_PAM_SITE = http://pkgs.fedoraproject.org/repo/pkgs/PyPAM/PyPAM-0.5.0.tar.gz/f1e7c2c56421dda28a75ace59a3c8871 -PYTHON_PAM_SETUP_TYPE = distutils -PYTHON_PAM_LICENSE = LGPL-2.1 -PYTHON_PAM_LICENSE_FILES = COPYING -PYTHON_PAM_DEPENDENCIES = linux-pam - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 95/107 package/python-pathlib2: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ DEVELOPERS | 1 - package/Config.in | 1 - package/python-pathlib2/Config.in | 13 ------------- package/python-pathlib2/python-pathlib2.hash | 5 ----- package/python-pathlib2/python-pathlib2.mk | 14 -------------- 6 files changed, 6 insertions(+), 34 deletions(-) delete mode 100644 package/python-pathlib2/Config.in delete mode 100644 package/python-pathlib2/python-pathlib2.hash delete mode 100644 package/python-pathlib2/python-pathlib2.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_PATHLIB2 + bool "python-pathlib2 removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_PAM bool "python-pam removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -145,7 +145,6 @@ F: package/mpd/ N: Andrey Smirnov <[email protected]> F: package/python-decorator/ F: package/python-ipython-genutils/ -F: package/python-pathlib2/ F: package/python-pickleshare/ F: package/python-scandir/ F: package/python-simplegeneric/
package/Config.in +0 -1
@@ -1118,7 +1118,6 @@ menu "External python modules" source "package/python-paramiko/Config.in" source "package/python-parso/Config.in" source "package/python-passlib/Config.in" - source "package/python-pathlib2/Config.in" source "package/python-pathpy/Config.in" source "package/python-pathtools/Config.in" source "package/python-pathvalidate/Config.in"
package/python-pathlib2/Config.in deleted +0 -13
@@ -1,13 +0,0 @@ -config BR2_PACKAGE_PYTHON_PATHLIB2 - bool "python-pathlib2" - depends on BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON_SIX # runtime - help - Object-oriented filesystem paths. - - The goal of pathlib2 is to provide a backport of standard - pathlib module which tracks the standard library module, so - all the newest features of the standard pathlib can be used - also on older Python versions. - - https://pypi.python.org/pypi/pathlib2
package/python-pathlib2/python-pathlib2.hash deleted +0 -5
@@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pathlib2/json -md5 e50a0cf94e406c5110b3aed535626e9e pathlib2-2.3.6.tar.gz -sha256 7d8bcb5555003cdf4a8d2872c538faa3a0f5d20630cb360e518ca3b981795e5f pathlib2-2.3.6.tar.gz -# Locally computed sha256 checksums -sha256 861f813004a151ac77024ad445794653809ddf8a7572aee7bab18d11df2ba1c6 LICENSE.rst
package/python-pathlib2/python-pathlib2.mk deleted +0 -14
@@ -1,14 +0,0 @@ -################################################################################ -# -# python-pathlib2 -# -################################################################################ - -PYTHON_PATHLIB2_VERSION = 2.3.6 -PYTHON_PATHLIB2_SOURCE = pathlib2-$(PYTHON_PATHLIB2_VERSION).tar.gz -PYTHON_PATHLIB2_SITE = https://files.pythonhosted.org/packages/df/16/e9d6bcf1aed52a55bc1696324ab22586716053b3e97b85266e0f3ad36bae -PYTHON_PATHLIB2_LICENSE = MIT -PYTHON_PATHLIB2_LICENSE_FILES = LICENSE.rst -PYTHON_PATHLIB2_SETUP_TYPE = setuptools - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 96/107 package/python-pypcap: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ DEVELOPERS | 1 - package/Config.in | 1 - package/python-pypcap/Config.in | 9 --------- package/python-pypcap/python-pypcap.hash | 3 --- package/python-pypcap/python-pypcap.mk | 21 --------------------- 6 files changed, 6 insertions(+), 35 deletions(-) delete mode 100644 package/python-pypcap/Config.in delete mode 100644 package/python-pypcap/python-pypcap.hash delete mode 100644 package/python-pypcap/python-pypcap.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_PYPCAP + bool "python-pypcap removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_PATHLIB2 bool "python-pathlib2 removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -1934,7 +1934,6 @@ F: package/python-ipy/ F: package/python-iwlib/ F: package/python-posix-ipc/ F: package/python-pycairo/ -F: package/python-pypcap/ F: package/python-pyrex/ F: package/python-pysftp/ F: package/python-tinyrpc/
package/Config.in +0 -1
@@ -1172,7 +1172,6 @@ menu "External python modules" source "package/python-pyopenssl/Config.in" source "package/python-pyparsing/Config.in" source "package/python-pyparted/Config.in" - source "package/python-pypcap/Config.in" source "package/python-pyphen/Config.in" source "package/python-pyqrcode/Config.in" source "package/python-pyqt5/Config.in"
package/python-pypcap/Config.in deleted +0 -9
@@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYPCAP - bool "python-pypcap" - depends on BR2_PACKAGE_PYTHON - select BR2_PACKAGE_LIBPCAP - help - The pypcap module is an object-oriented wrapper of the C - libpcap library. - - https://github.com/dugsong/pypcap
package/python-pypcap/python-pypcap.hash deleted +0 -3
@@ -1,3 +0,0 @@ -# locally computed -sha256 5716d97b39d40b79daf7b0c6a8c8c514f5f1de8f20561c8621ee62a90b93fb03 python-pypcap-6f46e7bf29a648256ddc732a7d0ec83d3ffca390.tar.gz -sha256 48306c284fdbdf836b880528c3bdd658deac47ed78ffeb24a4ca5a8c39a39304 LICENSE
package/python-pypcap/python-pypcap.mk deleted +0 -21
@@ -1,21 +0,0 @@ -################################################################################ -# -# python-pypcap -# -################################################################################ - -PYTHON_PYPCAP_VERSION = 6f46e7bf29a648256ddc732a7d0ec83d3ffca390 -PYTHON_PYPCAP_SITE = $(call github,dugsong,pypcap,$(PYTHON_PYPCAP_VERSION)) -PYTHON_PYPCAP_LICENSE = BSD-3-Clause -PYTHON_PYPCAP_LICENSE_FILES = LICENSE -PYTHON_PYPCAP_SETUP_TYPE = distutils -PYTHON_PYPCAP_DEPENDENCIES = host-python-pyrex libpcap - -define PYTHON_PYPCAP_CONFIGURE_CMDS - $(HOST_DIR)/bin/python2 $(HOST_DIR)/bin/pyrexc $(@D)/pcap.pyx - (cd $(@D); \ - $(HOST_DIR)/bin/python setup.py \ - config --with-pcap=$(STAGING_DIR)/usr) -endef - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 97/107 package/python-pyro: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ package/Config.in | 1 - package/python-pyro/Config.in | 10 ---------- package/python-pyro/python-pyro.hash | 5 ----- package/python-pyro/python-pyro.mk | 16 ---------------- 5 files changed, 6 insertions(+), 32 deletions(-) delete mode 100644 package/python-pyro/Config.in delete mode 100644 package/python-pyro/python-pyro.hash delete mode 100644 package/python-pyro/python-pyro.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_PYRO + bool "python-pyro removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_PYPCAP bool "python-pypcap removed" select BR2_LEGACY
package/Config.in +0 -1
@@ -1176,7 +1176,6 @@ menu "External python modules" source "package/python-pyqrcode/Config.in" source "package/python-pyqt5/Config.in" source "package/python-pyratemp/Config.in" - source "package/python-pyro/Config.in" source "package/python-pyroute2/Config.in" source "package/python-pysendfile/Config.in" source "package/python-pysftp/Config.in"
package/python-pyro/Config.in deleted +0 -10
@@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYRO - bool "python-pyro" - depends on BR2_PACKAGE_PYTHON - help - python-pyro is a Python library stands for PYthon Remote - Objects. It is an advanced and powerful Distributed Object - Technology system written entirely in Python, that is - designed to be very easy to use.. - - https://pypi.python.org/pypi/Pyro/
package/python-pyro/python-pyro.hash deleted +0 -5
@@ -1,5 +0,0 @@ -# md5 from https://pypi.python.org/pypi/pyro/json -md5 59d4d3f4a8786776c9d7f9051b8f1a69 Pyro-3.16.tar.gz -# Locally computed -sha256 1bed508453ef7a7556b51424a58101af2349b662baab7e7331c5cb85dbe7e578 Pyro-3.16.tar.gz -sha256 7c14017a2f543384bfcde86043758b68d023b47bf09700a7df6dacbae9c82103 LICENSE
package/python-pyro/python-pyro.mk deleted +0 -16
@@ -1,16 +0,0 @@ -################################################################################ -# -# python-pyro -# -################################################################################ - -PYTHON_PYRO_VERSION = 3.16 -PYTHON_PYRO_SOURCE = Pyro-$(PYTHON_PYRO_VERSION).tar.gz -PYTHON_PYRO_SITE = https://pypi.python.org/packages/61/68/0978adae315261b87acd216517c2c7f00780396e4d1426c5412458c6a28f -PYTHON_PYRO_LICENSE = MIT -PYTHON_PYRO_LICENSE_FILES = LICENSE -PYTHON_PYRO_CPE_ID_VENDOR = pyro_project -PYTHON_PYRO_CPE_ID_PRODUCT = pyro -PYTHON_PYRO_SETUP_TYPE = setuptools - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 98/107 package/python-singledispatch: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ package/Config.in | 1 - package/python-singledispatch/Config.in | 9 --------- .../python-singledispatch.hash | 5 ----- .../python-singledispatch/python-singledispatch.mk | 14 -------------- 5 files changed, 6 insertions(+), 29 deletions(-) delete mode 100644 package/python-singledispatch/Config.in delete mode 100644 package/python-singledispatch/python-singledispatch.hash delete mode 100644 package/python-singledispatch/python-singledispatch.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_SINGLEDISPATCH + bool "python-singledispatch removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_PYRO bool "python-pyro removed" select BR2_LEGACY
package/Config.in +0 -1
@@ -1229,7 +1229,6 @@ menu "External python modules" source "package/python-simplejson/Config.in" source "package/python-simplelogging/Config.in" source "package/python-simplesqlite/Config.in" - source "package/python-singledispatch/Config.in" source "package/python-sip/Config.in" source "package/python-six/Config.in" source "package/python-slob/Config.in"
package/python-singledispatch/Config.in deleted +0 -9
@@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_SINGLEDISPATCH - bool "python-singledispatch" - depends on BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON_SIX # runtime - help - This library brings functools.singledispatch from - Python 3.4 to Python 2.6-3.3 - - https://pypi.python.org/pypi/singledispatch
package/python-singledispatch/python-singledispatch.hash deleted +0 -5
@@ -1,5 +0,0 @@ -# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=af2fc6a3d6cc5a02d0bf54d909785fcb -md5 af2fc6a3d6cc5a02d0bf54d909785fcb singledispatch-3.4.0.3.tar.gz -# Locally computed -sha256 5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c singledispatch-3.4.0.3.tar.gz -sha256 5a724c436f88585973787af91cecf58503cbf09e5c1721c516880614700767ef setup.py
package/python-singledispatch/python-singledispatch.mk deleted +0 -14
@@ -1,14 +0,0 @@ -################################################################################ -# -# python-singledispatch -# -################################################################################ - -PYTHON_SINGLEDISPATCH_VERSION = 3.4.0.3 -PYTHON_SINGLEDISPATCH_SOURCE = singledispatch-$(PYTHON_SINGLEDISPATCH_VERSION).tar.gz -PYTHON_SINGLEDISPATCH_SITE = https://pypi.python.org/packages/source/s/singledispatch -PYTHON_SINGLEDISPATCH_LICENSE = MIT -PYTHON_SINGLEDISPATCH_LICENSE_FILES = setup.py -PYTHON_SINGLEDISPATCH_SETUP_TYPE = setuptools - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 99/107 package/python-subprocess32: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++ package/Config.in | 1 - package/python-subprocess32/Config.in | 13 -------- .../python-subprocess32.hash | 5 --- .../python-subprocess32.mk | 31 ------------------- 5 files changed, 6 insertions(+), 50 deletions(-) delete mode 100644 package/python-subprocess32/Config.in delete mode 100644 package/python-subprocess32/python-subprocess32.hash delete mode 100644 package/python-subprocess32/python-subprocess32.mk
Config.in.legacy +6 -0
@@ -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
package/Config.in +0 -1
@@ -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"
package/python-subprocess32/Config.in deleted +0 -13
@@ -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
package/python-subprocess32/python-subprocess32.hash deleted +0 -5
@@ -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
package/python-subprocess32/python-subprocess32.mk deleted +0 -31
@@ -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))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 100/107 package/python-typing: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ package/Config.in | 1 - package/python-typing/Config.in | 8 -------- package/python-typing/python-typing.hash | 5 ----- package/python-typing/python-typing.mk | 15 --------------- 5 files changed, 6 insertions(+), 29 deletions(-) delete mode 100644 package/python-typing/Config.in delete mode 100644 package/python-typing/python-typing.hash delete mode 100644 package/python-typing/python-typing.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_TYPING + bool "python-typing removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_SUBPROCESS32 bool "python-subprocess32 removed" select BR2_LEGACY
package/Config.in +0 -1
@@ -1264,7 +1264,6 @@ menu "External python modules" source "package/python-txdbus/Config.in" source "package/python-txtorcon/Config.in" source "package/python-typepy/Config.in" - source "package/python-typing/Config.in" source "package/python-typing-extensions/Config.in" source "package/python-u-msgpack/Config.in" source "package/python-ubjson/Config.in"
package/python-typing/Config.in deleted +0 -8
@@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_TYPING - bool "python-typing" - depends on BR2_PACKAGE_PYTHON - help - Type Hints for Python. This is a backport of the standard - library typing module to Python versions older than 3.5. - - https://docs.python.org/3/library/typing.html
package/python-typing/python-typing.hash deleted +0 -5
@@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/typing/json -md5 d6dd450cfe0c8c6547eef09a0491775d typing-3.10.0.0.tar.gz -sha256 13b4ad211f54ddbf93e5901a9967b1e07720c1d1b78d596ac6a439641aa1b130 typing-3.10.0.0.tar.gz -# Locally computed sha256 checksums -sha256 ff17ce94e102024deb68773eb1cc74ca76da4e658f373531f0ac22d68a6bb1ad LICENSE
package/python-typing/python-typing.mk deleted +0 -15
@@ -1,15 +0,0 @@ -################################################################################ -# -# python-typing -# -################################################################################ - -PYTHON_TYPING_VERSION = 3.10.0.0 -PYTHON_TYPING_SOURCE = typing-$(PYTHON_TYPING_VERSION).tar.gz -PYTHON_TYPING_SITE = https://files.pythonhosted.org/packages/b0/1b/835d4431805939d2996f8772aca1d2313a57e8860fec0e48e8e7dfe3a477 -PYTHON_TYPING_SETUP_TYPE = setuptools -PYTHON_TYPING_LICENSE = Python-2.0, others -PYTHON_TYPING_LICENSE_FILES = LICENSE - -$(eval $(python-package)) -$(eval $(host-python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 101/107 package/python-yieldfrom: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ package/Config.in | 1 - package/python-yieldfrom/Config.in | 8 -------- package/python-yieldfrom/python-yieldfrom.hash | 5 ----- package/python-yieldfrom/python-yieldfrom.mk | 15 --------------- 5 files changed, 6 insertions(+), 29 deletions(-) delete mode 100644 package/python-yieldfrom/Config.in delete mode 100644 package/python-yieldfrom/python-yieldfrom.hash delete mode 100644 package/python-yieldfrom/python-yieldfrom.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_YIELDFROM + bool "python-yieldfrom removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_TYPING bool "python-typing removed" select BR2_LEGACY
package/Config.in +0 -1
@@ -1300,7 +1300,6 @@ menu "External python modules" source "package/python-xmodem/Config.in" source "package/python-yarl/Config.in" source "package/python-yatl/Config.in" - source "package/python-yieldfrom/Config.in" source "package/python-zc-lockfile/Config.in" source "package/python-zeroconf/Config.in" source "package/python-zope-interface/Config.in"
package/python-yieldfrom/Config.in deleted +0 -8
@@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_YIELDFROM - bool "python-yieldfrom" - depends on BR2_PACKAGE_PYTHON - help - A backport of the `yield from` semantic from Python 3.x to - Python 2.7. - - https://github.com/Nurdok/yieldfrom/
package/python-yieldfrom/python-yieldfrom.hash deleted +0 -5
@@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/yieldfrom/json -md5 fd94120625ac1e69bb5946d5e63182da yieldfrom-1.0.5.tar.gz -sha256 eb75e58641410f06083f85013a438f28bceaabfe5af9c3206d5049362c37aca0 yieldfrom-1.0.5.tar.gz -# Locally computed sha256 checksums -sha256 b3092d61cce29e25f3799285495095d220e5e015b88c1c70e1e72dae052f21e8 LICENSE
package/python-yieldfrom/python-yieldfrom.mk deleted +0 -15
@@ -1,15 +0,0 @@ -################################################################################ -# -# python-yieldfrom -# -################################################################################ - -PYTHON_YIELDFROM_VERSION = 1.0.5 -PYTHON_YIELDFROM_SOURCE = yieldfrom-$(PYTHON_YIELDFROM_VERSION).tar.gz -PYTHON_YIELDFROM_SITE = https://files.pythonhosted.org/packages/4d/f9/395917f574ace618eb234bcbae8df3fabaa9624532d96d1fbd3a20678b1e -PYTHON_YIELDFROM_SETUP_TYPE = setuptools -PYTHON_YIELDFROM_LICENSE = MIT -PYTHON_YIELDFROM_LICENSE_FILES = LICENSE - -$(eval $(python-package)) -$(eval $(host-python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 102/107 package/python-configobj: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ DEVELOPERS | 2 -- package/Config.in | 1 - package/Config.in.host | 1 - package/python-configobj/Config.in | 10 ---------- package/python-configobj/python-configobj.hash | 3 --- package/python-configobj/python-configobj.mk | 14 -------------- 7 files changed, 6 insertions(+), 31 deletions(-) delete mode 100644 package/python-configobj/Config.in delete mode 100644 package/python-configobj/python-configobj.hash delete mode 100644 package/python-configobj/python-configobj.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_CONFIGOBJ + bool "python-configobj removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_YIELDFROM bool "python-yieldfrom removed" select BR2_LEGACY
DEVELOPERS +0 -2
@@ -2796,7 +2796,6 @@ F: package/ne10/ F: package/pkg-python.mk F: package/pkg-autotools.mk F: package/pkg-generic.mk -F: package/python/ F: package/python3/ F: package/python-augeas/ F: package/python-flask-expects-json/
@@ -3034,7 +3033,6 @@ F: package/grantlee/ F: package/libusb/ F: package/libusb-compat/ F: package/proj/ -F: package/python-configobj/ F: package/python-iniparse/ F: package/qjson/ F: package/quazip/
package/Config.in +0 -1
@@ -973,7 +973,6 @@ menu "External python modules" source "package/python-colorama/Config.in" source "package/python-colorlog/Config.in" source "package/python-colorzero/Config.in" - source "package/python-configobj/Config.in" source "package/python-configshell-fb/Config.in" source "package/python-constantly/Config.in" source "package/python-couchdb/Config.in"
package/Config.in.host +0 -1
@@ -69,7 +69,6 @@ menu "Host utilities" source "package/pkgconf/Config.in.host" source "package/pru-software-support/Config.in.host" source "package/pwgen/Config.in.host" - source "package/python/Config.in.host" source "package/python-cython/Config.in.host" source "package/python-greenlet/Config.in.host" source "package/python-lxml/Config.in.host"
package/python-configobj/Config.in deleted +0 -10
@@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_CONFIGOBJ - bool "python-configobj" - depends on BR2_PACKAGE_PYTHON - help - ConfigObj is a simple but powerful config file reader and - writer: an ini file round tripper. Its main feature is that - it is very easy to use, with a straightforward programmer's - interface and a simple syntax for config files. - - http://www.voidspace.org.uk/python/configobj.html
package/python-configobj/python-configobj.hash deleted +0 -3
@@ -1,3 +0,0 @@ -# md5 from https://pypi.python.org/pypi/configobj/json, sha256 locally computed -md5 e472a3a1c2a67bb0ec9b5d54c13a47d6 configobj-5.0.6.tar.gz -sha256 a2f5650770e1c87fb335af19a9b7eb73fc05ccf22144eb68db7d00cd2bcb0902 configobj-5.0.6.tar.gz
package/python-configobj/python-configobj.mk deleted +0 -14
@@ -1,14 +0,0 @@ -################################################################################ -# -# python-configobj -# -################################################################################ - -PYTHON_CONFIGOBJ_VERSION = 5.0.6 -PYTHON_CONFIGOBJ_SOURCE = configobj-$(PYTHON_CONFIGOBJ_VERSION).tar.gz -PYTHON_CONFIGOBJ_SITE = https://pypi.python.org/packages/64/61/079eb60459c44929e684fa7d9e2fdca403f67d64dd9dbac27296be2e0fab -PYTHON_CONFIGOBJ_LICENSE = BSD-3-Clause -# License only mentioned in the source -PYTHON_CONFIGOBJ_SETUP_TYPE = distutils - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedRe: [Buildroot] [PATCH 102/107] package/python-configobj: drop python2 specific package
Peter, All,
On 2022-02-09 17:52 +0100, Peter Korsgaard spake thusly:
Quoted 2 lines
Signed-off-by Peter Korsgaard <[email protected]>---
[--SNIP--]
DEVELOPERS F: package/ne10/ · line 2799
Quoted 9 lines
DEVELOPERS +0
-1@@ -2796,7 +2796,6 @@ F: package/ne10/ F: package/pkg-python.mk F: package/pkg-autotools.mk F: package/pkg-generic.mk -F: package/python/
Not sure how you managed to have this hunk in this patch, but given the tediousness of this series, I am not going to ask you to fix and respin, so, as I replied to patch 84, I cherry-picked this hunk in to that previous patch, and so dropped it here.
Applied to master, thanks.
Regards,
Yann E. MORIN.
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 102/107] package/python-configobj: drop python2 specific package
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
Peter, All,
On 2022-02-09 17:52 +0100, Peter Korsgaard spake thusly:Quoted 2 lines
Signed-off-by Peter Korsgaard <[email protected]>---
[--SNIP--]
Quoted 14 lines
Quoted 9 lines
DEVELOPERS +0
-0@@ -2796,7 +2796,6 @@ F: package/ne10/F:
package/pkg-python.mk
F:package/pkg-autotools.mk
F:package/pkg-generic.mk
-F: package/python/Not sure how you managed to have this hunk in this patch, but given the tediousness of this series, I am not going to ask you to fix and respin, so, as I replied to patch 84, I cherry-picked this hunk in to that previous patch, and so dropped it here.
Ups, thanks for fixing it. I originally had the python host package after these (but somehow forgot to amend the DEVELOPERS change), which is why it ended up here.
Quoted 1 line
Applied to master, thanks.
Thanks!
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 103/107 package/python-dialog: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ package/Config.in | 1 - package/python-dialog/Config.in | 10 ---------- package/python-dialog/python-dialog.hash | 5 ----- package/python-dialog/python-dialog.mk | 15 --------------- 5 files changed, 6 insertions(+), 31 deletions(-) delete mode 100644 package/python-dialog/Config.in delete mode 100644 package/python-dialog/python-dialog.hash delete mode 100644 package/python-dialog/python-dialog.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_DIALOG + bool "python-dialog removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_CONFIGOBJ bool "python-configobj removed" select BR2_LEGACY
package/Config.in +0 -1
@@ -994,7 +994,6 @@ menu "External python modules" source "package/python-dbus-next/Config.in" source "package/python-decorator/Config.in" source "package/python-defusedxml/Config.in" - source "package/python-dialog/Config.in" source "package/python-dialog3/Config.in" source "package/python-dicttoxml/Config.in" source "package/python-distro/Config.in"
package/python-dialog/Config.in deleted +0 -10
@@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_DIALOG - bool "python-dialog" - depends on BR2_PACKAGE_PYTHON - depends on BR2_USE_MMU # dialog - select BR2_PACKAGE_DIALOG - help - A Python interface to the UNIX dialog utility and - mostly-compatible programs. - - http://pythondialog.sourceforge.net/
package/python-dialog/python-dialog.hash deleted +0 -5
@@ -1,5 +0,0 @@ -# Locally computed after verifying -# https://sourceforge.net/projects/pythondialog/files/pythondialog/3.4.0/python3-pythondialog-3.4.0.tar.bz2.asc -# with key 9B6F19FB52965E6C21FE76142A205688F8489BDD -sha256 8978d355c8db6728eeb9e23b39449b14597f1c76cb06dc72462642ca7cde46a0 python2-pythondialog-3.4.0.tar.bz2 -sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING
package/python-dialog/python-dialog.mk deleted +0 -15
@@ -1,15 +0,0 @@ -################################################################################ -# -# python-dialog -# -################################################################################ - -PYTHON_DIALOG_VERSION = 3.4.0 -PYTHON_DIALOG_SOURCE = python2-pythondialog-$(PYTHON_DIALOG_VERSION).tar.bz2 -PYTHON_DIALOG_SITE = http://downloads.sourceforge.net/project/pythondialog/pythondialog/$(PYTHON_DIALOG_VERSION) -PYTHON_DIALOG_LICENSE = LGPL-2.1+ -PYTHON_DIALOG_LICENSE_FILES = COPYING -PYTHON_DIALOG_SETUP_TYPE = distutils -PYTHON_DIALOG_DEPENDENCIES = dialog - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 104/107 package/python-enum: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ DEVELOPERS | 1 - package/Config.in | 1 - package/python-enum/Config.in | 12 ------------ package/python-enum/python-enum.hash | 5 ----- package/python-enum/python-enum.mk | 14 -------------- 6 files changed, 6 insertions(+), 33 deletions(-) delete mode 100644 package/python-enum/Config.in delete mode 100644 package/python-enum/python-enum.hash delete mode 100644 package/python-enum/python-enum.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_ENUM + bool "python-enum removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_DIALOG bool "python-dialog removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -2243,7 +2243,6 @@ F: package/python-cached-property/ F: package/python-docker/ F: package/python-dockerpty/ F: package/python-docker-pycreds/ -F: package/python-enum/ F: package/python-enum34/ F: package/python-functools32/ F: package/python-psutil/
package/Config.in +0 -1
@@ -1010,7 +1010,6 @@ menu "External python modules" source "package/python-ecdsa/Config.in" source "package/python-engineio/Config.in" source "package/python-entrypoints/Config.in" - source "package/python-enum/Config.in" source "package/python-enum34/Config.in" source "package/python-esptool/Config.in" source "package/python-falcon/Config.in"
package/python-enum/Config.in deleted +0 -12
@@ -1,12 +0,0 @@ -config BR2_PACKAGE_PYTHON_ENUM - bool "python-enum" - depends on BR2_PACKAGE_PYTHON - help - Robust enumerated type support in Python - - An enumeration object is an immutable sequence object built - from a sequence of strings. Each value is also available as - an attribute. Such values are constant. Comparisons and - enumeration are supported. - - https://pypi.python.org/pypi/enum
package/python-enum/python-enum.hash deleted +0 -5
@@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/enum/json -md5 e7d170e3f84435b77058de625c96ef58 enum-0.4.7.tar.gz -sha256 8c7cf3587eda51008bcc1eed99ea2c331ccd265c231dbaa95ec5258d3dc03100 enum-0.4.7.tar.gz -# Locally computed sha256 checksums -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL-3
package/python-enum/python-enum.mk deleted +0 -14
@@ -1,14 +0,0 @@ -################################################################################ -# -# python-enum -# -################################################################################ - -PYTHON_ENUM_VERSION = 0.4.7 -PYTHON_ENUM_SOURCE = enum-$(PYTHON_ENUM_VERSION).tar.gz -PYTHON_ENUM_SITE = https://files.pythonhosted.org/packages/02/a0/32e1d5a21b703f600183e205aafc6773577e16429af5ad3c3f9b956b07ca -PYTHON_ENUM_SETUP_TYPE = setuptools -PYTHON_ENUM_LICENSE = GPL-3.0+ -PYTHON_ENUM_LICENSE_FILES = LICENSE.GPL-3 - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 105/107 package/python-enum34: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ DEVELOPERS | 1 - package/Config.in | 1 - package/python-enum34/Config.in | 12 ------------ package/python-enum34/python-enum34.hash | 5 ----- package/python-enum34/python-enum34.mk | 17 ----------------- 6 files changed, 6 insertions(+), 36 deletions(-) delete mode 100644 package/python-enum34/Config.in delete mode 100644 package/python-enum34/python-enum34.hash delete mode 100644 package/python-enum34/python-enum34.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_ENUM34 + bool "python-enum34 removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_ENUM bool "python-enum removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -2243,7 +2243,6 @@ F: package/python-cached-property/ F: package/python-docker/ F: package/python-dockerpty/ F: package/python-docker-pycreds/ -F: package/python-enum34/ F: package/python-functools32/ F: package/python-psutil/ F: package/python-request-id/
package/Config.in +0 -1
@@ -1010,7 +1010,6 @@ menu "External python modules" source "package/python-ecdsa/Config.in" source "package/python-engineio/Config.in" source "package/python-entrypoints/Config.in" - source "package/python-enum34/Config.in" source "package/python-esptool/Config.in" source "package/python-falcon/Config.in" source "package/python-filelock/Config.in"
package/python-enum34/Config.in deleted +0 -12
@@ -1,12 +0,0 @@ -config BR2_PACKAGE_PYTHON_ENUM34 - bool "python-enum34" - depends on BR2_PACKAGE_PYTHON - help - Python 3.4 Enum backported to 2.x. - - An enumeration is a set of symbolic names (members) bound to - unique, constant values. Within an enumeration, the members - can be compared by identity, and the enumeration itself can - be iterated over. - - https://pypi.python.org/pypi/enum34
package/python-enum34/python-enum34.hash deleted +0 -5
@@ -1,5 +0,0 @@ -# md5 from https://pypi.python.org/pypi/enum34/json -md5 b5ac0bb5ea9e830029599e410d09d3b5 enum34-1.1.10.tar.gz -# Locally computed -sha256 cce6a7477ed816bd2542d03d53db9f0db935dd013b70f336a95c73979289f248 enum34-1.1.10.tar.gz -sha256 88ec6a6c8eafa3b9757e745783938bef3f5e4d5e3c76b1db576aa3ab520e5e1d enum/LICENSE
package/python-enum34/python-enum34.mk deleted +0 -17
@@ -1,17 +0,0 @@ -################################################################################ -# -# python-enum34 -# -################################################################################ - -PYTHON_ENUM34_VERSION = 1.1.10 -PYTHON_ENUM34_SOURCE = enum34-$(PYTHON_ENUM34_VERSION).tar.gz -PYTHON_ENUM34_SITE = https://files.pythonhosted.org/packages/11/c4/2da1f4952ba476677a42f25cd32ab8aaf0e1c0d0e00b89822b835c7e654c -PYTHON_ENUM34_SETUP_TYPE = setuptools -PYTHON_ENUM34_LICENSE = BSD-3-Clause -PYTHON_ENUM34_LICENSE_FILES = enum/LICENSE -PYTHON_ENUM34_CPE_ID_VENDOR = python -PYTHON_ENUM34_CPE_ID_PRODUCT = enum34 - -$(eval $(python-package)) -$(eval $(host-python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 106/107 package/python-functools32: drop python2 specific package
In reply to Peter Korsgaard--- Config.in.legacy | 6 ++++++ DEVELOPERS | 1 - package/Config.in | 1 - package/python-functools32/Config.in | 8 -------- package/python-functools32/python-functools32.hash | 4 ---- package/python-functools32/python-functools32.mk | 14 -------------- 6 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 package/python-functools32/Config.in delete mode 100644 package/python-functools32/python-functools32.hash delete mode 100644 package/python-functools32/python-functools32.mk
Config.in.legacy +6 -0
@@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2022.02" +config BR2_PACKAGE_PYTHON_FUNCTOOLS32 + bool "python-functools32 removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + config BR2_PACKAGE_PYTHON_ENUM34 bool "python-enum34 removed" select BR2_LEGACY
DEVELOPERS +0 -1
@@ -2243,7 +2243,6 @@ F: package/python-cached-property/ F: package/python-docker/ F: package/python-dockerpty/ F: package/python-docker-pycreds/ -F: package/python-functools32/ F: package/python-psutil/ F: package/python-request-id/ F: package/python-semver/
package/Config.in +0 -1
@@ -1026,7 +1026,6 @@ menu "External python modules" source "package/python-flup/Config.in" source "package/python-fonttools/Config.in" source "package/python-frozenlist/Config.in" - source "package/python-functools32/Config.in" source "package/python-future/Config.in" source "package/python-git/Config.in" source "package/python-gitdb2/Config.in"
package/python-functools32/Config.in deleted +0 -8
@@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_FUNCTOOLS32 - bool "python-functools32" - depends on BR2_PACKAGE_PYTHON - help - Backport of the functools module from Python 3.2.3 for use on - 2.7 and PyPy. - - https://github.com/MiCHiLU/python-functools32
package/python-functools32/python-functools32.hash deleted +0 -4
@@ -1,4 +0,0 @@ -# md5 from https://pypi.python.org/pypi/functools32/json, sha256 locally computed -md5 09f24ffd9af9f6cd0f63cb9f4e23d4b2 functools32-3.2.3-2.tar.gz -sha256 f6253dfbe0538ad2e387bd8fdfd9293c925d63553f5813c4e587745416501e6d functools32-3.2.3-2.tar.gz -sha256 3f9ea6b89abe1556b72aff67b987d64c8272564815cd6a2832e6c4f6abdfe3b1 LICENSE
package/python-functools32/python-functools32.mk deleted +0 -14
@@ -1,14 +0,0 @@ -################################################################################ -# -# python-functools32 -# -################################################################################ - -PYTHON_FUNCTOOLS32_VERSION = 3.2.3-2 -PYTHON_FUNCTOOLS32_SOURCE = functools32-$(PYTHON_FUNCTOOLS32_VERSION).tar.gz -PYTHON_FUNCTOOLS32_SITE = https://pypi.python.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db -PYTHON_FUNCTOOLS32_SETUP_TYPE = distutils -PYTHON_FUNCTOOLS32_LICENSE = Python-2.0 -PYTHON_FUNCTOOLS32_LICENSE_FILES = LICENSE - -$(eval $(python-package))
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 107/107 docs/manual: drop python2 references
In reply to Peter Korsgaard--- docs/manual/adding-packages-python.txt | 8 -------- docs/manual/writing-rules.txt | 8 ++++---- 2 files changed, 4 insertions(+), 12 deletions(-)
docs/manual/adding-packages-python.txt +0 -8
@@ -67,14 +67,6 @@ Python build system, but are not Python modules, can freely choose their name (existing examples in Buildroot are +scons+ and +supervisor+). -Packages that are only compatible with one version of Python (as in: -Python 2 or Python 3) should depend on that version explicitely in -their +Config.in+ file (+BR2_PACKAGE_PYTHON+ for Python 2, -+BR2_PACKAGE_PYTHON3+ for Python 3). Packages that are compatible -with both versions should not explicitely depend on them in their -+Config.in+ file, since that condition is already expressed for the -whole "External python modules" menu. - The main macro of the Python package infrastructure is +python-package+. It is similar to the +generic-package+ macro. It is also possible to create Python host packages with the
docs/manual/writing-rules.txt +4 -4
@@ -93,9 +93,9 @@ so _make_ recognizes them as commands. YES: + --------------------- -ifeq ($(BR2_PACKAGE_PYTHON),y) +ifeq ($(BR2_PACKAGE_PYTHON3),y) LIBFOO_CONF_OPTS += --with-python-support -LIBFOO_DEPENDENCIES += python +LIBFOO_DEPENDENCIES += python3 else LIBFOO_CONF_OPTS += --without-python-support endif
@@ -104,8 +104,8 @@ endif NO: + --------------------- -LIBFOO_CONF_OPTS += --with$(if $(BR2_PACKAGE_PYTHON),,out)-python-support -LIBFOO_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,) +LIBFOO_CONF_OPTS += --with$(if $(BR2_PACKAGE_PYTHON3),,out)-python-support +LIBFOO_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON3),python3,) --------------------- ** Keep configure options and dependencies close together.
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Peter ,All,
On 2022-02-09 17:50 +0100, Peter Korsgaard spake thusly:
Quoted 10 lines
Python 2.7 is EOL since April 2020 and almost all packages support python 3, so drop it before the 2022.02 release.
It is a big series, but the changes are mainly mechanical in nature.
There is still some cleanup to do, E.G. the python2 support in pkg-python and the host python-setuptools package - But this is IMHO the minimum changes before -rc1.
Peter Korsgaard (107):
...
Quoted 1 line
package/python: drop target package
...
Quoted 1 line
package/python: drop host package
...
Quoted 1 line
docs/manual: drop python2 references
All 107 patches applied, thanks!
I'll reply further to two of them, with ultra-minor nits.
Pfew, 21st century, here we come at last! ;-)
Regards,
Yann E. MORIN.
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 17 lines · Yann E. MORIN
Peter ,All,
On 2022-02-09 17:50 +0100, Peter Korsgaard spake thusly:
Quoted 10 lines
Python 2.7 is EOL since April 2020 and almost all packages support python 3, so drop it before the 2022.02 release.
It is a big series, but the changes are mainly mechanical in nature.
There is still some cleanup to do, E.G. the python2 support in pkg-python and the host python-setuptools package - But this is IMHO the minimum changes before -rc1.
Peter Korsgaard (107):
...
Quoted 1 line
package/python: drop target package
...
Quoted 1 line
package/python: drop host package
Quoted 8 lines
...
Quoted 1 line
docs/manual: drop python2 references
All 107 patches applied, thanks!
I'll reply further to two of them, with ultra-minor nits.
Pfew, 21st century, here we come at last! ;-)
Thank you Peter and Yann for handling this!
I did a bit of grepping for leftovers and found these:
package/pkg-python.mk:# BR2_PACKAGE_PYTHON=y, or a host-package with neither
package/pkg-python.mk:# BR2_PACKAGE_PYTHON3=y or BR2_PACKAGE_PYTHON=y.docs/manual/adding-packages-python.txt: * It is not necessary to add +python+ or +host-python+ in the package/gstreamer1/gst1-devtools/gst1-devtools.mk:GST1_DEVTOOLS_DEPENDENCIES += host-python python package/omniorb/omniorb.mk:# omniorb is not python3 friendly, so force the python interpreter package/omniorb/omniorb.mk:OMNIORB_CONF_OPTS = ac_cv_path_PYTHON=$(HOST_DIR)/bin/python2 package/omniorb/omniorb.mk:HOST_OMNIORB_CONF_OPTS = ac_cv_path_PYTHON=$(HOST_DIR)/bin/python2 package/pkg-python.mk:$(2)_DEPENDENCIES += $$(if $$(BR2_PACKAGE_PYTHON3),host-python3 python3,host-python python) package/pkg-python.mk:ifeq ($$($(2)_NEEDS_HOST_PYTHON),python2)
package/pkg-python.mk:# setuptools for python2.
package/pkg-python.mk:# In all other cases, we install setuptools for python2. Those other package/pkg-python.mk:else ifeq ($(4):$$($(2)_NEEDS_HOST_PYTHON),host:python2)
package/pkg-python.mk:# We may want to specify the python interpreter to be used for building a package/pkg-python.mk:# - for target packages, we always use the default python interpreter (which package/python-pyrex/python-pyrex.mk:HOST_PYTHON_PYREX_NEEDS_HOST_PYTHON = python2 package/python-setuptools/python-setuptools.mk:HOST_PYTHON_SETUPTOOLS_NEEDS_HOST_PYTHON = python2 package/python-web2py/python-web2py.mk:PYTHON_WEB2PY_DEPENDENCIES = $(if $(BR2_PACKAGE_PYTHON3),host-python3 python3,host-python python) \
package/python3/python3.mk:# python version chosen for the target.
package/python3/python3.mk:# Only install the python symlink in the host tree if python3 is enabledpackage/python3/python3.mk: ln -fs python3 $(HOST_DIR)/bin/python
package/qt5/qt5webengine/qt5webengine.mk:# QtWebengine's build system uses python, but only supports python2. We work package/qt5/qt5webengine/qt5webengine.mk:# around this by forcing python2 early in the PATH, via a python->python2package/qt5/qt5webengine/qt5webengine.mk: ln -sf $(HOST_DIR)/bin/python2 $(@D)/host-bin/pythonpackage/rust/rust.mk: echo 'python = "$(HOST_DIR)/bin/python$(HOST_RUST_PYTHON_VERSION)"'; \
The ones in gst1-devtools.mk and omniorb.mk look important, the rest is just cleanup. qt5webengine is also a bit worrisome...
Also, some cleanups that I think are needed:
- get rid of HOST_PYTHON_FOO_NEEDS_HOST_PYTHON
- symlink $(HOST_DIR)/bin/python to python3, and get rid of the workarounds in e.g. nodejs
Regards,
Arnout
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi all!
On 10.02.22 18:15, Arnout Vandecappelle wrote:
[...]
Quoted 8 lines
The ones in gst1-devtools.mk and omniorb.mk look important, the rest is just cleanup. qt5webengine is also a bit worrisome...
Also, some cleanups that I think are needed:
- get rid ofHOST_PYTHON_FOO_NEEDS_HOST_PYTHON
- symlink $(HOST_DIR)/bin/python to python3, and get rid of the workarounds in e.g. nodejs
This last bit would actually supersede the patch I send yesterday :-)
http://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
Quoted 4 lines
Regards,
Arnout
Best,
Marcus
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Marcus" == Marcus Hoffmann <[email protected]> writes:
Hi all!
On 10.02.22 18:15, Arnout Vandecappelle wrote:
[...]Quoted 5 lines
The ones in gst1-devtools.mk and omniorb.mk look important, the rest is just cleanup. qt5webengine is also a bit worrisome...
Quoted 8 lines
Quoted 4 lines
Also, some cleanups that I think are needed:
- get rid ofHOST_PYTHON_FOO_NEEDS_HOST_PYTHON
- symlink $(HOST_DIR)/bin/python to python3, and get rid of the workarounds in e.g. nodejsThis last bit would actually supersede the patch I send yesterday :-)
http://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
Yes, I've sent a patch doing that and marked your patch as superseeded:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Arnout, All,
On 2022-02-10 18:15 +0100, Arnout Vandecappelle spake thusly:
Quoted 4 lines · Yann E. MORIN
Quoted 3 lines
On 2022-02-09 17:50 +0100, Peter Korsgaard spake thusly:
Quoted 2 lines
Python 2.7 is EOL since April 2020 and almost all packages support python 3, so drop it before the 2022.02 release.
[--SNIP--]
Quoted 1 line
I did a bit of grepping for leftovers and found these:
[--SNIP--]
Yeah, I knew we had missed a few things, and Peter had already noticed a few in the cover-letter, but we needed to move forward quick, at the risk of breaking things.
After all, the post-rc1 period is actually to fix things we broke! ;-)
Quoted 2 lines
The ones in gst1-devtools.mk and omniorb.mk look important, the rest is just cleanup. qt5webengine is also a bit worrisome...
For qt5webengine, IIRC James and Adam were working on it, and may have a pending change ready?
I was thinking maybe about this:
https://patchwork.ozlabs.org/project/buildroot/list/?series=284619
Regards,
Yann E. MORIN.
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
Hi,
Quoted 7 lines
Arnout, All,
On 2022-02-10 18:15 +0100, Arnout Vandecappelle spake thusly:Quoted 4 lines · Yann E. MORIN
Quoted 3 lines
On 2022-02-09 17:50 +0100, Peter Korsgaard spake thusly:
Quoted 2 lines
Python 2.7 is EOL since April 2020 and almost all packages support python 3, so drop it before the 2022.02 release.
[--SNIP--]
Quoted 8 lines
Quoted 1 line
I did a bit of grepping for leftovers and found these:
[--SNIP--]
Yeah, I knew we had missed a few things, and Peter had already noticed a few in the cover-letter, but we needed to move forward quick, at the risk of breaking things.
After all, the post-rc1 period is actually to fix things we broke! ;-)
Indeed ;)
Quoted 8 lines
Quoted 2 lines
The ones in gst1-devtools.mk and omniorb.mk look important, the rest is just cleanup. qt5webengine is also a bit worrisome...
For qt5webengine, IIRC James and Adam were working on it, and may have a pending change ready?
I was thinking maybe about this:
https://patchwork.ozlabs.org/project/buildroot/list/?series=284619
Yes, I guess we'll need something like that. I did a quick test to see if the current qt5webengine version works with python3 - But it doesn't :/
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 26 lines · Peter Korsgaard
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
"Yann" == Yann E MORIN <[email protected]> writes:
Hi,
Quoted 7 lines
Arnout, All,
On 2022-02-10 18:15 +0100, Arnout Vandecappelle spake thusly:Quoted 4 lines · Yann E. MORIN
Quoted 3 lines
On 2022-02-09 17:50 +0100, Peter Korsgaard spake thusly:
Quoted 2 lines
Python 2.7 is EOL since April 2020 and almost all packages support python 3, so drop it before the 2022.02 release.
[--SNIP--]
Quoted 8 lines
Quoted 1 line
I did a bit of grepping for leftovers and found these:
[--SNIP--]
Yeah, I knew we had missed a few things, and Peter had already noticed a few in the cover-letter, but we needed to move forward quick, at the risk of breaking things.
After all, the post-rc1 period is actually to fix things we broke! ;-)
Indeed ;)
Quoted 2 lines
Quoted 2 lines
The ones in gst1-devtools.mk and omniorb.mk look important, the rest is just cleanup. qt5webengine is also a bit worrisome...
Quoted 8 lines
Quoted 5 lines
For qt5webengine, IIRC James and Adam were working on it, and may have a pending change ready?
I was thinking maybe about this:
https://patchwork.ozlabs.org/project/buildroot/list/?series=284619Yes, I guess we'll need something like that. I did a quick test to see if the current qt5webengine version works with python3 - But it doesn't
Yeah, that should get qt5webengine working on python3, there's a bunch of other issues it should fix as well relating to handling the host/target pkg-config split.
Quoted 8 lines
:/
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot