Ticket #68224: py-jsonschema_specifications.Portfile

File py-jsonschema_specifications.Portfile, 1.3 KB (added by johankytt, 8 months ago)
Line 
1# -*- 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
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                py-jsonschema_specifications
7version             2023.7.1
8revision            0
9categories-append   devel
10license             MIT
11supported_archs     noarch
12platforms           {darwin any}
13
14python.versions     38 39 310 311
15python.pep517       yes
16python.pep517_backend hatch
17
18maintainers         openmaintainer
19
20description         "JSON support files from the JSON Schema Specifications (metaschemas, vocabularies, etc.),
21packaged for runtime access from Python as a referencing-based Schema Registry."
22long_description    {*}${description}
23
24homepage            https://github.com/python-jsonschema/jsonschema-specifications
25
26checksums           rmd160  c3533cbd28ecf7856222ec13b3c5ebe8039cf3ce \
27                    sha256  c91a50404e88a1f6ba40636778e2ee08f6e24c5613fe4c53ac24578a5a7f72bb \
28                    size    12689
29
30if {${name} ne ${subport}} {
31    depends_build-append  port:py${python.version}-hatch-vcs
32
33    depends_lib-append    port:py${python.version}-referencing
34
35    if {${python.version} < 39} {
36        depends_lib-append  port:py${python.version}-importlib-resources
37    }
38
39    livecheck.type      none
40}