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 -d python/tox-current-env tox_current_env
17 BUILD_STYLE
= pyproject
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= tox_current_env
22 HUMAN_VERSION
= 0.0.14
23 COMPONENT_SUMMARY
= Use current environment instead of virtualenv for tox testenvs
24 COMPONENT_PROJECT_URL
= https
://github.com
/fedora-python
/tox-current-env
25 COMPONENT_ARCHIVE_HASH
= \
26 sha256
:5bae55e40d544239128699c32061edd635593538d60695925c6442a0e18540f0
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 # Revert back unneeded PYV normalizations ...
38 COMPONENT_TEST_TRANSFORMS
+= "-e 's/py\$$(PYV)]/py$(shell echo $(PYTHON_VERSION) | tr -d .)]/'"
39 # ... and re-sort list of pytest unit tests after the revert
40 COMPONENT_TEST_TRANSFORMS
+= \
42 $(GSED) -u -e '/^=\{1,\} test session starts /q' ; \
43 $(GSED) -u -e '/^$$/q' ; \
44 $(GSED) -u -e '/^$$/Q' | $(SORT) | $(NAWK) '{print}END{if(NR>0)printf(\"\\\\n\")}' ; \
46 ) | $(COMPONENT_TEST_TRANSFORMER) -e ''"
48 # Auto-generated dependencies
49 PYTHON_REQUIRED_PACKAGES
+= library
/python
/setuptools
50 PYTHON_REQUIRED_PACKAGES
+= library
/python
/tox
51 PYTHON_REQUIRED_PACKAGES
+= library
/python
/wheel
52 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
53 TEST_REQUIRED_PACKAGES.python
+= library
/python
/packaging
54 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest
55 TEST_REQUIRED_PACKAGES.python
+= library
/python
/pytest-xdist