openwrt-packages/lang/python/python-docker/Makefile

41 lines
1.1 KiB
Makefile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

include $(TOPDIR)/rules.mk
PKG_NAME:=python-docker
PKG_VERSION:=6.0.1
PKG_RELEASE:=3
PYPI_NAME:=docker
PKG_HASH:=896c4282e5c7af5c45e8b683b0b0c33932974fe6e50fc6906a0a83616ab3da97
PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=python-setuptools-scm/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
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-packaging +python3-paramiko +python3-six \
+python3-requests +python3-urllib3 +python3-websocket-client
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))