From d7a01bbba0df798ffc81e289a1069fad08f88483 Mon Sep 17 00:00:00 2001 From: Javier Marcet Date: Mon, 8 Jun 2020 13:58:34 +0200 Subject: [PATCH] python3-docker: add a new package Signed-off-by: Javier Marcet --- lang/python/python-docker/Makefile | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 lang/python/python-docker/Makefile diff --git a/lang/python/python-docker/Makefile b/lang/python/python-docker/Makefile new file mode 100644 index 000000000..6fa3c6aca --- /dev/null +++ b/lang/python/python-docker/Makefile @@ -0,0 +1,41 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-docker +PKG_VERSION:=4.2.1 +PKG_RELEASE:=1 + +PYPI_NAME:=docker +PKG_HASH:=380a20d38fbfaa872e96ee4d0d23ad9beb0f9ed57ff1c30653cbeb0c9c0964f2 + +PKG_MAINTAINER:=Javier Marcet +PKG_LICENSE:=Apache-2.0 +PKG_LICENSE_FILES:=LICENSE + +include ../pypi.mk +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +PYTHON3_PKG_SETUP_ARGS:= + +define Package/python3-docker + SECTION:=lang + CATEGORY:=Languages + SUBMENU:=Python + TITLE:=A Python library for the Docker Engine API + URL:=https://github.com/docker/docker-py + DEPENDS:=\ + +python3-light +python3-distutils +python3-logging \ + +python3-openssl +python3-paramiko +python3-six +python3-requests \ + +python3-websocket-client + VARIANT:=python3 +endef + +define Package/python3-docker/description + A Python library for the Docker Engine API. It lets you do anything the + docker command does, but from within Python apps – run containers manage + containers, manage Swarms, etc. +endef + +$(eval $(call Py3Package,python3-docker)) +$(eval $(call BuildPackage,python3-docker)) +$(eval $(call BuildPackage,python3-docker-src))