# # 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 poetry_core # BUILD_STYLE = pyproject include ../../../make-rules/shared-macros.mk COMPONENT_NAME = poetry_core HUMAN_VERSION = 2.0.1 COMPONENT_SUMMARY = Poetry PEP 517 Build Backend COMPONENT_PROJECT_URL = https://github.com/python-poetry/poetry-core COMPONENT_ARCHIVE_HASH = \ sha256:10177c2772469d9032a49f0d8707af761b1c597cea3b4fb31546e5cd436eb157 COMPONENT_LICENSE = MIT COMPONENT_LICENSE_FILE = LICENSE TEST_STYLE = pytest include $(WS_MAKE_RULES)/common.mk # This project uses poetry to manage test dependencies. TEST_REQUIREMENTS_POETRY += test # Test results order varies between runs PYTEST_SORT_TESTS = yes # https://github.com/python-poetry/poetry/issues/9967 PYTEST_ADDOPTS += --deselect tests/masonry/builders/test_complete.py::test_package_with_include PYTEST_ADDOPTS += --deselect tests/masonry/builders/test_sdist.py::test_default_with_excluded_data PYTEST_ADDOPTS += --deselect tests/masonry/builders/test_wheel.py::test_default_src_with_excluded_data # Random directory name COMPONENT_TEST_TRANSFORMS += "-e 's|/tmp/.*/garbage[^/]*|\$$(TMPDIR)|'" # Auto-generated dependencies PYTHON_REQUIRED_PACKAGES += runtime/python TEST_REQUIRED_PACKAGES.python += library/python/build TEST_REQUIRED_PACKAGES.python += library/python/pytest TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov TEST_REQUIRED_PACKAGES.python += library/python/pytest-mock TEST_REQUIRED_PACKAGES.python += library/python/setuptools TEST_REQUIRED_PACKAGES.python += library/python/tomli-w TEST_REQUIRED_PACKAGES.python += library/python/trove-classifiers TEST_REQUIRED_PACKAGES.python += library/python/virtualenv