python/hypothesis: update to 6.122.3
[oi-userland.git] / components / python / hypothesis / Makefile
blob3043b66a41d2ff4ecabfe5ba1c112c1927528eea
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 hypothesis
17 BUILD_STYLE = setup.py
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME = hypothesis
22 HUMAN_VERSION = 6.122.3
23 COMPONENT_SUMMARY = A library for property-based testing
24 COMPONENT_PROJECT_URL = https://hypothesis.works
25 COMPONENT_ARCHIVE_URL = \
26 https://github.com/HypothesisWorks/hypothesis/archive/refs/tags/$(COMPONENT_ARCHIVE)
27 COMPONENT_ARCHIVE_HASH = \
28 sha256:0227199c99c58affbd7e95d394123877416478ee37435b3fb865c839c425be29
29 COMPONENT_LICENSE = MPL-2.0
30 COMPONENT_LICENSE_FILE = LICENSE.txt
32 COMPONENT_ARCHIVE = hypothesis-python-$(HUMAN_VERSION).tar.gz
33 COMPONENT_SRC = hypothesis-hypothesis-python-$(HUMAN_VERSION)
34 # https://github.com/HypothesisWorks/hypothesis/issues/3637
35 COMPONENT_SUBDIR = hypothesis-python
37 include $(WS_MAKE_RULES)/common.mk
39 # Contains the date of the test run
40 COMPONENT_TEST_TRANSFORMS += "-e '/to add failing examples to your code/d'"
42 # Random directory name
43 COMPONENT_TEST_TRANSFORMS += "-e 's|/tmp/.*/garbage[^/]*|\$$(TMPDIR)|'"
45 # Auto-generated dependencies
46 PYTHON_REQUIRED_PACKAGES += library/python/attrs
47 PYTHON_REQUIRED_PACKAGES += library/python/exceptiongroup
48 PYTHON_REQUIRED_PACKAGES += library/python/importlib-metadata
49 PYTHON_REQUIRED_PACKAGES += library/python/setuptools
50 PYTHON_REQUIRED_PACKAGES += library/python/sortedcontainers
51 PYTHON_REQUIRED_PACKAGES += runtime/python
52 TEST_REQUIRED_PACKAGES.python += library/python/attrs
53 TEST_REQUIRED_PACKAGES.python += library/python/pexpect
54 TEST_REQUIRED_PACKAGES.python += library/python/pytest
55 TEST_REQUIRED_PACKAGES.python += library/python/pytest-xdist