python-pylibftdi: check hash
authorRicardo Martincoski <ricardo.martincoski@gmail.com>
Tue, 4 Apr 2017 22:50:15 +0000 (19:50 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 6 Apr 2017 20:41:53 +0000 (22:41 +0200)
Currently the hash is not checked, returning this message:
WARNING: no hash file for pylibftdi-0.15.0.tar.gz

Rename the .hash file to use the package name.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/python-pylibftdi/python-libftdi.hash [deleted file]
package/python-pylibftdi/python-pylibftdi.hash [new file with mode: 0644]

diff --git a/package/python-pylibftdi/python-libftdi.hash b/package/python-pylibftdi/python-libftdi.hash
deleted file mode 100644 (file)
index 54b33a1..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# md5 from https://pypi.python.org/pypi/pylibftdi/json, sha256 locally computed
-md5  eaee7fb3a67f33a35a164a9628daaafe pylibftdi-0.15.0.tar.gz
-sha256  51ef08ebcc4ec3eaec2366e9648d3f8fa1b737ea507a7f3a374ac58abf148e77 pylibftdi-0.15.0.tar.gz
diff --git a/package/python-pylibftdi/python-pylibftdi.hash b/package/python-pylibftdi/python-pylibftdi.hash
new file mode 100644 (file)
index 0000000..54b33a1
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/pylibftdi/json, sha256 locally computed
+md5  eaee7fb3a67f33a35a164a9628daaafe pylibftdi-0.15.0.tar.gz
+sha256  51ef08ebcc4ec3eaec2366e9648d3f8fa1b737ea507a7f3a374ac58abf148e77 pylibftdi-0.15.0.tar.gz