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 testtools
17 BUILD_STYLE
= pyproject
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= testtools
23 COMPONENT_SUMMARY
= Extensions to the Python standard library unit testing framework
24 COMPONENT_PROJECT_URL
= https
://github.com
/testing-cabal
/testtools
25 COMPONENT_ARCHIVE_HASH
= \
26 sha256
:5be5bbc1f0fa0f8b60aca6ceec07845d41d0c475cf445bfadb4d2c45ec397ea3
27 COMPONENT_LICENSE
= MIT
28 COMPONENT_LICENSE_FILE
= LICENSE
31 # Following dependency loops were detected (where 'A --> B' means 'A needs B to
32 # run tests', and 'A ==> B' means 'A needs B for build and/or run'):
34 # testtools --> testscenarios ==> testtools
36 # To break loops we need to allow this project to integrate without testing in
37 # a case the required projects are not available yet (bootstrap).
39 PYTHON_TEST_BOOTSTRAP
= yes
41 include $(WS_MAKE_RULES
)/common.mk
44 COMPONENT_TEST_TRANSFORMS
+= "-e 's/\(laddr=('\''127.0.0.1'\'', \)[0-9]\{1,\})/\1\$$(PORT))/'"
46 # Auto-generated dependencies
47 PYTHON_REQUIRED_PACKAGES
+= library
/python
/hatch-vcs
48 PYTHON_REQUIRED_PACKAGES
+= library
/python
/hatchling
49 PYTHON_REQUIRED_PACKAGES
+= library
/python
/setuptools
50 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
51 TEST_REQUIRED_PACKAGES.python
+= library
/python
/fixtures
52 TEST_REQUIRED_PACKAGES.python
+= library
/python
/testresources
53 TEST_REQUIRED_PACKAGES.python
+= library
/python
/testscenarios
54 TEST_REQUIRED_PACKAGES.python
+= library
/python
/twisted