Skip to contentSkip to conversation

package/python-pytz: enable host python package

PATCH In review James Hilliard 2 participants 6 messages Nov 3, 2022 – Nov 5, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 package/python-pytz: enable host python package

This is required by host-python-babel.

---
 package/python-pytz/python-pytz.mk | 1 +
 1 file changed, 1 insertion(+)
package/python-pytz/python-pytz.mk +1 -0
index d606750699..e697a444ca 100644
@@ -12,3 +12,4 @@ PYTHON_PYTZ_LICENSE = MIT
 PYTHON_PYTZ_LICENSE_FILES = LICENSE.txt
 
 $(eval $(python-package))
+$(eval $(host-python-package))
Signature · 6 lines
2.34.1

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

PATCH 2/3 package/python-babel: enable host python package

This is required by the latest version of python-wtforms.

---
 package/python-babel/python-babel.mk | 2 ++
 1 file changed, 2 insertions(+)
package/python-babel/python-babel.mk +2 -0
index a503a139f9..25e74e4c56 100644
@@ -10,5 +10,7 @@ PYTHON_BABEL_SITE = https://files.pythonhosted.org/packages/17/e6/ec9aa6ac3d00c3
 PYTHON_BABEL_SETUP_TYPE = setuptools
 PYTHON_BABEL_LICENSE = BSD-3-Clause
 PYTHON_BABEL_LICENSE_FILES = LICENSE
+HOST_PYTHON_BABEL_DEPENDENCIES = host-python-pytz
 
 $(eval $(python-package))
+$(eval $(host-python-package))
Signature · 6 lines
2.34.1

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

PATCH 3/3 package/python-wtforms: bump to version 3.0.1

In reply to James Hilliard

Add new host-python-babel build dependency.

---
 package/python-wtforms/python-wtforms.hash | 4 ++--
 package/python-wtforms/python-wtforms.mk   | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)
package/python-wtforms/python-wtforms.hash +2 -2
index ed9bfd1a23..12b980de02 100644
@@ -1,6 +1,6 @@
 # md5, sha256 from https://pypi.org/pypi/wtforms/json
-md5  2b6ea167a71c6becf20f0934417fd06c  WTForms-2.3.3.tar.gz
-sha256  81195de0ac94fbc8368abbaf9197b88c4f3ffd6c2719b5bf5fc9da744f3d829c  WTForms-2.3.3.tar.gz
+md5  509a985769df13938c8307b55a614773  WTForms-3.0.1.tar.gz
+sha256  6b351bbb12dd58af57ffef05bc78425d08d1914e0fd68ee14143b7ade023c5bc  WTForms-3.0.1.tar.gz
 # Locally computed sha256 checksums
 sha256  cf40d60ff34f6b2b68a53d220f8b66567b5ac8dd1119b37b62fd15e9518fe59b  LICENSE.rst
 sha256  c9362a7258a11c84a8f7e825ccbbb5c425c6fc02368d3aee6494533fb99ba1f4  docs/license.rst
package/python-wtforms/python-wtforms.mk +3 -2
index 23280a6fe5..65b5748b6b 100644
@@ -4,11 +4,12 @@
 #
 ################################################################################
 
-PYTHON_WTFORMS_VERSION = 2.3.3
+PYTHON_WTFORMS_VERSION = 3.0.1
 PYTHON_WTFORMS_SOURCE = WTForms-$(PYTHON_WTFORMS_VERSION).tar.gz
-PYTHON_WTFORMS_SITE = https://files.pythonhosted.org/packages/dd/3f/f25d26b1c66896e2876124a12cd8be8f606abf4e1890a20f3ca04e4a1555
+PYTHON_WTFORMS_SITE = https://files.pythonhosted.org/packages/9a/7d/d4aa68f5bfcb91dd61a7faf0e862512ae7b3d531c41f24c217910aec0559
 PYTHON_WTFORMS_SETUP_TYPE = setuptools
 PYTHON_WTFORMS_LICENSE = BSD-3-Clause
 PYTHON_WTFORMS_LICENSE_FILES = LICENSE.rst docs/license.rst
+PYTHON_WTFORMS_DEPENDENCIES = host-python-babel
 
 $(eval $(python-package))
Signature · 6 lines
2.34.1

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

Re: [Buildroot] [PATCH 3/3] package/python-wtforms: bump to version 3.0.1

Quoted 1 line · On Thu, 3 Nov 2022 15:07:19 -0600 James Hilliard <[email protected]>…

Add new host-python-babel build dependency.

Is this a legitimate build dependency on the host, or a bug where it confuses it being needed on the host at build time vs. being needed on the target at runtime?

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

Re: [Buildroot] [PATCH 3/3] package/python-wtforms: bump to version 3.0.1

Quoted 9 lines · Thomas Petazzoni
Quoted 1 line · On Thu, 3 Nov 2022 15:07:19 -0600 James Hilliard <[email protected]>…

Add new host-python-babel build dependency.

Is this a legitimate build dependency on the host, or a bug where it confuses it being needed on the host at build time vs. being needed on the target at runtime?

It does appear to be a legitimate build dependency:
https://github.com/wtforms/wtforms/blob/3.0.1/setup.py#L12-L15

Quoted 8 lines

Thanks!

Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training
https://bootlin.com

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

#5 lore raw
In reply to James Hilliard
Quoted 6 lines · On Thu, 3 Nov 2022 15:07:17 -0600 James Hilliard <[email protected]>…

This is required by host-python-babel.

---
 package/python-pytz/python-pytz.mk | 1 +
 1 file changed, 1 insertion(+)

Series applied to next, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot