Ticket #68224: py-jsonschema.Portfile.diff

File py-jsonschema.Portfile.diff, 3.3 KB (added by johankytt, 9 months ago)
  • Portfile

    old new  
    44PortGroup           python 1.0
    55
    66name                py-jsonschema
    7 version             4.17.3
     7version             4.19.1
    88revision            0
    99categories-append   devel
    1010license             MIT
     
    2222
    2323homepage            https://github.com/python-jsonschema/jsonschema
    2424
    25 checksums           rmd160  86637e335ef60176700311eb93e0d5dbbcb8d457 \
    26                     sha256  0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d \
    27                     size    297785
     25checksums           rmd160  9344c735429814aaf4d9a3fa036605053ccfbd2a \
     26                    sha256  ec84cc37cfa703ef7cd4928db24f9cb31428a5d0fa77747b8b51a847458e0bbf \
     27                    size    318089
    2828
    2929if {${name} ne ${subport}} {
    30     depends_build-append \
    31                         port:py${python.version}-setuptools_scm \
    32                         port:py${python.version}-hatch-vcs \
    33                         port:py${python.version}-hatch-fancy-pypi-readme
    34 
    35     # CLI depends on pkg_resources.py from setuptools
    36     depends_lib-append  port:py${python.version}-attrs \
    37                         port:py${python.version}-pyrsistent \
    38                         port:py${python.version}-setuptools
    39 
    40     if {${python.version} < 37} {
     30    if {${python.version} < 38} {
    4131        version             3.2.0
    4232        revision            0
    4333        distname            ${python.rootname}-${version}
     
    4535                            sha256  c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a \
    4636                            size    167226
    4737        python.pep517       no
    48         depends_build-delete \
    49                         port:py${python.version}-hatch-vcs \
    50                         port:py${python.version}-hatch-fancy-pypi-readme
    51         depends_lib-append  port:py${python.version}-six
     38
     39        depends_build-append  port:py${python.version}-setuptools_scm
     40        depends_lib-append    port:py${python.version}-attrs \
     41                              port:py${python.version}-importlib-metadata \
     42                              port:py${python.version}-pyrsistent \
     43                              port:py${python.version}-setuptools \
     44                              port:py${python.version}-six
    5245    } else {
    53         patchfiles-append   patch-setup.py.diff
    54         if {${python.version} < 38} {
    55             depends_lib-append  port:py${python.version}-typing_extensions
    56         }
     46        # CLI depends on pkg_resources.py from setuptools
     47
     48        depends_build-append  port:py${python.version}-hatch-vcs \
     49                              port:py${python.version}-hatch-fancy-pypi-readme
     50
     51        depends_lib-append  port:py${python.version}-attrs \
     52                            port:py${python.version}-jsonschema_specifications \
     53                            port:py${python.version}-referencing \
     54                            port:py${python.version}-rpds_py
     55
    5756        if {${python.version} < 39} {
    5857            depends_lib-append  port:py${python.version}-importlib-resources \
    5958                                port:py${python.version}-pkgutil_resolve_name
    6059        }
    6160    }
    6261
    63     if {${python.version} < 38} {
    64         depends_lib-append  port:py${python.version}-importlib-metadata
    65     }
    66 
    6762    livecheck.type      none
    6863}