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 # Copyright 2022 Marcel Telka
16 %patch% 01-enable-tests.patch
19 # https://github.com/HypothesisWorks/hypothesis/issues/3588
20 DOWNLOAD_URL='https://github.com/HypothesisWorks/hypothesis/archive/refs/tags/$(COMPONENT_ARCHIVE)'
23 COMPONENT_ARCHIVE = hypothesis-python-$(HUMAN_VERSION).tar.gz
24 COMPONENT_SRC = hypothesis-hypothesis-python-$(HUMAN_VERSION)
25 # https://github.com/HypothesisWorks/hypothesis/issues/3637
26 COMPONENT_SUBDIR = hypothesis-python
28 # Contains the date of the test run
29 COMPONENT_TEST_TRANSFORMS += "-e '/to add failing examples to your code/d'"
31 # Random directory name
32 COMPONENT_TEST_TRANSFORMS += "-e 's|/tmp/.*/garbage[^/]*|\$$(TMPDIR)|'"