python/setuptools-rust: replace deprecated wheel.bdist_wheel
[oi-userland.git] / components / python / pyproject_hooks / Makefile
blob3c4d6335f283de8418ce6737130d8d84599f08da
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # This file was automatically generated using the following command:
14 # $WS_TOOLS/python-integrate-project -d python/pyproject_hooks pyproject-hooks
17 BUILD_STYLE = pyproject
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME = pyproject-hooks
22 HUMAN_VERSION = 1.1.0
23 COMPONENT_SUMMARY = Wrappers to call pyproject.toml-based build backend hooks.
24 COMPONENT_ARCHIVE_URL = \
25 https://github.com/pypa/pyproject-hooks/archive/refs/tags/v$(HUMAN_VERSION).tar.gz
26 COMPONENT_ARCHIVE_HASH = \
27 sha256:1cbbabcd93ea1ac50cca7f23e5b640904684ae6c85003c6f7cf02b598c33f28f
28 COMPONENT_LICENSE = MIT
29 COMPONENT_LICENSE_FILE = LICENSE
31 TEST_STYLE = pytest
33 # This component is required by following bootstrapped components so it must be
34 # bootstrapped too.
35 # - build
36 PYTHON_BOOTSTRAP = yes
38 include $(WS_MAKE_RULES)/common.mk
40 # This project does not support tox so we need to provide test requirements
41 # manually.
42 TEST_REQUIREMENTS += dev-requirements.txt
44 # https://github.com/pypa/pyproject-hooks/issues/203
45 PYTEST_ADDOPTS += --deselect tests/test_call_hooks.py::test_setup_py
47 # Auto-generated dependencies
48 PYTHON_REQUIRED_PACKAGES += library/python/flit-core
49 PYTHON_REQUIRED_PACKAGES += runtime/python
50 TEST_REQUIRED_PACKAGES.python += library/python/flake8
51 TEST_REQUIRED_PACKAGES.python += library/python/pytest
52 TEST_REQUIRED_PACKAGES.python += library/python/setuptools
53 TEST_REQUIRED_PACKAGES.python += library/python/testpath
54 TEST_REQUIRED_PACKAGES.python += library/python/tomli