python/setuptools-rust: replace deprecated wheel.bdist_wheel
[oi-userland.git] / components / python / domdf_python_tools / Makefile
blob2be317f32c458353a0fa56d11e1f91da1377b1d2
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 domdf_python_tools
17 BUILD_STYLE = pyproject
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME = domdf_python_tools
22 HUMAN_VERSION = 3.9.0
23 COMPONENT_REVISION = 1
24 COMPONENT_SUMMARY = Helpful functions for Python
25 COMPONENT_PROJECT_URL = https://github.com/domdfcoding/domdf_python_tools
26 COMPONENT_ARCHIVE_URL = \
27 https://github.com/domdfcoding/domdf_python_tools/archive/refs/tags/v$(HUMAN_VERSION).tar.gz
28 COMPONENT_ARCHIVE_HASH = \
29 sha256:652c4b63db55b6cd247c1ec86b9f267fce1fdd4b6b6ad3bbc7126fb5259eb4fd
30 COMPONENT_LICENSE = MIT
31 COMPONENT_LICENSE_FILE = LICENSE
34 # Following dependency loops were detected (where 'A --> B' means 'A needs B to
35 # run tests', and 'A ==> B' means 'A needs B for build and/or run'):
37 # domdf_python_tools --> coincidence ==> whey ==> domdf_python_tools
39 # To break loops we need to allow this project to integrate without testing in
40 # a case the required projects are not available yet (bootstrap).
42 PYTHON_TEST_BOOTSTRAP = yes
44 include $(WS_MAKE_RULES)/common.mk
46 # https://github.com/domdfcoding/domdf_python_tools/issues/82
47 PYTEST_ADDOPTS += --deselect tests/test_import_tools.py::test_discover_entry_points_by_name_object_match_func
48 PYTEST_ADDOPTS += --deselect tests/test_import_tools.py::test_discover_entry_points_by_name_name_match_func
49 PYTEST_ADDOPTS += --deselect tests/test_import_tools.py::test_discover_entry_points
51 # Normalize pointers
52 COMPONENT_TEST_TRANSFORMS += "-e 's/0x0\*[0-9a-f]\{12\}/\$$(POINTER)/g'"
54 # Auto-generated dependencies
55 PYTHON_REQUIRED_PACKAGES += library/python/natsort
56 PYTHON_REQUIRED_PACKAGES += library/python/setuptools
57 PYTHON_REQUIRED_PACKAGES += library/python/typing-extensions
58 PYTHON_REQUIRED_PACKAGES += library/python/wheel
59 PYTHON_REQUIRED_PACKAGES += runtime/python
60 TEST_REQUIRED_PACKAGES.python += library/python/click
61 TEST_REQUIRED_PACKAGES.python += library/python/coincidence
62 TEST_REQUIRED_PACKAGES.python += library/python/consolekit
63 TEST_REQUIRED_PACKAGES.python += library/python/coverage
64 TEST_REQUIRED_PACKAGES.python += library/python/faker
65 TEST_REQUIRED_PACKAGES.python += library/python/flake8
66 TEST_REQUIRED_PACKAGES.python += library/python/funcy
67 TEST_REQUIRED_PACKAGES.python += library/python/importlib-metadata
68 TEST_REQUIRED_PACKAGES.python += library/python/pip
69 TEST_REQUIRED_PACKAGES.python += library/python/pytest
70 TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov
71 TEST_REQUIRED_PACKAGES.python += library/python/pytest-randomly
72 TEST_REQUIRED_PACKAGES.python += library/python/pytest-regressions
73 TEST_REQUIRED_PACKAGES.python += library/python/pytest-rerunfailures
74 TEST_REQUIRED_PACKAGES.python += library/python/pytest-timeout
75 TEST_REQUIRED_PACKAGES.python += library/python/pytz
76 TEST_REQUIRED_PACKAGES.python += library/python/virtualenv