package: add python-docker-pycreds
authorPeter Korsgaard <peter@korsgaard.com>
Fri, 9 Mar 2018 19:16:52 +0000 (20:16 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 10 Mar 2018 07:28:18 +0000 (08:28 +0100)
Python bindings for the docker credentials store API.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
DEVELOPERS
package/Config.in
package/python-docker-pycreds/Config.in [new file with mode: 0644]
package/python-docker-pycreds/python-docker-pycreds.hash [new file with mode: 0644]
package/python-docker-pycreds/python-docker-pycreds.mk [new file with mode: 0644]

index 78a0721201ed75dda7b18be1a473086ceb213954..845aece54eff29613808f85f31bfc3711aa46dd4 100644 (file)
@@ -1385,6 +1385,7 @@ F:        package/lzop/
 F:     package/memtool/
 F:     package/mosquitto/
 F:     package/python-alsaaudio/
+F:     package/python-docker-pycreds/
 F:     package/python-enum/
 F:     package/python-enum34/
 F:     package/python-ipaddr/
index f455e7473593812a3e870893a97102d3179b23da..a5604fc36b71f661e76939319d1071732e165162 100644 (file)
@@ -765,6 +765,7 @@ menu "External python modules"
        source "package/python-dialog3/Config.in"
        source "package/python-dicttoxml/Config.in"
        source "package/python-django/Config.in"
+       source "package/python-docker-pycreds/Config.in"
        source "package/python-docopt/Config.in"
        source "package/python-docutils/Config.in"
        source "package/python-dominate/Config.in"
diff --git a/package/python-docker-pycreds/Config.in b/package/python-docker-pycreds/Config.in
new file mode 100644 (file)
index 0000000..584c1db
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_DOCKER_PYCREDS
+       bool "python-docker-pycreds"
+       select BR2_PACKAGE_PYTHON_SIX # runtime
+       help
+         Python bindings for the docker credentials store API.
+
+         https://github.com/shin-/dockerpy-creds
diff --git a/package/python-docker-pycreds/python-docker-pycreds.hash b/package/python-docker-pycreds/python-docker-pycreds.hash
new file mode 100644 (file)
index 0000000..9e1182d
--- /dev/null
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/docker-pycreds/json, sha256 locally computed
+md5    ae63c7def3e58cb51a4d8f5810683030  docker-pycreds-0.2.2.tar.gz
+sha256 c7ab85de2894baff6ee8f15160cbbfa2fd3a04e56f0372c5793d24060687b299  docker-pycreds-0.2.2.tar.gz
+sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  LICENSE
diff --git a/package/python-docker-pycreds/python-docker-pycreds.mk b/package/python-docker-pycreds/python-docker-pycreds.mk
new file mode 100644 (file)
index 0000000..e7ffd0e
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-docker-pycreds
+#
+################################################################################
+
+PYTHON_DOCKER_PYCREDS_VERSION = 0.2.2
+PYTHON_DOCKER_PYCREDS_SOURCE = docker-pycreds-$(PYTHON_DOCKER_PYCREDS_VERSION).tar.gz
+PYTHON_DOCKER_PYCREDS_SITE = https://pypi.python.org/packages/db/73/42d4c698e70633d99f7f7c4c87c6de45ead5ad7b36dcfccd998fd1556ac9
+PYTHON_DOCKER_PYCREDS_SETUP_TYPE = setuptools
+PYTHON_DOCKER_PYCREDS_LICENSE = Apache-2.0
+PYTHON_DOCKER_PYCREDS_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))