package/python-charset-normalizer: new package
PATCH 1/2 package/python-charset-normalizer: new package
--- package/Config.in | 1 + package/python-charset-normalizer/Config.in | 8 ++++++++ .../python-charset-normalizer.hash | 5 +++++ .../python-charset-normalizer.mk | 14 ++++++++++++++ 4 files changed, 28 insertions(+) create mode 100644 package/python-charset-normalizer/Config.in create mode 100644 package/python-charset-normalizer/python-charset-normalizer.hash create mode 100644 package/python-charset-normalizer/python-charset-normalizer.mk
package/Config.in +1 -0
@@ -950,6 +950,7 @@ menu "External python modules" source "package/python-channels-redis/Config.in" source "package/python-characteristic/Config.in" source "package/python-chardet/Config.in" + source "package/python-charset-normalizer/Config.in" source "package/python-cheetah/Config.in" source "package/python-cheroot/Config.in" source "package/python-cherrypy/Config.in"
package/python-charset-normalizer/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_CHARSET_NORMALIZER + bool "python-charset-normalizer" + depends on BR2_PACKAGE_PYTHON3 + help + The Real First Universal Charset Detector. Open, modern and + actively maintained alternative to Chardet. + + https://github.com/ousret/charset_normalizer
package/python-charset-normalizer/python-charset-normalizer.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/charset-normalizer/json +md5 b28e4463613ff3911d5a2dc62b96233f charset-normalizer-2.0.7.tar.gz +sha256 e019de665e2bcf9c2b64e2e5aa025fa991da8720daa3c1138cadd2fd1856aed0 charset-normalizer-2.0.7.tar.gz +# Locally computed sha256 checksums +sha256 eb31a0c5a4fb09b8a4e32055d25c1e5f9c358a2752fef3cd720213d1ccfee241 LICENSE
package/python-charset-normalizer/python-charset-normalizer.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-charset-normalizer +# +################################################################################ + +PYTHON_CHARSET_NORMALIZER_VERSION = 2.0.7 +PYTHON_CHARSET_NORMALIZER_SOURCE = charset-normalizer-$(PYTHON_CHARSET_NORMALIZER_VERSION).tar.gz +PYTHON_CHARSET_NORMALIZER_SITE = https://files.pythonhosted.org/packages/9f/c5/334c019f92c26e59637bb42bd14a190428874b2b2de75a355da394cf16c1 +PYTHON_CHARSET_NORMALIZER_SETUP_TYPE = setuptools +PYTHON_CHARSET_NORMALIZER_LICENSE = MIT +PYTHON_CHARSET_NORMALIZER_LICENSE_FILES = LICENSE + +$(eval $(python-package))
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/python-requests: bump to version 2.26.0
Remove python3-requests host package and combine with python-requests.
Make packages depending on host-python3-requests depend on host-python-requests instead.
Drop idna patch that is now upstream.
--- package/mongodb/mongodb.mk | 2 +- ...na-3.x-to-be-installed-on-Python-3.x.patch | 33 ------------------- package/python-requests/Config.in | 2 +- package/python-requests/python-requests.hash | 4 +-- package/python-requests/python-requests.mk | 7 ++-- ...na-3.x-to-be-installed-on-Python-3.x.patch | 33 ------------------- .../python3-requests/python3-requests.hash | 1 - package/python3-requests/python3-requests.mk | 19 ----------- package/uhd/uhd.mk | 2 +- 9 files changed, 9 insertions(+), 94 deletions(-) delete mode 100644 package/python-requests/0001-Allow-idna-3.x-to-be-installed-on-Python-3.x.patch delete mode 100644 package/python3-requests/0001-Allow-idna-3.x-to-be-installed-on-Python-3.x.patch delete mode 120000 package/python3-requests/python3-requests.hash delete mode 100644 package/python3-requests/python3-requests.mk
package/mongodb/mongodb.mk +1 -1
@@ -20,7 +20,7 @@ MONGODB_DEPENDENCIES = \ host-python3-psutil \ host-python3-pyyaml \ host-python3-regex \ - host-python3-requests \ + host-python-requests \ host-scons \ pcre \ snappy \
package/python-requests/0001-Allow-idna-3.x-to-be-installed-on-Python-3.x.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From d747c4753484aa9b90a094d6bf7ec45e5acfb623 Mon Sep 17 00:00:00 2001 -From: Naor Livne <[email protected]> -Date: Wed, 7 Jul 2021 16:25:20 +0300 -Subject: [PATCH] Allow idna 3.x to be installed on Python 3.x -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Co-authored-by: Mickaël Schoentgen <[email protected]> -Co-authored-by: Seth Michael Larson <[email protected]> -(cherry picked from commit 33cf965f7271ab4978ed551754db37865c4085db) -Signed-off-by: Romain Naour <[email protected]> ---- - setup.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 7ba4b2a2..83d78665 100755 ---- a/setup.py -+++ b/setup.py -@@ -43,7 +43,8 @@ packages = ['requests'] - - requires = [ - 'chardet>=3.0.2,<5', -- 'idna>=2.5,<3', -+ 'idna>=2.5,<3; python_version < "3"', -+ 'idna>=2.5,<4; python_version >= "3"', - 'urllib3>=1.21.1,<1.27', - 'certifi>=2017.4.17' - --- -2.31.1 -
package/python-requests/Config.in +1 -1
@@ -2,7 +2,7 @@ config BR2_PACKAGE_PYTHON_REQUESTS bool "python-requests" depends on BR2_PACKAGE_PYTHON3 # python-idna select BR2_PACKAGE_PYTHON_CERTIFI # runtime - select BR2_PACKAGE_PYTHON_CHARDET # runtime + select BR2_PACKAGE_PYTHON_CHARSET_NORMALIZER # runtime select BR2_PACKAGE_PYTHON_IDNA # runtime select BR2_PACKAGE_PYTHON_URLLIB3 # runtime select BR2_PACKAGE_PYTHON3_SSL # runtime
package/python-requests/python-requests.hash +2 -2
@@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/requests/json -md5 514d6f7eba77ada0b8c98ec7818828db requests-2.25.1.tar.gz -sha256 27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804 requests-2.25.1.tar.gz +md5 8c745949ad3e9ae83d9927fed213db8a requests-2.26.0.tar.gz +sha256 b8aa58f8cf793ffd8782d3d8cb19e66ef36f7aba4353eec859e74678b01b07a7 requests-2.26.0.tar.gz # Locally computed sha256 checksums sha256 09e8a9bcec8067104652c168685ab0931e7868f9c8284b66f5ae6edae5f1130b LICENSE
package/python-requests/python-requests.mk +4 -3
@@ -4,14 +4,15 @@ # ################################################################################ -# Please keep in sync with package/python3-requests/python3-requests.mk -PYTHON_REQUESTS_VERSION = 2.25.1 +PYTHON_REQUESTS_VERSION = 2.26.0 PYTHON_REQUESTS_SOURCE = requests-$(PYTHON_REQUESTS_VERSION).tar.gz -PYTHON_REQUESTS_SITE = https://files.pythonhosted.org/packages/6b/47/c14abc08432ab22dc18b9892252efaf005ab44066de871e72a38d6af464b +PYTHON_REQUESTS_SITE = https://files.pythonhosted.org/packages/e7/01/3569e0b535fb2e4a6c384bdbed00c55b9d78b5084e0fb7f4d0bf523d7670 PYTHON_REQUESTS_SETUP_TYPE = setuptools PYTHON_REQUESTS_LICENSE = Apache-2.0 PYTHON_REQUESTS_LICENSE_FILES = LICENSE PYTHON_REQUESTS_CPE_ID_VENDOR = python PYTHON_REQUESTS_CPE_ID_PRODUCT = requests +HOST_PYTHON_REQUESTS_NEEDS_HOST_PYTHON = python3 $(eval $(python-package)) +$(eval $(host-python-package))
package/python3-requests/0001-Allow-idna-3.x-to-be-installed-on-Python-3.x.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From d747c4753484aa9b90a094d6bf7ec45e5acfb623 Mon Sep 17 00:00:00 2001 -From: Naor Livne <[email protected]> -Date: Wed, 7 Jul 2021 16:25:20 +0300 -Subject: [PATCH] Allow idna 3.x to be installed on Python 3.x -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Co-authored-by: Mickaël Schoentgen <[email protected]> -Co-authored-by: Seth Michael Larson <[email protected]> -(cherry picked from commit 33cf965f7271ab4978ed551754db37865c4085db) -Signed-off-by: Romain Naour <[email protected]> ---- - setup.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 7ba4b2a2..83d78665 100755 ---- a/setup.py -+++ b/setup.py -@@ -43,7 +43,8 @@ packages = ['requests'] - - requires = [ - 'chardet>=3.0.2,<5', -- 'idna>=2.5,<3', -+ 'idna>=2.5,<3; python_version < "3"', -+ 'idna>=2.5,<4; python_version >= "3"', - 'urllib3>=1.21.1,<1.27', - 'certifi>=2017.4.17' - --- -2.31.1 -
package/python3-requests/python3-requests.hash deleted +0 -1
@@ -1 +0,0 @@ -../python-requests/python-requests.hash
package/python3-requests/python3-requests.mk deleted +0 -19
@@ -1,19 +0,0 @@ -################################################################################ -# -# python3-requests -# -################################################################################ - -# Please keep in sync with package/python-requests/python-requests.mk -PYTHON3_REQUESTS_VERSION = 2.25.1 -PYTHON3_REQUESTS_SOURCE = requests-$(PYTHON3_REQUESTS_VERSION).tar.gz -PYTHON3_REQUESTS_SITE = https://files.pythonhosted.org/packages/6b/47/c14abc08432ab22dc18b9892252efaf005ab44066de871e72a38d6af464b -PYTHON3_REQUESTS_SETUP_TYPE = setuptools -PYTHON3_REQUESTS_LICENSE = Apache-2.0 -PYTHON3_REQUESTS_LICENSE_FILES = LICENSE -PYTHON3_REQUESTS_CPE_ID_VENDOR = python -PYTHON3_REQUESTS_CPE_ID_PRODUCT = requests -HOST_PYTHON3_REQUESTS_DL_SUBDIR = python-requests -HOST_PYTHON3_REQUESTS_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package))
package/uhd/uhd.mk +1 -1
@@ -111,7 +111,7 @@ UHD_CONF_OPTS += -DENABLE_RFNOC=OFF endif ifeq ($(BR2_PACKAGE_UHD_PYTHON),y) -UHD_DEPENDENCIES += host-python-numpy host-python3-requests \ +UHD_DEPENDENCIES += host-python-numpy host-python-requests \ python-numpy python-requests UHD_CONF_OPTS += -DENABLE_PYTHON_API=ON else
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines · James Hilliard
Signed-off-by James Hilliard <[email protected]>--- package/Config.in | 1 + package/python-charset-normalizer/Config.in | 8 ++++++++ .../python-charset-normalizer.hash | 5 +++++ .../python-charset-normalizer.mk | 14 ++++++++++++++ 4 files changed, 28 insertions(+)create mode 100644 package/python-charset-normalizer/Config.in
create mode 100644 package/python-charset-normalizer/python-charset-normalizer.hash create mode 100644package/python-charset-normalizer/python-charset-normalizer.mk
I've taken the liberty of adding this to your set in DEVELOPERS as well, and
applied both to master, thanks.
Regards,
Arnout
Quoted 49 lines
package/Config.in +1
-0@@ -950,6 +950,7 @@ menu "External python modules" source "package/python-channels-redis/Config.in" source "package/python-characteristic/Config.in" source "package/python-chardet/Config.in" + source "package/python-charset-normalizer/Config.in" source "package/python-cheetah/Config.in" source "package/python-cheroot/Config.in" source "package/python-cherrypy/Config.in"package/python-charset-normalizer/Config.in new file +8
-0@@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_CHARSET_NORMALIZER + bool "python-charset-normalizer" + depends on BR2_PACKAGE_PYTHON3 + help + The Real First Universal Charset Detector. Open, modern and + actively maintained alternative to Chardet. + + https://github.com/ousret/charset_normalizerpackage/python-charset-normalizer/python-charset-normalizer.hash new file +5
-0@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/charset-normalizer/json +md5 b28e4463613ff3911d5a2dc62b96233f charset-normalizer-2.0.7.tar.gz +sha256 e019de665e2bcf9c2b64e2e5aa025fa991da8720daa3c1138cadd2fd1856aed0 charset-normalizer-2.0.7.tar.gz +# Locally computed sha256 checksums +sha256 eb31a0c5a4fb09b8a4e32055d25c1e5f9c358a2752fef3cd720213d1ccfee241 LICENSEpackage/python-charset-normalizer/python-charset-normalizer.mk new file +4
-0@@ -0,0 +1,14 @@ +################################################################################ +# +# python-charset-normalizer +#
package/python-charset-normalizer/python-charset-normalizer.mk line 14
Quoted 10 lines
package/python-charset-normalizer/python-charset-normalizer.mk new file +10
-0+################################################################################ + +PYTHON_CHARSET_NORMALIZER_VERSION = 2.0.7 +PYTHON_CHARSET_NORMALIZER_SOURCE = charset-normalizer-$(PYTHON_CHARSET_NORMALIZER_VERSION).tar.gz +PYTHON_CHARSET_NORMALIZER_SITE = https://files.pythonhosted.org/packages/9f/c5/334c019f92c26e59637bb42bd14a190428874b2b2de75a355da394cf16c1 +PYTHON_CHARSET_NORMALIZER_SETUP_TYPE = setuptools +PYTHON_CHARSET_NORMALIZER_LICENSE = MIT +PYTHON_CHARSET_NORMALIZER_LICENSE_FILES = LICENSE + +$(eval $(python-package))
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot