python-tabulate: add package / hostbuild

Signed-off-by: Austin Lane <vidplace7@gmail.com>
This commit is contained in:
Austin Lane
2024-12-05 01:31:12 -05:00
committed by Alexandru Ardelean
parent 117a3a2b1b
commit 65b7c24db4

View File

@@ -0,0 +1,48 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-tabulate
PKG_VERSION:=0.9.0
PKG_RELEASE:=1
PYPI_NAME:=tabulate
PKG_HASH:=0095b12bf5966de529c0feb1fa08671671b3368eec77d7ef7ab114be2c068b3c
PKG_MAINTAINER:=Austin Lane <vidplace7@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=python-setuptools-scm/host
HOST_BUILD_DEPENDS:= \
python3/host \
python-build/host \
python-installer/host \
python-wheel/host \
python-setuptools-scm/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-tabulate
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Pretty-print tabular data
URL:=https://pypi.org/project/tabulate
DEPENDS:=+python3-light
endef
define Package/python3-tabulate/description
Pretty-print tabular data
endef
$(eval $(call Py3Package,python3-tabulate))
$(eval $(call BuildPackage,python3-tabulate))
$(eval $(call BuildPackage,python3-tabulate-src))
$(eval $(call HostBuild))