[Buildroot] [PATCH v2 10/11] package/python-setuptools: bump to version 58.2.0 and split python2 version
Arnout Vandecappelle
arnout at mind.be
Mon Oct 25 19:22:49 UTC 2021
On 15/10/2021 00:58, Adam Duskett wrote:
> Python setuptools 44.0 is not compatible with python 3.10. Unfortunately,
> python-setuptools 58.2.0 is not compatible with python2. As Buildroot is not
> ready to end supporting python2, the python-setuptools package must accommodate
> both the old version for python2 and the new version for python3.10.
>
> Changes include:
> - Add two new directories: package/python-setuptools/44.0.0 and
> package/python-setuptools/58.2.0
> - Add the appropriate patch and hash files to each directory.
> - Modify python-setuptools.mk to support both setuptools 44.0 and 58.2.0
> (setuptools 58.2.0 does not have a .zip on pypi anymore, only a tar.gz)
> - Point the symlinks in package/python3-setuptools to the files in
> package/python-setuptools/58.2.0/
>
> Signed-off-by: Adam Duskett <aduskett at gmail.com>
> ---
> .../{ => 44.0.0}/0001-add-executable.patch | 0
> .../{ => 44.0.0}/python-setuptools.hash | 0
> .../58.2.0/0001-add-executable.patch | 72 +++++++++++++++++++
> .../58.2.0/python-setuptools.hash | 4 ++
> .../python-setuptools/python-setuptools.mk | 13 +++-
> .../0001-add-executable.patch | 2 +-
> .../python3-setuptools.hash | 2 +-
> .../python3-setuptools/python3-setuptools.mk | 14 ++--
> 8 files changed, 93 insertions(+), 14 deletions(-)
> rename package/python-setuptools/{ => 44.0.0}/0001-add-executable.patch (100%)
> rename package/python-setuptools/{ => 44.0.0}/python-setuptools.hash (100%)
> create mode 100644 package/python-setuptools/58.2.0/0001-add-executable.patch
> create mode 100644 package/python-setuptools/58.2.0/python-setuptools.hash
>
> diff --git a/package/python-setuptools/0001-add-executable.patch b/package/python-setuptools/44.0.0/0001-add-executable.patch
> similarity index 100%
> rename from package/python-setuptools/0001-add-executable.patch
> rename to package/python-setuptools/44.0.0/0001-add-executable.patch
> diff --git a/package/python-setuptools/python-setuptools.hash b/package/python-setuptools/44.0.0/python-setuptools.hash
> similarity index 100%
> rename from package/python-setuptools/python-setuptools.hash
> rename to package/python-setuptools/44.0.0/python-setuptools.hash
> diff --git a/package/python-setuptools/58.2.0/0001-add-executable.patch b/package/python-setuptools/58.2.0/0001-add-executable.patch
> new file mode 100644
> index 0000000000..23180eb3ec
> --- /dev/null
> +++ b/package/python-setuptools/58.2.0/0001-add-executable.patch
> @@ -0,0 +1,72 @@
> +From 9b3d307f8f6a1af88f3f810f5a6cf0835830e1e8 Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause at embedded.rocks>
> +Date: Mon, 7 Dec 2015 01:14:33 +0100
> +Subject: [PATCH 1/1] add executable
Please run check-package.
Regards,
Arnout
More information about the buildroot
mailing list