package/python-wheel: new host package
PATCH v2 1/2 package/python-wheel: new host package
This will be required for upcoming setuptools pep517 support.
--- package/python-wheel/python-wheel.hash | 5 +++++ package/python-wheel/python-wheel.mk | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 package/python-wheel/python-wheel.hash create mode 100644 package/python-wheel/python-wheel.mk
package/python-wheel/python-wheel.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/wheel/json +md5 ec5004c46d1905da98bb5bc1a10ddd21 wheel-0.40.0.tar.gz +sha256 cd1196f3faee2b31968d626e1731c94f99cbdb67cf5a46e4f5656cbee7738873 wheel-0.40.0.tar.gz +# Locally computed sha256 checksums +sha256 30c23618679108f3e8ea1d2a658c7ca417bdfc891c98ef1a89fa4ff0c9828654 LICENSE.txt
package/python-wheel/python-wheel.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-wheel +# +################################################################################ + +PYTHON_WHEEL_VERSION = 0.40.0 +PYTHON_WHEEL_SOURCE = wheel-$(PYTHON_WHEEL_VERSION).tar.gz +PYTHON_WHEEL_SITE = https://files.pythonhosted.org/packages/fc/ef/0335f7217dd1e8096a9e8383e1d472aa14717878ffe07c4772e68b6e8735 +PYTHON_WHEEL_SETUP_TYPE = flit +PYTHON_WHEEL_LICENSE = MIT +PYTHON_WHEEL_LICENSE_FILES = LICENSE.txt + +$(eval $(host-python-package))
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 2/2 package/python-setuptools: migrate to pep517 build backend
Now that all dependencies of host-python-setuptools no longer use setuptools as a build backend we can now migrate setuptools itself to the pep517 build backend.
--- package/pkg-python.mk | 2 +- package/python-setuptools/python-setuptools.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)
package/pkg-python.mk +1 -1
@@ -237,7 +237,7 @@ endif # ($(4),target) # interpreter (both host and target). # ifeq ($$($(2)_SETUP_TYPE),setuptools) -$(2)_DEPENDENCIES += $$(if $$(filter host-python-setuptools,$(1)),,host-python-setuptools) +$(2)_DEPENDENCIES += host-python-setuptools else ifneq ($$(filter flit pep517,$$($(2)_SETUP_TYPE)),) $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit)
package/python-setuptools/python-setuptools.mk +2 -1
@@ -11,7 +11,8 @@ PYTHON_SETUPTOOLS_LICENSE = MIT PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python PYTHON_SETUPTOOLS_CPE_ID_PRODUCT = setuptools -PYTHON_SETUPTOOLS_SETUP_TYPE = setuptools +PYTHON_SETUPTOOLS_SETUP_TYPE = pep517 +HOST_PYTHON_SETUPTOOLS_DEPENDENCIES = host-python-wheel $(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
Re: [Buildroot] [PATCH v2 2/2] package/python-setuptools: migrate to pep517 build backend
Quoted 5 lines · James Hilliard
Now that all dependencies of host-python-setuptools no longer use setuptools as a build backend we can now migrate setuptools itself to the pep517 build backend.
Signed-off-by James Hilliard <[email protected]>
setuptools used to be one of the the "simple" methods that requires almost no
additional dependencies... but now it's pulling in this long chain of pep517 deps... Oh well, progress I guess :-) I don't understand why at least some of them are not part of stdlib.
Applied to master, thanks.
Regards,
Arnout
Quoted 23 lines
--- package/pkg-python.mk | 2 +- package/python-setuptools/python-setuptools.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)package/pkg-python.mk +1
-1@@ -237,7 +237,7 @@ endif # ($(4),target) # interpreter (both host and target). # ifeq ($$($(2)_SETUP_TYPE),setuptools) -$(2)_DEPENDENCIES += $$(if $$(filter host-python-setuptools,$(1)),,host-python-setuptools) +$(2)_DEPENDENCIES += host-python-setuptools else ifneq ($$(filter flit pep517,$$($(2)_SETUP_TYPE)),) $(2)_DEPENDENCIES += host-python-pypa-build host-python-installer ifeq ($$($(2)_SETUP_TYPE),flit)package/python-setuptools/python-setuptools.mk +0
-0
package/python-setuptools/python-setuptools.mk PYTHON_SETUPTOOLS_LICENSE = MIT · line 18
Quoted 9 lines
package/python-setuptools/python-setuptools.mk +2
-1@@ -11,7 +11,8 @@ PYTHON_SETUPTOOLS_LICENSE = MIT PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python PYTHON_SETUPTOOLS_CPE_ID_PRODUCT = setuptools -PYTHON_SETUPTOOLS_SETUP_TYPE = setuptools +PYTHON_SETUPTOOLS_SETUP_TYPE = pep517 +HOST_PYTHON_SETUPTOOLS_DEPENDENCIES = host-python-wheel $(eval $(python-package)) $(eval $(host-python-package))
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 16 lines · James Hilliard
This will be required for upcoming setuptools pep517 support.
Signed-off-by James Hilliard <[email protected]>--- package/python-wheel/python-wheel.hash | 5 +++++ package/python-wheel/python-wheel.mk | 14 ++++++++++++++ 2 files changed, 19 insertions(+)create mode 100644 package/python-wheel/python-wheel.hash create mode 100644
package/python-wheel/python-wheel.mkpackage/python-wheel/python-wheel.hash new file +0
-0
package/python-wheel/python-wheel.hash line 2
Quoted 2 lines
package/python-wheel/python-wheel.hash new file +2
-0@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/wheel/json +md5 ec5004c46d1905da98bb5bc1a10ddd21 wheel-0.40.0.tar.gz
We actually don't need an md5 if there's already a sha256. But I guess it's
the scanpypi script that generates this stuff. Would be nice to get rid of it IMHO.
Anyway, applied to master, thanks.
Regards,
Arnout
Quoted 13 lines
package/python-wheel/python-wheel.hash new file +3
-0+sha256 cd1196f3faee2b31968d626e1731c94f99cbdb67cf5a46e4f5656cbee7738873 wheel-0.40.0.tar.gz +# Locally computed sha256 checksums +sha256 30c23618679108f3e8ea1d2a658c7ca417bdfc891c98ef1a89fa4ff0c9828654 LICENSE.txtpackage/python-wheel/python-wheel.mk new file +4
-0@@ -0,0 +1,14 @@ +################################################################################ +# +# python-wheel +#
package/python-wheel/python-wheel.mk line 14
Quoted 10 lines
package/python-wheel/python-wheel.mk new file +10
-0+################################################################################ + +PYTHON_WHEEL_VERSION = 0.40.0 +PYTHON_WHEEL_SOURCE = wheel-$(PYTHON_WHEEL_VERSION).tar.gz +PYTHON_WHEEL_SITE = https://files.pythonhosted.org/packages/fc/ef/0335f7217dd1e8096a9e8383e1d472aa14717878ffe07c4772e68b6e8735 +PYTHON_WHEEL_SETUP_TYPE = flit +PYTHON_WHEEL_LICENSE = MIT +PYTHON_WHEEL_LICENSE_FILES = LICENSE.txt + +$(eval $(host-python-package))
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot