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
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 pytest
17 BUILD_STYLE
= pyproject
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= pytest
23 COMPONENT_SUMMARY
= pytest
: simple powerful testing with Python
24 COMPONENT_PROJECT_URL
= https
://docs.pytest.org
/en
/latest
/
25 COMPONENT_ARCHIVE_HASH
= \
26 sha256
:70b98107bd648308a7952b06e6ca9a50bc660be218d53c257cc1fc94fda10181
27 COMPONENT_LICENSE
= MIT
28 COMPONENT_LICENSE_FILE
= LICENSE
30 # This component is required by following bootstrapped components so it must be
32 # - Userland testing framework (see setup.py.mk)
33 PYTHON_TEST_BOOTSTRAP
= yes
35 include $(WS_MAKE_RULES
)/common.mk
37 # Workaround to run pytest indirectly (see tox.ini).
39 # This is needed because tox is unable to find pytest in proto area due to the
40 # following bug in tox-current-env:
41 # https://github.com/fedora-python/tox-current-env/issues/68
42 COMPONENT_TEST_ENV
+= _PYTEST_TOX_COVERAGE_RUN
="python -m"
44 # This is needed to get consistent test results.
45 # See also https://github.com/pytest-dev/pytest/issues/11761
46 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest-xdist
48 # Auto-generated dependencies
49 PYTHON_REQUIRED_PACKAGES
+= library
/python
/exceptiongroup
50 PYTHON_REQUIRED_PACKAGES
+= library
/python
/iniconfig
51 PYTHON_REQUIRED_PACKAGES
+= library
/python
/packaging
52 PYTHON_REQUIRED_PACKAGES
+= library
/python
/pluggy
53 PYTHON_REQUIRED_PACKAGES
+= library
/python
/setuptools
54 PYTHON_REQUIRED_PACKAGES
+= library
/python
/setuptools-scm
55 PYTHON_REQUIRED_PACKAGES
+= library
/python
/tomli
56 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
57 TEST_REQUIRED_PACKAGES.python
+= library
/python
/argcomplete
58 TEST_REQUIRED_PACKAGES.python
+= library
/python
/attrs
59 TEST_REQUIRED_PACKAGES.python
+= library
/python
/hypothesis
60 TEST_REQUIRED_PACKAGES.python
+= library
/python
/mock
61 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pygments
62 TEST_REQUIRED_PACKAGES.python
+= library
/python
/requests
63 TEST_REQUIRED_PACKAGES.python
+= library
/python
/setuptools
64 TEST_REQUIRED_PACKAGES.python
+= library
/python
/xmlschema