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 mock
17 BUILD_STYLE
= setup.py
19 include ..
/..
/..
/make-rules
/shared-macros.mk
23 COMPONENT_SUMMARY
= mock
- Rolling backport of unittest.mock for
all Pythons
24 COMPONENT_PROJECT_URL
= http
://mock.readthedocs.org
/en
/latest
/
25 COMPONENT_ARCHIVE_URL
= \
26 https
://files.pythonhosted.org
/packages
/66/ab
/41d09a46985ead5839d8be987acda54b5bb93f713b3969cc0be4f81c455b
/mock-5.1
.0.
tar.gz
27 COMPONENT_ARCHIVE_HASH
= \
28 sha256
:5e96aad5ccda4718e0a229ed94b2024df75cc2d55575ba5762d31f5767b8767d
29 COMPONENT_LICENSE
= BSD-2-Clause
30 COMPONENT_LICENSE_FILE
= LICENSE.txt
34 include $(WS_MAKE_RULES
)/common.mk
36 # Disable some plugins to get tests passed
37 PYTEST_ADDOPTS
+= -p no
:black
38 PYTEST_ADDOPTS
+= -p no
:mypy
40 # Auto-generated dependencies
41 PYTHON_REQUIRED_PACKAGES
+= runtime
/python