lang/python/python-docker: assign PKG_CPE_ID
[feed/packages.git] / lang / python / python-docker / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=python-docker
4 PKG_VERSION:=7.0.0
5 PKG_RELEASE:=1
6
7 PYPI_NAME:=docker
8 PKG_HASH:=323736fb92cd9418fc5e7133bc953e11a9da04f4483f828b527db553f1e7e5a3
9
10 PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
11 PKG_LICENSE:=Apache-2.0
12 PKG_LICENSE_FILES:=LICENSE
13 PKG_CPE_ID:=cpe:/a:docker:docker-py
14
15 PKG_BUILD_DEPENDS:=python-setuptools-scm/host
16
17 include ../pypi.mk
18 include $(INCLUDE_DIR)/package.mk
19 include ../python3-package.mk
20
21 define Package/python3-docker
22 SECTION:=lang
23 CATEGORY:=Languages
24 SUBMENU:=Python
25 TITLE:=A Python library for the Docker Engine API
26 URL:=https://github.com/docker/docker-py
27 DEPENDS:=\
28 +python3-light +python3-distutils +python3-logging \
29 +python3-openssl +python3-packaging +python3-paramiko +python3-six \
30 +python3-requests +python3-urllib3 +python3-websocket-client
31 endef
32
33 define Package/python3-docker/description
34 A Python library for the Docker Engine API. It lets you do anything the
35 docker command does, but from within Python apps – run containers manage
36 containers, manage Swarms, etc.
37 endef
38
39 $(eval $(call Py3Package,python3-docker))
40 $(eval $(call BuildPackage,python3-docker))
41 $(eval $(call BuildPackage,python3-docker-src))