/
Portfile
39 lines (29 loc) · 1.15 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
# -*- 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-apipkg
version 3.0.2
revision 0
categories-append devel
supported_archs noarch
platforms {darwin any}
license MIT
maintainers nomaintainer
description namespace control and lazy-import mechanism
long_description {*}${description}
homepage https://github.com/pytest-dev/apipkg
checksums rmd160 ec94a329119e8540351e0b2c33c8a036fe1c8c65 \
sha256 c7aa61a4f82697fdaa667e70af1505acf1f7428b1c27b891d204ba7a8a3c5e0d \
size 6594
python.versions 38 39 310
python.pep517_backend hatch
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-hatch-vcs
post-destroot {
xinstall -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
${destroot}${prefix}/share/doc/${subport}
}
test.run yes
}