2020-06-08 19:58:34 +08:00
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
|
|
PKG_NAME:=python-docker
|
2024-01-01 18:44:14 +08:00
|
|
|
|
PKG_VERSION:=7.0.0
|
2023-05-21 21:08:03 +08:00
|
|
|
|
PKG_RELEASE:=1
|
2020-06-08 19:58:34 +08:00
|
|
|
|
|
|
|
|
|
PYPI_NAME:=docker
|
2024-01-01 18:44:14 +08:00
|
|
|
|
PKG_HASH:=323736fb92cd9418fc5e7133bc953e11a9da04f4483f828b527db553f1e7e5a3
|
2020-06-08 19:58:34 +08:00
|
|
|
|
|
|
|
|
|
PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
|
|
|
|
|
PKG_LICENSE:=Apache-2.0
|
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
2024-01-26 04:39:30 +08:00
|
|
|
|
PKG_CPE_ID:=cpe:/a:docker:docker-py
|
2020-06-08 19:58:34 +08:00
|
|
|
|
|
2023-02-20 12:58:27 +08:00
|
|
|
|
PKG_BUILD_DEPENDS:=python-setuptools-scm/host
|
|
|
|
|
|
2020-06-08 19:58:34 +08:00
|
|
|
|
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 \
|
2022-09-07 05:34:54 +08:00
|
|
|
|
+python3-openssl +python3-packaging +python3-paramiko +python3-six \
|
|
|
|
|
+python3-requests +python3-urllib3 +python3-websocket-client
|
2020-06-08 19:58:34 +08:00
|
|
|
|
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))
|