From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: Adam Duskett <aduskett@gmail.com>
Cc: Asaf Kahlon <asafka7@gmail.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 1/3] package/python-setuptools: bump to version 59.8.0 and split python2 version
Date: Thu, 30 Dec 2021 22:51:16 +0100 [thread overview]
Message-ID: <20211230225116.4c94c814@windsurf> (raw)
In-Reply-To: <20211230204103.282138-1-aduskett@gmail.com>
Hello Adam,
On Thu, 30 Dec 2021 12:41:01 -0800
Adam Duskett <aduskett@gmail.com> wrote:
> -# Please keep in sync with
> -# package/python3-setuptools/python3-setuptools.mk
I kept this comment, inside the ifeq ($(BR2_PACKAGE_PYTHON3),y) condition.
> +# For the target variant, we adapt the version depending on whether
> +# Python 3.x or 2.x is selected for the target.
> +ifeq ($(BR2_PACKAGE_PYTHON3),y)
> +PYTHON_SETUPTOOLS_VERSION = 59.8.0
> +PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON3_SETUPTOOLS_VERSION).tar.gz
> +PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/ef/75/2bc7bef4d668f9caa9c6ed3f3187989922765403198243040d08d2a52725
> +else # Python
> PYTHON_SETUPTOOLS_VERSION = 44.0.0
> PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).zip
> PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/b0/f3/44da7482ac6da3f36f68e253cb04de37365b3dba9036a3c70773b778b485
> +endif
> +
> +# The host variant is only for Python 2.x, so we need to use 44.0.0.
> +HOST_PYTHON_SETUPTOOLS_VERSION = 44.0.0
> +HOST_PYTHON_SETUPTOOLS_SOURCE = setuptools-$(HOST_PYTHON_SETUPTOOLS_VERSION).zip
> +HOST_PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/b0/f3/44da7482ac6da3f36f68e253cb04de37365b3dba9036a3c70773b778b485
> +HOST_PYTHON_SETUPTOOLS_NEEDS_HOST_PYTHON = python2
> +
> 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
> -HOST_PYTHON_SETUPTOOLS_NEEDS_HOST_PYTHON = python2
This was still needed.
> # Please keep in sync with
> # package/python-setuptools/python-setuptools.mk
> -PYTHON3_SETUPTOOLS_VERSION = 44.0.0
> -PYTHON3_SETUPTOOLS_SOURCE = setuptools-$(PYTHON3_SETUPTOOLS_VERSION).zip
> -PYTHON3_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/b0/f3/44da7482ac6da3f36f68e253cb04de37365b3dba9036a3c70773b778b485
> +PYTHON3_SETUPTOOLS_VERSION = 59.8.0
> +PYTHON3_SETUPTOOLS_SOURCE = setuptools-$(PYTHON3_SETUPTOOLS_VERSION).tar.gz
> +PYTHON3_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/ef/75/2bc7bef4d668f9caa9c6ed3f3187989922765403198243040d08d2a52725
> PYTHON3_SETUPTOOLS_LICENSE = MIT
> PYTHON3_SETUPTOOLS_LICENSE_FILES = LICENSE
> PYTHON3_SETUPTOOLS_CPE_ID_VENDOR = python
> PYTHON3_SETUPTOOLS_CPE_ID_PRODUCT = setuptools
> PYTHON3_SETUPTOOLS_SETUP_TYPE = setuptools
> -HOST_PYTHON3_SETUPTOOLS_DL_SUBDIR = python-setuptools
> HOST_PYTHON3_SETUPTOOLS_NEEDS_HOST_PYTHON = python3
The re-ordering of options here caused some useless noise in the patch,
so I put them back in the original order.
With that, all my test cases passed, so I pushed to master, thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2021-12-30 21:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-30 20:41 [Buildroot] [PATCH v2 1/3] package/python-setuptools: bump to version 59.8.0 and split python2 version Adam Duskett
2021-12-30 20:41 ` [Buildroot] [PATCH v2 2/3] package/python3: bump to version 3.10.1 Adam Duskett
2021-12-30 22:02 ` Thomas Petazzoni
2021-12-30 20:41 ` [Buildroot] [PATCH v2 3/3] package/python3-setuptools: bump to version 60.2.0 Adam Duskett
2021-12-30 22:32 ` Thomas Petazzoni
2021-12-30 21:51 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211230225116.4c94c814@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=aduskett@gmail.com \
--cc=asafka7@gmail.com \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox