libgpg-error: fix riscv64
[openadk.git] / package / python-markupsafe / Makefile
blobe35e13602cc72ded6407781fcfe7ce8f9445b1ae
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= python-markupsafe
7 PKG_VERSION:= 2.1.5
8 PKG_RELEASE:= 1
9 PKG_HASH:= d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b
10 PKG_DESCR:= implements a XML/HTML/XHTML markup safe string
11 PKG_SECTION:= dev/tools
12 HOST_BUILDDEP:= python3-host
13 PKG_SITES:= https://files.pythonhosted.org/packages/87/5b/aae44c6655f3801e81aa3eef09dbbf012431987ba564d7231722f68df02d/
15 DISTFILES:= MarkupSafe-$(PKG_VERSION).tar.gz
17 WRKDIST= $(WRKDIR)/MarkupSafe-$(PKG_VERSION)
19 include ${ADK_TOPDIR}/mk/host.mk
20 include $(ADK_TOPDIR)/mk/package.mk
22 $(eval $(call HOST_template,PYTHON_MAKO,python-markupsafe,${PKG_VERSION}-${PKG_RELEASE}))
24 include $(ADK_TOPDIR)/mk/python3.mk
26 HOST_STYLE:= manual
28 python-markupsafe-hostinstall:
29 (cd $(WRKBUILD); PATH='$(HOST_PATH)' python3 ./setup.py install \
30 --prefix=$(STAGING_HOST_DIR)/usr)
32 include ${ADK_TOPDIR}/mk/host-bottom.mk
33 include $(ADK_TOPDIR)/mk/pkg-bottom.mk