Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v1 1/2] package/python-colorzero: bump version to 2.0
@ 2021-04-09 21:12 Peter Seiderer
  2021-04-09 21:12 ` [Buildroot] [PATCH v1 2/2] package/python-gpiozero: bump version to 1.6.2 Peter Seiderer
  2021-04-22 19:36 ` [Buildroot] [PATCH v1 1/2] package/python-colorzero: bump version to 2.0 Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Seiderer @ 2021-04-09 21:12 UTC (permalink / raw)
  To: buildroot

- change to python3 only

- update license file hash:
  @@ -1,4 +1,4 @@
  -Copyright 2016-2018 Dave Jones <dave@waveform.org.uk>
  +SPDX-License-Identifier: BSD-3-Clause

Changelog ([1]):

  - Dropped Python 2.x support. Current Python support level is 3.5 and above.

  - Added html and css format specifications to the :class:`Color` class'
    string-formatting capabilities.

[1] https://github.com/waveform80/colorzero/blob/master/docs/changelog.rst

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 package/python-colorzero/Config.in             | 1 +
 package/python-colorzero/python-colorzero.hash | 4 ++--
 package/python-colorzero/python-colorzero.mk   | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/package/python-colorzero/Config.in b/package/python-colorzero/Config.in
index b2ef711fbe..a1deada5fc 100644
--- a/package/python-colorzero/Config.in
+++ b/package/python-colorzero/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_COLORZERO
 	bool "python-colorzero"
+	depends on BR2_PACKAGE_PYTHON3
 	help
 	  A color manipulation library for Python.
 
diff --git a/package/python-colorzero/python-colorzero.hash b/package/python-colorzero/python-colorzero.hash
index 118ccea7d7..fc2455c836 100644
--- a/package/python-colorzero/python-colorzero.hash
+++ b/package/python-colorzero/python-colorzero.hash
@@ -1,4 +1,4 @@
 # Locally computed
-sha256  24d30b55793150f9ae7478f8aa2126fe5598a31f928907eadbf9d5a19aa9964c  python-colorzero-1.1.tar.gz
+sha256  86c9933b004aec8ce1c476d1d1129e00325c7724df3c09aa353d5f8e883ed08d  python-colorzero-2.0.tar.gz
 # Locally computed
-sha256  47778d78e05bb6c39c022814e3712a0327c6418c7251757e72167ab8ff12bb4d  LICENSE.txt
+sha256  ee1c76f465410c34802ddf81d70e1ea7a4542cf58459425038498d8f4e36bb45  LICENSE.txt
diff --git a/package/python-colorzero/python-colorzero.mk b/package/python-colorzero/python-colorzero.mk
index 6ddbcbe1c5..f38c98a093 100644
--- a/package/python-colorzero/python-colorzero.mk
+++ b/package/python-colorzero/python-colorzero.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PYTHON_COLORZERO_VERSION = 1.1
+PYTHON_COLORZERO_VERSION = 2.0
 PYTHON_COLORZERO_SITE = $(call github,waveform80,colorzero,release-$(PYTHON_COLORZERO_VERSION))
 PYTHON_COLORZERO_LICENSE = BSD-3-Clause
 PYTHON_COLORZERO_LICENSE_FILES = LICENSE.txt
-- 
2.31.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v1 2/2] package/python-gpiozero: bump version to 1.6.2
  2021-04-09 21:12 [Buildroot] [PATCH v1 1/2] package/python-colorzero: bump version to 2.0 Peter Seiderer
@ 2021-04-09 21:12 ` Peter Seiderer
  2021-04-22 19:36   ` Thomas Petazzoni
  2021-04-22 19:36 ` [Buildroot] [PATCH v1 1/2] package/python-colorzero: bump version to 2.0 Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Seiderer @ 2021-04-09 21:12 UTC (permalink / raw)
  To: buildroot

- change to python3 only (runtime dependency python-colorzero)

- update license file hash:
  @@ -1,3 +1,5 @@
  +SPDX-License-Identifier: BSD-3-Clause
  +

- add setuptools runtime dependency, fixes:

	$ pinout -r a020d3 -m
	Traceback (most recent call last):
	  File "/usr/bin/pinout", line 6, in <module>
	    from pkg_resources import load_entry_point
	ModuleNotFoundError: No module named 'pkg_resources'

For details see [1].

[1] https://gpiozero.readthedocs.io/en/stable/changelog.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 package/python-gpiozero/Config.in            | 2 ++
 package/python-gpiozero/python-gpiozero.hash | 4 ++--
 package/python-gpiozero/python-gpiozero.mk   | 2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/package/python-gpiozero/Config.in b/package/python-gpiozero/Config.in
index 1e2735be45..13506ae45f 100644
--- a/package/python-gpiozero/Config.in
+++ b/package/python-gpiozero/Config.in
@@ -1,8 +1,10 @@
 config BR2_PACKAGE_PYTHON_GPIOZERO
 	bool "python-gpiozero"
 	depends on BR2_arm
+	depends on BR2_PACKAGE_PYTHON3 # python-colorzero
 	select BR2_PACKAGE_PYTHON_COLORZERO # runtime
 	select BR2_PACKAGE_PYTHON_RPI_GPIO # runtime
+	select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
 	help
 	  A simple interface to GPIO devices with Raspberry Pi.
 
diff --git a/package/python-gpiozero/python-gpiozero.hash b/package/python-gpiozero/python-gpiozero.hash
index 2302003561..7359f6405e 100644
--- a/package/python-gpiozero/python-gpiozero.hash
+++ b/package/python-gpiozero/python-gpiozero.hash
@@ -1,4 +1,4 @@
 # Locally computed
-sha256  8cb9824fe1b08e7935de03899455e20ce2c242e4cebb0c954c274c48059f6ea5  python-gpiozero-1.5.1.tar.gz
+sha256  7e6da923774437e24edc0c056e486415bace8c4ba4123c22ac4214147854ea6d  python-gpiozero-1.6.2.tar.gz
 # Locally computed
-sha256  b6e26763b79d7904d6eaa66f7f53ae374cf30431bb6ba8bcb0d9d5ff56dc69e3  LICENSE.rst
+sha256  b6fdd587f3dc3a9b8cc5adae00918e3ffa909b1092bd4decf7e8b1b08fa5d0fb  LICENSE.rst
diff --git a/package/python-gpiozero/python-gpiozero.mk b/package/python-gpiozero/python-gpiozero.mk
index 67e8067a8b..a68c39db1f 100644
--- a/package/python-gpiozero/python-gpiozero.mk
+++ b/package/python-gpiozero/python-gpiozero.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PYTHON_GPIOZERO_VERSION = 1.5.1
+PYTHON_GPIOZERO_VERSION = 1.6.2
 PYTHON_GPIOZERO_SITE = $(call github,gpiozero,gpiozero,v$(PYTHON_GPIOZERO_VERSION))
 PYTHON_GPIOZERO_LICENSE = BSD-3-Clause
 PYTHON_GPIOZERO_LICENSE_FILES = LICENSE.rst
-- 
2.31.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v1 1/2] package/python-colorzero: bump version to 2.0
  2021-04-09 21:12 [Buildroot] [PATCH v1 1/2] package/python-colorzero: bump version to 2.0 Peter Seiderer
  2021-04-09 21:12 ` [Buildroot] [PATCH v1 2/2] package/python-gpiozero: bump version to 1.6.2 Peter Seiderer
@ 2021-04-22 19:36 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2021-04-22 19:36 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri,  9 Apr 2021 23:12:57 +0200
Peter Seiderer <ps.report@gmx.net> wrote:

> - change to python3 only
> 
> - update license file hash:
>   @@ -1,4 +1,4 @@
>   -Copyright 2016-2018 Dave Jones <dave@waveform.org.uk>
>   +SPDX-License-Identifier: BSD-3-Clause
> 
> Changelog ([1]):
> 
>   - Dropped Python 2.x support. Current Python support level is 3.5 and above.
> 
>   - Added html and css format specifications to the :class:`Color` class'
>     string-formatting capabilities.
> 
> [1] https://github.com/waveform80/colorzero/blob/master/docs/changelog.rst
> 
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>

I have applied, with one change. See below.

>  config BR2_PACKAGE_PYTHON_COLORZERO
>  	bool "python-colorzero"
> +	depends on BR2_PACKAGE_PYTHON3

This should have been propagated to python-gpiozero, in that same
patch. I know you did it in PATCH 2/2, but that breaks bisectability,
and logically speaking, after this PATCH 1/2, python-gpiozero is no
longer usable with python2.

Again: applied with that change. Thanks a lot!

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v1 2/2] package/python-gpiozero: bump version to 1.6.2
  2021-04-09 21:12 ` [Buildroot] [PATCH v1 2/2] package/python-gpiozero: bump version to 1.6.2 Peter Seiderer
@ 2021-04-22 19:36   ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2021-04-22 19:36 UTC (permalink / raw)
  To: buildroot

On Fri,  9 Apr 2021 23:12:58 +0200
Peter Seiderer <ps.report@gmx.net> wrote:

> - change to python3 only (runtime dependency python-colorzero)
> 
> - update license file hash:
>   @@ -1,3 +1,5 @@
>   +SPDX-License-Identifier: BSD-3-Clause
>   +
> 
> - add setuptools runtime dependency, fixes:
> 
> 	$ pinout -r a020d3 -m
> 	Traceback (most recent call last):
> 	  File "/usr/bin/pinout", line 6, in <module>
> 	    from pkg_resources import load_entry_point
> 	ModuleNotFoundError: No module named 'pkg_resources'
> 
> For details see [1].
> 
> [1] https://gpiozero.readthedocs.io/en/stable/changelog.html
> 
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
>  package/python-gpiozero/Config.in            | 2 ++
>  package/python-gpiozero/python-gpiozero.hash | 4 ++--
>  package/python-gpiozero/python-gpiozero.mk   | 2 +-
>  3 files changed, 5 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-22 19:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-09 21:12 [Buildroot] [PATCH v1 1/2] package/python-colorzero: bump version to 2.0 Peter Seiderer
2021-04-09 21:12 ` [Buildroot] [PATCH v1 2/2] package/python-gpiozero: bump version to 1.6.2 Peter Seiderer
2021-04-22 19:36   ` Thomas Petazzoni
2021-04-22 19:36 ` [Buildroot] [PATCH v1 1/2] package/python-colorzero: bump version to 2.0 Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox