[Buildroot] [PATCH] python-gpiozero: update to version 2.0

Arnout Vandecappelle arnout at mind.be
Fri Nov 10 21:16:09 UTC 2023


  Hi Martin,

On 07/11/2023 20:18, Martin Hundebøll wrote:
> Most notably, this removes puython2 support and adds support for RPi5.
> While here, the package is enabled for aarch64 too.

  Jamer already submitted this version bump last Sunday, and Thomas applied it 
on Monday. So your patch unfortunately came too late. I marked it as Superseded.

  However, James didn't enable it for aarch64, so perhaps you can submit a patch 
doing that?

  Regards,
  Arnout

> 
> Signed-off-by: Martin Hundebøll <martin at geanix.com>
> ---
>   .../0001-Migrate-to-setup.cfg.patch           | 855 ------------------
>   package/python-gpiozero/Config.in             |   2 +-
>   package/python-gpiozero/python-gpiozero.hash  |   2 +-
>   package/python-gpiozero/python-gpiozero.mk    |   2 +-
>   4 files changed, 3 insertions(+), 858 deletions(-)
>   delete mode 100644 package/python-gpiozero/0001-Migrate-to-setup.cfg.patch
[snip]
> diff --git a/package/python-gpiozero/Config.in b/package/python-gpiozero/Config.in
> index 93e5de3e55..4c2233519b 100644
> --- a/package/python-gpiozero/Config.in
> +++ b/package/python-gpiozero/Config.in
> @@ -1,6 +1,6 @@
>   config BR2_PACKAGE_PYTHON_GPIOZERO
>   	bool "python-gpiozero"
> -	depends on BR2_arm
> +	depends on (BR2_arm || BR2_aarch64)
>   	select BR2_PACKAGE_PYTHON_COLORZERO # runtime
>   	select BR2_PACKAGE_PYTHON_RPI_GPIO # runtime
>   	select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
> diff --git a/package/python-gpiozero/python-gpiozero.hash b/package/python-gpiozero/python-gpiozero.hash
> index 7359f6405e..18153cf9d7 100644
> --- a/package/python-gpiozero/python-gpiozero.hash
> +++ b/package/python-gpiozero/python-gpiozero.hash
> @@ -1,4 +1,4 @@
>   # Locally computed
> -sha256  7e6da923774437e24edc0c056e486415bace8c4ba4123c22ac4214147854ea6d  python-gpiozero-1.6.2.tar.gz
> +sha256  c57d9c81854f72ab54351d72fa1e6b2e4bc1ff56c57422c30772d271824e1916  python-gpiozero-2.0.tar.gz
>   # Locally computed
>   sha256  b6fdd587f3dc3a9b8cc5adae00918e3ffa909b1092bd4decf7e8b1b08fa5d0fb  LICENSE.rst
> diff --git a/package/python-gpiozero/python-gpiozero.mk b/package/python-gpiozero/python-gpiozero.mk
> index a68c39db1f..830be391a1 100644
> --- a/package/python-gpiozero/python-gpiozero.mk
> +++ b/package/python-gpiozero/python-gpiozero.mk
> @@ -4,7 +4,7 @@
>   #
>   ################################################################################
>   
> -PYTHON_GPIOZERO_VERSION = 1.6.2
> +PYTHON_GPIOZERO_VERSION = 2.0
>   PYTHON_GPIOZERO_SITE = $(call github,gpiozero,gpiozero,v$(PYTHON_GPIOZERO_VERSION))
>   PYTHON_GPIOZERO_LICENSE = BSD-3-Clause
>   PYTHON_GPIOZERO_LICENSE_FILES = LICENSE.rst



More information about the buildroot mailing list