python-zipp: add new package 10426/head
authorJan Pavlinec <jan.pavlinec@nic.cz>
Fri, 1 Nov 2019 17:00:51 +0000 (18:00 +0100)
committerJan Pavlinec <jan.pavlinec@nic.cz>
Sat, 2 Nov 2019 14:53:09 +0000 (15:53 +0100)
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
lang/python/python-zipp/Makefile [new file with mode: 0644]

diff --git a/lang/python/python-zipp/Makefile b/lang/python/python-zipp/Makefile
new file mode 100644 (file)
index 0000000..94db3d1
--- /dev/null
@@ -0,0 +1,36 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-zipp
+PKG_VERSION:=0.6.0
+PKG_RELEASE:=1
+
+PYPI_NAME:=zipp
+PKG_HASH:=3718b1cbcd963c7d4c5511a8240812904164b7f381b647143a89d3b98f9bcd8e
+
+PKG_MAINTAINER:=Paul Spooren <mail@aparcar.org>, Jan Pavlinec <jan.pavlinec@nic.cz>
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENSE
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-zipp
+  SECTION:=lang
+  CATEGORY:=Languages
+  SUBMENU:=Python
+  TITLE:=Zipfile object wrapper
+  URL:=https://github.com/jaraco/zipp
+  DEPENDS:=+python3-light +python-more-itertools
+  VARIANT:=python3
+endef
+
+HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools-scm
+
+define Package/python3-zipp/description
+  Backport of pathlib-compatible object wrapper for zip files
+endef
+
+$(eval $(call Py3Package,python3-zipp))
+$(eval $(call BuildPackage,python3-zipp))
+$(eval $(call BuildPackage,python3-zipp-src))