/
Portfile
66 lines (53 loc) · 2.29 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
# -*- 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-pluggy
version 1.4.0
revision 0
categories-append devel
platforms {darwin any}
supported_archs noarch
license MIT
maintainers {gmail.com:pedro.salgado @steenzout} openmaintainer
description Plugin and hook calling mechanisms for Python
long_description This is the plugin manager as used by pytest but \
stripped of pytest specific details.
homepage https://github.com/pytest-dev/pluggy
checksums rmd160 d010b70206096e7fd5a611516242aa60f0aa476a \
sha256 8c85c2876142a764e5b7548e7d9a0e0ddb46f5185161049a79b7e974454223be \
size 65812
python.versions 27 35 36 37 38 39 310 311 312
if {${name} ne ${subport}} {
if {${python.version} in "27 35"} {
version 0.13.0
revision 0
checksums rmd160 29a71452c7299e6f832c095a8973e444e1be58ce \
sha256 fa5fa1622fa6dd5c030e9cad086fa19ef6a0cf6d7a2d12318e10cb49d6d68f34 \
size 57726
} elseif {${python.version} == 36} {
version 1.0.0
revision 0
checksums rmd160 eb4afc0c0bf44b7a7b17eca1859d4e8fb2119ab0 \
sha256 4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159 \
size 51510
} elseif {${python.version} == 37} {
version 1.2.0
revision 0
checksums rmd160 9505efaf2937f0697297d6406884fe86d079be0a \
sha256 d12f0c4b579b15f5e054301bb226ee85eeeba08ffec228092f8defbaa3a4c4b3 \
size 61613
}
depends_build-append \
port:py${python.version}-setuptools_scm
if {${python.version} < 38} {
depends_lib-append port:py${python.version}-importlib-metadata
}
test.run yes
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
CHANGELOG.rst ${destroot}${docdir}
}
livecheck.type none
}