-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
48 lines (39 loc) · 1.7 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
# -*- 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-tomli
version 2.0.1
license MIT
platforms {darwin any}
supported_archs noarch
maintainers {toby @tobypeterson} openmaintainer
description A lil' TOML parser
long_description Tomli is a Python library for parsing TOML. Tomli is fully \
compatible with TOML v1.0.0.
homepage https://github.com/hukkin/tomli
checksums rmd160 08391b8bdece5ba4b13e0e67e0bb3f0a3de9cc55 \
sha256 de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f \
size 15164
python.versions 36 37 38 39 310 311 312
if {${name} ne ${subport}} {
if {${python.version} == 36} {
version 1.2.3
revision 0
checksums rmd160 cbdb7cfc45e9183147842cd799b5e4bbb0aef34b \
sha256 05b6166bff487dc068d322585c7ea4ef78deed501cc124060e0f238e89a9231f \
size 15094
}
python.pep517 yes
python.pep517_backend flit
if {${python.version} < 311} {
# Break circular dependencies with py-build and friends when
# there is no tomllib in the stdlib.
python.add_dependencies no
depends_build port:py-bootstrap-modules
depends_lib port:python${python.version}
build.env-append PYTHONPATH=${prefix}/share/py-bootstrap-modules
build.args --skip-dependency-check
destroot.env-append PYTHONPATH=${prefix}/share/py-bootstrap-modules
}
livecheck.type none
}