-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
107 lines (84 loc) · 3.78 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
name py-hypothesis
version 6.103.2
revision 0
categories-append devel
platforms {darwin any}
supported_archs noarch
license MPL-2
python.versions 27 35 36 37 38 39 310 311 312
maintainers {khindenburg @kurthindenburg} \
{@catap korins.ky:kirill} \
openmaintainer
description A library for property based testing
long_description \
Hypothesis is an advanced testing library for Python. It lets you write\
tests which are parametrized by a source of examples, and then generates\
simple and comprehensible examples that make your tests fail.
homepage https://pypi.python.org/pypi/hypothesis
checksums rmd160 e43ab1708ac1853b9c8dabcb43e86c3ffbeff8f3 \
sha256 83504e31e90a0d7d6e8eb93e51525dc1a48d79c932a50ad6035e29f8295328cd \
size 400516
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-attrs \
port:py${python.version}-sortedcontainers
if {${python.version} eq 27} {
version 4.57.1
revision 0
epoch 1
checksums rmd160 a7d04bf21c941fd427b0c1af5e9ab5bd87fc6610 \
sha256 3c4369a4b0a1348561048bcda5f1db951a1b8e2a514ea8e8c70d36e656bf6fa0 \
size 233528
depends_lib-append port:py${python.version}-enum34
livecheck.type none
}
if {${python.version} == 35} {
platforms {darwin any < 23}
version 5.33.2
revision 0
checksums rmd160 ba112a0d4a97ffaf0a0aa6e6ab2c135e0dd96d10 \
sha256 5cc9073ee5a5c109c8d731a52c304729dbb6affed570eb7d35908bfdd937975e \
size 267988
livecheck.type none
}
if {${python.version} == 36} {
platforms {darwin any < 23}
version 6.31.6
revision 0
checksums rmd160 fa5b58a419eafda77d1b0fe21723034da51c76b3 \
sha256 d54be6a80b160ad5ea4209b01a0d72e31d910510ed7142fa9907861911800771 \
size 316859
livecheck.type none
}
if {${python.version} == 37} {
version 6.79.4
revision 0
checksums rmd160 8b7784dd3cc735560db395c9f3bc272ad037db48 \
sha256 e9a9ff3dc3f3eebbf214d6852882ac96ad72023f0e9770139fd3d3c1b87673e2 \
size 355439
livecheck.type none
}
if {${python.version} == 38} {
version 6.80.0
revision 0
checksums rmd160 c418f4d27f1b06534e74f0a9b68c1f3f453f32ac \
sha256 75d74da36fd3837b5b3fe15211dabc7389e78d882bf2c91bab2184ccf91fe64c \
size 352808
livecheck.type none
}
if {${python.version} > 36 && ${python.version} < 311} {
depends_lib-append port:py${python.version}-exceptiongroup
}
# Leave for next major release
if {0} {
notes "Welcome to the next major version of Hypothesis!\
If you were running on the last version of Hypothesis 5.x without\
any Hypothesis deprecation warnings (or using private APIs), this\
upgrade should cause no issues.\
See https://hypothesis.readthedocs.io/en/latest/changes.html#v6-0-0\
for more information."
}
}