python-secretstorage: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Wed, 13 Dec 2017 09:04:23 +0000 (10:04 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 16 Dec 2017 15:35:24 +0000 (16:35 +0100)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-secretstorage/Config.in [new file with mode: 0644]
package/python-secretstorage/python-secretstorage.hash [new file with mode: 0644]
package/python-secretstorage/python-secretstorage.mk [new file with mode: 0644]

index fe60f707bc5287eed02646b78a8f93b86f230e52..e7435eb70d59ba053cba1c6e3664ed55cc5733ad 100644 (file)
@@ -893,6 +893,7 @@ menu "External python modules"
        source "package/python-scapy3k/Config.in"
        source "package/python-schedule/Config.in"
        source "package/python-sdnotify/Config.in"
+       source "package/python-secretstorage/Config.in"
        source "package/python-serial/Config.in"
        source "package/python-service-identity/Config.in"
        source "package/python-setproctitle/Config.in"
diff --git a/package/python-secretstorage/Config.in b/package/python-secretstorage/Config.in
new file mode 100644 (file)
index 0000000..87aaf6a
--- /dev/null
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PYTHON_SECRETSTORAGE
+       bool "python-secretstorage"
+       depends on BR2_INSTALL_LIBSTDCPP # python-cryptography
+       select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
+       help
+         Python bindings to FreeDesktop.org Secret Service API.
+
+         https://github.com/mitya57/secretstorage
+
+comment "python-secretstorage needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/python-secretstorage/python-secretstorage.hash b/package/python-secretstorage/python-secretstorage.hash
new file mode 100644 (file)
index 0000000..b45fb57
--- /dev/null
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/secretstorage/json, sha256 locally computed
+md5    3b9465831b069e2622973afb7deb7bc2  SecretStorage-2.3.1.tar.gz
+sha256 3af65c87765323e6f64c83575b05393f9e003431959c9395d1791d51497f29b6  SecretStorage-2.3.1.tar.gz
+sha256  1debb9ff5d6759fd23cdb40e3ba34b1fa68dd0b19672b6d154599fb0ab704c57  LICENSE
diff --git a/package/python-secretstorage/python-secretstorage.mk b/package/python-secretstorage/python-secretstorage.mk
new file mode 100644 (file)
index 0000000..b9776d6
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-secretstorage
+#
+################################################################################
+
+PYTHON_SECRETSTORAGE_VERSION = 2.3.1
+PYTHON_SECRETSTORAGE_SOURCE = SecretStorage-$(PYTHON_SECRETSTORAGE_VERSION).tar.gz
+PYTHON_SECRETSTORAGE_SITE = https://pypi.python.org/packages/a5/a5/0830cfe34a4cfd0d1c3c8b614ede1edb2aaf999091ac8548dd19cb352e79
+PYTHON_SECRETSTORAGE_SETUP_TYPE = setuptools
+PYTHON_SECRETSTORAGE_LICENSE = BSD-3-Clause
+PYTHON_SECRETSTORAGE_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))