Skip to contentSkip to conversation

python-validators: bump version to 0.15.0

PATCH New Peter Korsgaard 2 participants 3 messages Jun 9, 2020 – Jun 21, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-validators: bump version to 0.15.0

Upstream dropped python 2.x support, so add a dependency on python3:
https://github.com/kvesteri/validators/commit/f8608f45378bd465072176772887c685d1d7c300

License is MIT, not BSD:
https://github.com/kvesteri/validators/commit/669129a3d3eb106e1b2d82bd9911faebb3287db6

And adjust the .hash spacing for the new agreements.

---
 package/python-validators/Config.in              | 1 +
 package/python-validators/python-validators.hash | 6 +++---
 package/python-validators/python-validators.mk   | 6 +++---
 3 files changed, 7 insertions(+), 6 deletions(-)
package/python-validators/Config.in +1 -0
index e700369910..802b1dde5b 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_VALIDATORS
 	bool "python-validators"
+	depends on BR2_PACKAGE_PYTHON3
 	select BR2_PACKAGE_PYTHON_SIX # runtime
 	select BR2_PACKAGE_PYTHON_DECORATOR # runtime
 	help
package/python-validators/python-validators.hash +3 -3
index 1a3aa79980..2845a2e8c0 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/validators/json
-md5	ae3932b693452b96f037c919e1d7250f  validators-0.14.2.tar.gz
-sha256	b192e6bde7d617811d59f50584ed240b580375648cd032d106edeb3164099508  validators-0.14.2.tar.gz
+md5  2f0446f2a15aa694be0cfd8728eb4444  validators-0.15.0.tar.gz
+sha256  31e8bb01b48b48940a021b8a9576b840f98fa06b91762ef921d02cb96d38727a  validators-0.15.0.tar.gz
 # Locally computed sha256 checksums
-sha256	a7fd9d761c7ca1c6508b9baf030f6e21f5752d1caea3e49a270634aa9ef01e6f  LICENSE
+sha256  a7fd9d761c7ca1c6508b9baf030f6e21f5752d1caea3e49a270634aa9ef01e6f  LICENSE
package/python-validators/python-validators.mk +3 -3
index e24ce35fdd..7268b1013b 100644
@@ -4,11 +4,11 @@
 #
 ################################################################################
 
-PYTHON_VALIDATORS_VERSION = 0.14.2
+PYTHON_VALIDATORS_VERSION = 0.15.0
 PYTHON_VALIDATORS_SOURCE = validators-$(PYTHON_VALIDATORS_VERSION).tar.gz
-PYTHON_VALIDATORS_SITE = https://files.pythonhosted.org/packages/4d/56/9b48c918ef118ea12b90f227c4498ed4703b418bdd8fb49479dfcbeae4ef
+PYTHON_VALIDATORS_SITE = https://files.pythonhosted.org/packages/c4/4a/4f9c892f9a9f08ee5f99c32bbd4297499099c2c5f7eff8c617a57d31a7d8
 PYTHON_VALIDATORS_SETUP_TYPE = setuptools
-PYTHON_VALIDATORS_LICENSE = BSD
+PYTHON_VALIDATORS_LICENSE = MIT
 PYTHON_VALIDATORS_LICENSE_FILES = LICENSE
 
 $(eval $(python-package))
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 python-validators: bump version to 0.15.0

Hello,

Quoted 5 lines · On Tue, 9 Jun 2020 08:30:10 +0200 Peter Korsgaard <[email protected]> wrote:

Upstream dropped python 2.x support, so add a dependency on python3:
https://github.com/kvesteri/validators/commit/f8608f45378bd465072176772887c685d1d7c300

License is MIT, not BSD:
https://github.com/kvesteri/validators/commit/669129a3d3eb106e1b2d82bd9911faebb3287db6

This problem is already there in 2020.05.. and probably in 2020.02, so this license fix is really a fix, which is independent from the 0.15.0 bump. Could you send two separate patches.

Quoted 1 line

And adjust the .hash spacing for the new agreements.

I'm not sure about the "for the new agreements" wording.

Also the "package/" prefix is missing in the commit title.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 python-validators: bump version to 0.15.0

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hello,

Quoted 3 lines · On Tue, 9 Jun 2020 08:30:10 +0200 Peter Korsgaard <[email protected]> wrote:

Upstream dropped python 2.x support, so add a dependency on python3:
https://github.com/kvesteri/validators/commit/f8608f45378bd465072176772887c685d1d7c300

Quoted 6 lines
Quoted 2 lines

License is MIT, not BSD:
https://github.com/kvesteri/validators/commit/669129a3d3eb106e1b2d82bd9911faebb3287db6

This problem is already there in 2020.05.. and probably in 2020.02, so this license fix is really a fix, which is independent from the 0.15.0 bump. Could you send two separate patches.

Sure, I've sent a v2.

Quoted 3 lines
Quoted 1 line

And adjust the .hash spacing for the new agreements.

I'm not sure about the "for the new agreements" wording.

What's wrong with it? What do you suggest instead?

Quoted 1 line

Also the "package/" prefix is missing in the commit title.

Ups, indeed - Fixed in v2.

Signature · 1 line
Bye, Peter Korsgaard