From 65b7c24db46c2148d744288a71c42e45cf84063c Mon Sep 17 00:00:00 2001 From: Austin Lane Date: Thu, 5 Dec 2024 01:31:12 -0500 Subject: [PATCH] python-tabulate: add package / hostbuild Signed-off-by: Austin Lane --- lang/python/python-tabulate/Makefile | 48 ++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 lang/python/python-tabulate/Makefile diff --git a/lang/python/python-tabulate/Makefile b/lang/python/python-tabulate/Makefile new file mode 100644 index 0000000000..e2eb30750e --- /dev/null +++ b/lang/python/python-tabulate/Makefile @@ -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 +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)) -- 2.30.2