From 2e17cb9a1b336f4b53146bdedbc583a03092e424 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sun, 22 Aug 2021 21:08:37 +0100 Subject: [PATCH] Mako: add python markup library Mako is needed for some packages to build. Signed-off-by: Daniel Golle --- lang/python/Mako/Makefile | 48 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 lang/python/Mako/Makefile diff --git a/lang/python/Mako/Makefile b/lang/python/Mako/Makefile new file mode 100644 index 0000000000..cad511aed8 --- /dev/null +++ b/lang/python/Mako/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:=Mako +PKG_VERSION:=1.1.5 +PKG_RELEASE:=1 + +PYPI_NAME:=$(PKG_NAME) +PKG_HASH:=169fa52af22a91900d852e937400e79f535496191c63712e3b9fda5a9bed6fc3 + +PKG_MAINTAINER:=Daniel Golle +PKG_LICENSE:=BSD-3-Clause +PKG_LICENSE_FILES:=LICENSE.rst +PKG_CPE_ID:=cpe:/a:palletsprojects:flask + +HOST_BUILD_DEPENDS:=python3/host + +include ../pypi.mk +include $(INCLUDE_DIR)/host-build.mk +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-mako + SECTION:=lang + CATEGORY:=Languages + SUBMENU:=Python + TITLE:=Mako + URL:=https://www.makotemplates.org/ + DEPENDS:=+python3-light +endef + +define Package/python3-mako/description + Mako is a template library written in Python. +endef + +define Host/Compile + $(call HostPython3/ModSetup,,install --prefix="" --root="$(STAGING_DIR_HOSTPKG)") +endef + +Host/Install:= + +$(eval $(call Py3Package,python3-mako)) +$(eval $(call BuildPackage,python3-mako)) +$(eval $(call BuildPackage,python3-mako-src)) +$(eval $(call HostBuild)) -- 2.30.2