Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= python-markupsafe
  5. PKG_VERSION:= 3.0.2
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0
  8. PKG_DESCR:= implements a XML/HTML/XHTML markup safe string
  9. PKG_SECTION:= dev/tools
  10. HOST_BUILDDEP:= python3-host
  11. PKG_SITES:= https://files.pythonhosted.org/packages/b2/97/5d42485e71dfc078108a86d6de8fa46db44a1a9295e89c5d6d4a06e23a62/
  12. PKG_CFLINE_PYTHON_MARKUPSAFE:= depends on ADK_HOST_ONLY
  13. DISTFILES:= markupsafe-$(PKG_VERSION).tar.gz
  14. WRKDIST= $(WRKDIR)/markupsafe-$(PKG_VERSION)
  15. include ${ADK_TOPDIR}/mk/host.mk
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call HOST_template,PYTHON_MAKO,python-markupsafe,${PKG_VERSION}-${PKG_RELEASE}))
  18. include $(ADK_TOPDIR)/mk/python3.mk
  19. HOST_STYLE:= manual
  20. python-markupsafe-hostinstall:
  21. (cd $(WRKBUILD); PATH='$(HOST_PATH)' python3 ./setup.py install \
  22. --prefix=$(STAGING_HOST_DIR)/usr)
  23. include ${ADK_TOPDIR}/mk/host-bottom.mk
  24. include $(ADK_TOPDIR)/mk/pkg-bottom.mk