summaryrefslogtreecommitdiff
path: root/lang/python/python-click
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-07-13 16:31:57 +0800
committerJeffery To <jeffery.to@gmail.com>2023-07-14 13:15:25 +0800
commit2f54fd20d21c361bad2f401e076e1166e7aef092 (patch)
treee5e0e74374084d8320c5ec0109717bd6e14551c6 /lang/python/python-click
parent0ef62efff5a40a5a93b623510d5efd25d6ae7551 (diff)
click: Update to 8.1.4, rename source package
This renames the source package to python-click to match other Python packages. This also updates the package dependencies, licence file, package title and description. Signed-off-by: Jeffery To <jeffery.to@gmail.com> (cherry picked from commit 5710f272dbef52f9186fc36c022071cee7789651)
Diffstat (limited to 'lang/python/python-click')
-rw-r--r--lang/python/python-click/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/lang/python/python-click/Makefile b/lang/python/python-click/Makefile
new file mode 100644
index 000000000..47134d203
--- /dev/null
+++ b/lang/python/python-click/Makefile
@@ -0,0 +1,40 @@
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-click
+PKG_VERSION:=8.1.4
+PKG_RELEASE:=1
+
+PYPI_NAME:=click
+PKG_HASH:=b97d0c74955da062a7d4ef92fadb583806a585b2ea81958a81bd72726cbb8e37
+
+PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
+PKG_LICENSE:=BSD-3-Clause
+PKG_LICENSE_FILES:=LICENSE.rst
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-click
+ SECTION:=lang
+ CATEGORY:=Languages
+ SUBMENU:=Python
+ TITLE:=Composable command line interface toolkit
+ URL:=https://palletsprojects.com/p/click/
+ DEPENDS:=+python3-light +python3-urllib +python3-uuid
+endef
+
+define Package/python3-click/description
+Click is a Python package for creating beautiful command line interfaces
+in a composable way with as little code as necessary. It's the "Command
+Line Interface Creation Kit". It's highly configurable but comes with
+sensible defaults out of the box.
+endef
+
+$(eval $(call Py3Package,python3-click))
+$(eval $(call BuildPackage,python3-click))
+$(eval $(call BuildPackage,python3-click-src))