package/python-spidev: bump to version 3.4
diff mbox series

Message ID 1571647694-16846-1-git-send-email-angelo@amarulasolutions.com
State Accepted
Commit abbe6c68e0af87b0d24e9a744b7f9dee386377e5
Headers show
Series
  • package/python-spidev: bump to version 3.4
Related show

Commit Message

Angelo Compagnucci Oct. 21, 2019, 8:48 a.m. UTC
This patch bump python-spidev to version 3.4 and updates it's license
files.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
---
 DEVELOPERS                               | 1 +
 package/python-spidev/python-spidev.hash | 8 +++++---
 package/python-spidev/python-spidev.mk   | 8 ++++----
 3 files changed, 10 insertions(+), 7 deletions(-)

Comments

Peter Korsgaard Oct. 25, 2019, 5:04 p.m. UTC | #1
>>>>> "Angelo" == Angelo Compagnucci <angelo@amarulasolutions.com> writes:

 > This patch bump python-spidev to version 3.4 and updates it's license
 > files.

It would have been good to add a description / link to where it was
changed and explain why the LICENSE.md file isn't used.

Committed with a more detailed commit message, thanks.

I noticed that setup.py still mentions GPLv2 and the LICENSE file isn't
included in the tarball on pypi, so I added a bugtracker issue about
that:

https://github.com/doceme/py-spidev/issues/89

Patch
diff mbox series

diff --git a/DEVELOPERS b/DEVELOPERS
index 906ccae..f2cee79 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -183,6 +183,7 @@  F:	package/monolite/
 F:	package/python-can/
 F:	package/python-pillow/
 F:	package/python-pydal/
+F:	package/python-spidev/
 F:	package/python-web2py/
 F:	package/sshguard/
 F:	package/sysdig/
diff --git a/package/python-spidev/python-spidev.hash b/package/python-spidev/python-spidev.hash
index dc08925..aabd8d6 100644
--- a/package/python-spidev/python-spidev.hash
+++ b/package/python-spidev/python-spidev.hash
@@ -1,3 +1,5 @@ 
-# md5 from https://pypi.python.org/pypi/spidev/json, sha256 locally computed
-md5	f601676f1bb48b9aa3b3897f95216365  spidev-3.2.tar.gz
-sha256	09d2b5122f0dd79910713a11f9a0020f71537224bf829916def4fffc0ea59456  spidev-3.2.tar.gz
+# sha256 from https://pypi.org/project/spidev
+sha256	4314e52f573d95233c907f307558893313a8a606e197e77bb711526b0e179e80  spidev-3.4.tar.gz
+
+#sha256 locally computed
+sha256	153a6f02f41aebe292cf3307f973a80b4fb0c988d8d3e7d126c7a66c20b1cc27  README.md
diff --git a/package/python-spidev/python-spidev.mk b/package/python-spidev/python-spidev.mk
index 17fb049..7f9bec7 100644
--- a/package/python-spidev/python-spidev.mk
+++ b/package/python-spidev/python-spidev.mk
@@ -4,11 +4,11 @@ 
 #
 ################################################################################
 
-PYTHON_SPIDEV_VERSION = 3.2
+PYTHON_SPIDEV_VERSION = 3.4
 PYTHON_SPIDEV_SOURCE = spidev-$(PYTHON_SPIDEV_VERSION).tar.gz
-PYTHON_SPIDEV_SITE = https://pypi.python.org/packages/36/83/73748b6e1819b57d8e1df8090200195cdae33aaa22a49a91ded16785eedd
+PYTHON_SPIDEV_SITE = https://files.pythonhosted.org/packages/fb/14/4c2e1640f0cb04862c76d9d76ed7c945b0f67876e503ac02f7f675fe86a0
 PYTHON_SPIDEV_SETUP_TYPE = distutils
-PYTHON_SPIDEV_LICENSE = GPL-2.0
-PYTHON_SPIDEV_LICENSE_FILES = LICENSE.md
+PYTHON_SPIDEV_LICENSE = MIT
+PYTHON_SPIDEV_LICENSE_FILES = README.md
 
 $(eval $(python-package))