29a12eb86a
This adds pep517(needed for flit-core to build itself) and flit python package types. We need to add an installer script and pass it appropriate options for installing pep517 wheels generated by python-pypa-build during the build stage. Unfortunately it seems pep517 does not support builds without using the wheel format. We also need to add a patch fixing the version parser in flit-core. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> [Arnout: - fix indentation in pkg-python.mk (tabs, not spaces); - use the new _CMD variables instead of duplicating the entire _CMDS definitions; - no need to filter dependencies (they're not self-referencing); - _NEEDS_HOST_PYTHON no longer exists; - host-python-pypa-build gets added to DEPENDENCIES automatically. ] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
14 lines
530 B
Makefile
14 lines
530 B
Makefile
################################################################################
|
|
#
|
|
# python-flit-core
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_FLIT_CORE_VERSION = 3.6.0
|
|
PYTHON_FLIT_CORE_SOURCE = flit_core-$(PYTHON_FLIT_CORE_VERSION).tar.gz
|
|
PYTHON_FLIT_CORE_SITE = https://files.pythonhosted.org/packages/08/e9/0653f7783ba2ec2f954f19442878427f1d5bfccb01842d354453c2809b22
|
|
PYTHON_FLIT_CORE_LICENSE = BSD-3-Clause
|
|
PYTHON_FLIT_CORE_SETUP_TYPE = pep517
|
|
|
|
$(eval $(host-python-package))
|