Mako: add python markup library
authorDaniel Golle <redacted>
Sun, 22 Aug 2021 20:08:37 +0000 (21:08 +0100)
committerDaniel Golle <redacted>
Wed, 6 Oct 2021 23:20:37 +0000 (00:20 +0100)
Mako is needed for some packages to build.

Signed-off-by: Daniel Golle <redacted>
lang/python/Mako/Makefile [new file with mode: 0644]

diff --git a/lang/python/Mako/Makefile b/lang/python/Mako/Makefile
new file mode 100644 (file)
index 0000000..cad511a
--- /dev/null
@@ -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 <daniel@makrotopia.org>
+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))
git clone https://git.99rst.org/PROJECT