# -*- 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-typing_extensions
version             4.1.1
license             PSF
supported_archs     noarch
maintainers         {toby @tobypeterson} openmaintainer
description         Backported and Experimental Type Hints for Python
long_description    The typing module was added to the standard library in Python 3.5 \
                    on a provisional basis and will no longer be provisional in Python \
                    3.7. However, this means users of Python 3.5 - 3.6 who are unable \
                    to upgrade will not be able to take advantage of new types added \
                    to the typing module, such as typing.Text or typing.Coroutine. \
                    The typing_extensions module contains both backports of these \
                    changes as well as experimental types that will eventually be \
                    added to the typing module, such as Protocol or TypedDict.

homepage            https://github.com/python/typing/blob/master/typing_extensions/README.rst

checksums           rmd160  375113f2897c0dc1c7c3ab4cf7bb0c391ddc8640 \
                    sha256  1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42 \
                    size    26694

python.versions     36 37 38 39 310

python.pep517       yes

if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-setuptools
    # break circular dependency with py-python-install
    python.add_dependencies no
    depends_build-append   port:py-bootstrap-modules
    depends_lib-append     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
}
