mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
Changelog since 8.1.7: - v8.1.8: Fix type hints for open_file(); fix multiline error messages for invalid Path; restore empty string defaults in help text - v8.2.0: Drop Python 3.7-3.9 support; switch to pyproject.toml/flit_core; redesign shell completion system (Bash 4.4+, Zsh, Fish); add ProgressBar(hidden) parameter - v8.2.1: Fix flag value handling for flag options with explicit types; fix shell completion for nested groups - v8.2.2: Fix default/flag_value/type parameter reconciliation; fix Zsh completion for items containing colons - v8.3.0: Rework flag_value and default parameters; enable default on Argument with nargs=-1; enhance Fish shell autocompletion - v8.3.1: Fix pager argument handling; fix prompt rendering with empty prompt_suffix; fix parameter conversion timing issues Add test.sh. Full changelog: https://github.com/pallets/click/releases Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# 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.3.1
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=click
|
|
PKG_HASH:=12ff4785d337a1bb490bb7e9c2b1ee5da3112e94a8622f26a6c77f5d2fc6842a
|
|
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
PKG_LICENSE_FILES:=LICENSE.rst
|
|
|
|
HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-wheel/host
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
include ../python3-package.mk
|
|
include ../python3-host-build.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))
|
|
$(eval $(call HostBuild))
|