summaryrefslogtreecommitdiff
path: root/lang/python/python-zipp
diff options
context:
space:
mode:
authorJan Pavlinec <jan.pavlinec@nic.cz>2019-11-01 18:00:51 +0100
committerJan Pavlinec <jan.pavlinec@nic.cz>2019-11-02 15:53:09 +0100
commitf0a79ca148c7413c51b10bae743a056ac2acc07e (patch)
treeecc030a6d33b62036d73540b2b4be0c30c8ece96 /lang/python/python-zipp
parent66fc0e25a440f0e22b108dd5d582c50c09670d27 (diff)
python-zipp: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
Diffstat (limited to 'lang/python/python-zipp')
-rw-r--r--lang/python/python-zipp/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/lang/python/python-zipp/Makefile b/lang/python/python-zipp/Makefile
new file mode 100644
index 000000000..94db3d124
--- /dev/null
+++ b/lang/python/python-zipp/Makefile
@@ -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))