0
0
mirror of https://github.com/openwrt/packages.git synced 2025-09-20 08:49:57 +00:00
Files
packages/lang/python/python-click/Makefile
Austin Lane 117a3a2b1b python-click: add hostbuild
Signed-off-by: Austin Lane <vidplace7@gmail.com>
2024-12-19 10:30:47 +02:00

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.1.7
PKG_RELEASE:=2
PYPI_NAME:=click
PKG_HASH:=ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de
PKG_MAINTAINER:=Jeffery To <jeffery.to@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))