# # 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. # # # Copyright 2022 Marcel Telka # %patch% 01-test-setuptools.patch %include-2% # This component is required by following bootstrapped components so it must be # bootstrapped too. # - cachetools (test bootstrap) # - distlib (test bootstrap) # - tox-current-env (test bootstrap) PYTHON_TEST_BOOTSTRAP = yes # Version 0.46.1 was yanked but we had it packaged. COMPONENT_VERSION = 0.46.1 %include-3% # https://github.com/pypa/wheel/issues/658 PYTEST_ADDOPTS += --deselect tests/test_bdist_wheel.py::test_licenses_default PYTEST_ADDOPTS += --deselect tests/test_bdist_wheel.py::test_licenses_deprecated PYTEST_ADDOPTS += --deselect tests/test_bdist_wheel.py::test_licenses_override # Random directory name COMPONENT_TEST_TRANSFORMS += "-e 's|/tmp/.*/garbage[^/]*|\$$(TMPDIR)|'"