You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.1 KiB

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=Mako
  6. PKG_VERSION:=1.1.5
  7. PKG_RELEASE:=1
  8. PYPI_NAME:=$(PKG_NAME)
  9. PKG_HASH:=169fa52af22a91900d852e937400e79f535496191c63712e3b9fda5a9bed6fc3
  10. PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
  11. PKG_LICENSE:=BSD-3-Clause
  12. PKG_LICENSE_FILES:=LICENSE.rst
  13. PKG_CPE_ID:=cpe:/a:palletsprojects:flask
  14. HOST_BUILD_DEPENDS:=python3/host
  15. include ../pypi.mk
  16. include $(INCLUDE_DIR)/host-build.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. define Package/python3-mako
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. SUBMENU:=Python
  23. TITLE:=Mako
  24. URL:=https://www.makotemplates.org/
  25. DEPENDS:=+python3-light
  26. endef
  27. define Package/python3-mako/description
  28. Mako is a template library written in Python.
  29. endef
  30. define Host/Compile
  31. $(call HostPython3/ModSetup,,install --prefix="" --root="$(STAGING_DIR_HOSTPKG)")
  32. endef
  33. Host/Install:=
  34. $(eval $(call Py3Package,python3-mako))
  35. $(eval $(call BuildPackage,python3-mako))
  36. $(eval $(call BuildPackage,python3-mako-src))
  37. $(eval $(call HostBuild))