# # 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 traitlets # BUILD_STYLE = pyproject include ../../../make-rules/shared-macros.mk COMPONENT_NAME = traitlets HUMAN_VERSION = 5.15.0 COMPONENT_SUMMARY = Traitlets Python configuration system COMPONENT_PROJECT_URL = https://github.com/ipython/traitlets COMPONENT_ARCHIVE_HASH = \ sha256:4fead733f81cf1c4c938e06f8ca4633896833c9d89eff878159457f4d4392971 COMPONENT_LICENSE = BSD-3-Clause COMPONENT_LICENSE_FILE = LICENSE TEST_STYLE = pytest include $(WS_MAKE_RULES)/common.mk # This project does not support tox so we need to provide test requirements # manually. TEST_REQUIREMENTS_EXTRAS += test # https://github.com/ipython/traitlets/issues/925 PYTEST_ADDOPTS += --deselect tests/config/test_argcomplete.py::TestArgcomplete::test_complete_simple_app PYTEST_ADDOPTS += --deselect tests/config/test_argcomplete.py::TestArgcomplete::test_complete_custom_completers PYTEST_ADDOPTS += --deselect tests/config/test_argcomplete.py::TestArgcomplete::test_complete_subcommands_subapp1 # Testing needs to find the tests module in the build directory COMPONENT_TEST_ENV += PYTHONPATH=$(PROTOPYTHONVENDORDIR):$(COMPONENT_TEST_DIR) # Auto-generated dependencies REQUIRED_PACKAGES.python += library/python/hatchling REQUIRED_PACKAGES.python += runtime/python TEST_REQUIRED_PACKAGES.python += library/python/argcomplete TEST_REQUIRED_PACKAGES.python += library/python/pytest TEST_REQUIRED_PACKAGES.python += library/python/pytest-mock