package: add python-dockerpty
authorPeter Korsgaard <peter@korsgaard.com>
Fri, 9 Mar 2018 19:16:58 +0000 (20:16 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 10 Mar 2018 07:38:04 +0000 (08:38 +0100)
Library to use the pseudo-tty of a docker container.

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-dockerpty/Config.in [new file with mode: 0644]
package/python-dockerpty/python-dockerpty.hash [new file with mode: 0644]
package/python-dockerpty/python-dockerpty.mk [new file with mode: 0644]

index 877ad8a8db4445c2dd055cd810d0ec671efb7fbe..7809b5182bfd54f0d4a8d8de8a674601d92502dd 100644 (file)
@@ -1388,6 +1388,7 @@ F:        package/python-alsaaudio/
 F:     package/python-backports-ssl-match-hostname/
 F:     package/python-cached-property/
 F:     package/python-docker/
+F:     package/python-dockerpty/
 F:     package/python-docker-pycreds/
 F:     package/python-enum/
 F:     package/python-enum34/
index 6068ef573ee3d7f54af41c92f2fe46c8abe8b4fd..b7e0da6dd4c8f600fa4a40a5d113891258135323 100644 (file)
@@ -768,6 +768,7 @@ menu "External python modules"
        source "package/python-dicttoxml/Config.in"
        source "package/python-django/Config.in"
        source "package/python-docker/Config.in"
+       source "package/python-dockerpty/Config.in"
        source "package/python-docker-pycreds/Config.in"
        source "package/python-docopt/Config.in"
        source "package/python-docutils/Config.in"
diff --git a/package/python-dockerpty/Config.in b/package/python-dockerpty/Config.in
new file mode 100644 (file)
index 0000000..f0bd85a
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_DOCKERPTY
+       bool "python-dockerpty"
+       select BR2_PACKAGE_PYTHON_SIX # runtime
+       help
+         Python library to use the pseudo-tty of a docker container.
+
+         https://github.com/d11wtq/dockerpty
diff --git a/package/python-dockerpty/python-dockerpty.hash b/package/python-dockerpty/python-dockerpty.hash
new file mode 100644 (file)
index 0000000..f5ed252
--- /dev/null
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/dockerpty/json, sha256 locally computed
+md5    028bacb34536f3ee6a2ccd668c27e8e4  dockerpty-0.4.1.tar.gz
+sha256 69a9d69d573a0daa31bcd1c0774eeed5c15c295fe719c61aca550ed1393156ce  dockerpty-0.4.1.tar.gz
+sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  LICENSE.txt
diff --git a/package/python-dockerpty/python-dockerpty.mk b/package/python-dockerpty/python-dockerpty.mk
new file mode 100644 (file)
index 0000000..e6fe6e3
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-dockerpty
+#
+################################################################################
+
+PYTHON_DOCKERPTY_VERSION = 0.4.1
+PYTHON_DOCKERPTY_SOURCE = dockerpty-$(PYTHON_DOCKERPTY_VERSION).tar.gz
+PYTHON_DOCKERPTY_SITE = https://pypi.python.org/packages/8d/ee/e9ecce4c32204a6738e0a5d5883d3413794d7498fe8b06f44becc028d3ba
+PYTHON_DOCKERPTY_SETUP_TYPE = setuptools
+PYTHON_DOCKERPTY_LICENSE = Apache-2.0
+PYTHON_DOCKERPTY_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))