Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= python3-yaml
  5. PKG_VERSION:= 6.0.2
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e
  8. PKG_DESCR:= fast, expressive, extensible templating engine
  9. PKG_SECTION:= dev/tools
  10. PKG_BUILDDEP:= python3-host
  11. PKG_SITES:= https://files.pythonhosted.org/packages/54/ed/79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17/
  12. PKG_CFLINE_PYTHON3_YAML:= depends on ADK_HOST_ONLY
  13. DISTFILES:= pyyaml-$(PKG_VERSION).tar.gz
  14. WRKDIST= $(WRKDIR)/pyyaml-$(PKG_VERSION)
  15. include ${ADK_TOPDIR}/mk/host.mk
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call HOST_template,PYTHON3_YAML,python3-yaml,${PKG_VERSION}-${PKG_RELEASE}))
  18. include $(ADK_TOPDIR)/mk/python3.mk
  19. HOST_STYLE:= manual
  20. python3-yaml-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