Skip to contentSkip to conversation

package/python-charset-normalizer: add host variant

PATCH In review James Hilliard 3 participants 6 messages Nov 27, 2021 – Jan 14, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 package/python-charset-normalizer: add host variant

A host variant of the python-charset-normalizer package will be needed for the host-python-requests package.

---
 package/python-charset-normalizer/python-charset-normalizer.mk | 2 ++
 1 file changed, 2 insertions(+)
package/python-charset-normalizer/python-charset-normalizer.mk +2 -0
index e1b805fbfb..7fe9f96996 100644
@@ -10,5 +10,7 @@ PYTHON_CHARSET_NORMALIZER_SITE = https://files.pythonhosted.org/packages/9f/c5/3
 PYTHON_CHARSET_NORMALIZER_SETUP_TYPE = setuptools
 PYTHON_CHARSET_NORMALIZER_LICENSE = MIT
 PYTHON_CHARSET_NORMALIZER_LICENSE_FILES = LICENSE
+HOST_PYTHON_CHARSET_NORMALIZER_NEEDS_HOST_PYTHON = python3
 
 $(eval $(python-package))
+$(eval $(host-python-package))
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/4 package/python-idna: add host variant

A host variant of the python-idna package will be needed for the host-python-requests package.

---
 package/python-idna/python-idna.mk | 2 ++
 1 file changed, 2 insertions(+)
package/python-idna/python-idna.mk +2 -0
index 7314d85493..a2c842f1e7 100644
@@ -10,5 +10,7 @@ PYTHON_IDNA_SITE = https://files.pythonhosted.org/packages/cb/38/4c4d00ddfa48abe
 PYTHON_IDNA_LICENSE = BSD-3-Clause
 PYTHON_IDNA_LICENSE_FILES = LICENSE.md
 PYTHON_IDNA_SETUP_TYPE = setuptools
+HOST_PYTHON_IDNA_NEEDS_HOST_PYTHON = python3
 
 $(eval $(python-package))
+$(eval $(host-python-package))
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

PATCH 3/4 package/python-urllib3: add host variant

In reply to James Hilliard

A host variant of the python-urllib3 package will be needed for the host-python-requests package.

---
 package/python-urllib3/python-urllib3.mk | 2 ++
 1 file changed, 2 insertions(+)
package/python-urllib3/python-urllib3.mk +2 -0
index a1d22e023a..9580d9b6b9 100644
@@ -12,5 +12,7 @@ PYTHON_URLLIB3_LICENSE_FILES = LICENSE.txt
 PYTHON_URLLIB3_CPE_ID_VENDOR = python
 PYTHON_URLLIB3_CPE_ID_PRODUCT = urllib3
 PYTHON_URLLIB3_SETUP_TYPE = setuptools
+HOST_PYTHON_URLLIB3_NEEDS_HOST_PYTHON = python3
 
 $(eval $(python-package))
+$(eval $(host-python-package))
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

PATCH 4/4 package/python-requests: add missing host dependencies

In reply to James Hilliard

The following are runtime dependencies for host-python-requests:
host-python-certifi
host-python-charset-normalizer
host-python-idna
host-python-urllib3

---
 package/python-requests/python-requests.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/python-requests/python-requests.mk +5 -0
index 474d2033ac..74cc91ef01 100644
@@ -13,6 +13,11 @@ PYTHON_REQUESTS_LICENSE_FILES = LICENSE
 PYTHON_REQUESTS_CPE_ID_VENDOR = python
 PYTHON_REQUESTS_CPE_ID_PRODUCT = requests
 HOST_PYTHON_REQUESTS_NEEDS_HOST_PYTHON = python3
+HOST_PYTHON_REQUESTS_DEPENDENCIES = \
+	host-python-certifi \
+	host-python-charset-normalizer \
+	host-python-idna \
+	host-python-urllib3
 
 $(eval $(python-package))
 $(eval $(host-python-package))
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw
In reply to James Hilliard
Quoted 4 lines · James Hilliard

A host variant of the python-charset-normalizer package will be needed for the host-python-requests package.

Series applied to master, thanks.

Regards,
Arnout

Quoted 10 lines
---
  package/python-charset-normalizer/python-charset-normalizer.mk | 2 ++
  1 file changed, 2 insertions(+)
package/python-charset-normalizer/python-charset-normalizer.mk +0 -0
index e1b805fbfb..7fe9f96996 100644

package/python-charset-normalizer/python-charset-normalizer.mk PYTHON_CHARSET_NORMALIZER_SITE = https://files.pythonhosted.org/packages/9f/c5/3 · line 16

Quoted 7 lines
package/python-charset-normalizer/python-charset-normalizer.mk +2 -0
@@ -10,5 +10,7 @@ PYTHON_CHARSET_NORMALIZER_SITE = https://files.pythonhosted.org/packages/9f/c5/3
  PYTHON_CHARSET_NORMALIZER_SETUP_TYPE = setuptools
  PYTHON_CHARSET_NORMALIZER_LICENSE = MIT
  PYTHON_CHARSET_NORMALIZER_LICENSE_FILES = LICENSE
+HOST_PYTHON_CHARSET_NORMALIZER_NEEDS_HOST_PYTHON = python3
 
  $(eval $(python-package))
+$(eval $(host-python-package))

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#5 lore raw
In reply to James Hilliard
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"James" == James Hilliard <[email protected]> writes:

A host variant of the python-charset-normalizer package will be needed for the host-python-requests package.

Committed all 4 to 2021.11.x, thanks (no host-python-requests in 2021.02.x)

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot