python-keyring: bump to version 10.5.0
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 18 Dec 2017 08:07:05 +0000 (09:07 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 18 Dec 2017 09:47:30 +0000 (10:47 +0100)
Fix licence information and add licence checksum.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/python-keyring/Config.in
package/python-keyring/python-keyring.hash
package/python-keyring/python-keyring.mk

index a6eacf52a5f07fffd819ca755400b1dd92b8699c..23d86a482279a6d68a8c820cf2b63abab036e5b1 100644 (file)
@@ -1,8 +1,12 @@
 config BR2_PACKAGE_PYTHON_KEYRING
        bool "python-keyring"
-       depends on BR2_PACKAGE_PYTHON
+       depends on BR2_INSTALL_LIBSTDCPP # python-secretstorage
+       select BR2_PACKAGE_PYTHON_SECRETSTORAGE # runtime
        help
          The Python keyring lib provides a easy way to access the
          system keyring service from Python.
 
          https://pypi.python.org/pypi/keyring
+
+comment "python-keyring needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP
index cd1683a7d1b3b5ce5fce14bc96d639246c7d2531..a57419039e7e71eb807185d9a6046d9450c8f60f 100644 (file)
@@ -1,2 +1,4 @@
-# locally computed
-sha256  c3f0665ee2d969170dcd6b9e83e76cc7fca2be5a40943700ce2624a0a02f9658  keyring-3.0.5.zip
+# md5 from https://pypi.python.org/pypi/keyring/json, sha256 locally computed
+md5    9c53e4f2427ebaa59d304a826311fbcf  keyring-10.5.0.tar.gz
+sha256 0e6129e8c5bc80da34cc1942d30daad79ed40419fcaaa538278c3b2ff235b313  keyring-10.5.0.tar.gz
+sha256  a55e2ffe9b44998e621d51d8c094bed09acc4b5236ee73d7df395a33ba3c18fd  LICENSE
index c1ac15f28bf7ccf496352994cb90ebea7b5279b8..27db2802edf0afcf84bb6c370bf84d773b735074 100644 (file)
@@ -4,16 +4,12 @@
 #
 ################################################################################
 
-PYTHON_KEYRING_VERSION = 3.0.5
-PYTHON_KEYRING_SOURCE = keyring-$(PYTHON_KEYRING_VERSION).zip
-PYTHON_KEYRING_SITE = https://pypi.python.org/packages/source/k/keyring
+PYTHON_KEYRING_VERSION = 10.5.0
+PYTHON_KEYRING_SOURCE = keyring-$(PYTHON_KEYRING_VERSION).tar.gz
+PYTHON_KEYRING_SITE = https://pypi.python.org/packages/42/2e/51bd1739fe335095a2174db3f2f230346762e7e572471059540146a521f6
 PYTHON_KEYRING_SETUP_TYPE = setuptools
-PYTHON_KEYRING_LICENSE = python software foundation license
-
-define PYTHON_KEYRING_EXTRACT_CMDS
-       $(UNZIP) -d $(@D) $(DL_DIR)/$(PYTHON_KEYRING_SOURCE)
-       mv $(@D)/keyring-$(PYTHON_KEYRING_VERSION)/* $(@D)
-       $(RM) -r $(@D)/keyring-$(PYTHON_KEYRING_VERSION)
-endef
+PYTHON_KEYRING_LICENSE = MIT
+PYTHON_KEYRING_LICENSE_FILES = LICENSE
+PYTHON_KEYRING_DEPENDENCIES = host-python-setuptools-scm
 
 $(eval $(python-package))