# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # This file was automatically generated using the following command: # $WS_TOOLS/python-integrate-project -d python/pyproject_hooks pyproject-hooks # BUILD_STYLE = pyproject include ../../../make-rules/shared-macros.mk COMPONENT_NAME = pyproject-hooks HUMAN_VERSION = 1.2.0 COMPONENT_SUMMARY = Wrappers to call pyproject.toml-based build backend hooks. COMPONENT_ARCHIVE_URL = \ https://github.com/pypa/pyproject-hooks/archive/refs/tags/v$(HUMAN_VERSION).tar.gz COMPONENT_ARCHIVE_HASH = \ sha256:d993cda99f6c41c2679a0cd5528fc15608cc114df26553deb41db62185c11206 COMPONENT_LICENSE = MIT COMPONENT_LICENSE_FILE = LICENSE TEST_STYLE = pytest # This component is required by following bootstrapped components so it must be # bootstrapped too. # - build PYTHON_BOOTSTRAP = yes include $(WS_MAKE_RULES)/common.mk # This project does not support tox so we need to provide test requirements # manually. TEST_REQUIREMENTS += dev-requirements.txt # https://github.com/pypa/pyproject-hooks/issues/203 PYTEST_ADDOPTS += --deselect tests/test_call_hooks.py::test_setup_py # Random directory name COMPONENT_TEST_TRANSFORMS += "-e 's|/tmp/.*/garbage[^/]*|\$$(TMPDIR)|'" # Auto-generated dependencies PYTHON_REQUIRED_PACKAGES += library/python/flit-core PYTHON_REQUIRED_PACKAGES += runtime/python TEST_REQUIRED_PACKAGES.python += library/python/flake8 TEST_REQUIRED_PACKAGES.python += library/python/pytest TEST_REQUIRED_PACKAGES.python += library/python/setuptools TEST_REQUIRED_PACKAGES.python += library/python/testpath TEST_REQUIRED_PACKAGES.python += library/python/tomli