Files
2020-12-04 12:47:21 -05:00

48 lines
1.8 KiB
Tcl

# -*- 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
version 3.7.4.3
revision 0
categories-append devel
platforms darwin
supported_archs noarch
license PSF
maintainers {gmail.com:allan.que @aque} openmaintainer
description Type hints for Python
long_description Typing is a backport of the standard library \
'typing' module to Python versions older than 3.5. \
It defines a standard notation for Python function \
and variable type annotations. The notation can be \
used for documenting code in a concise, standard \
format, and it has been designed to also be used \
by static and runtime type checkers, static \
analyzers, IDEs and other tools.
homepage https://pypi.python.org/pypi/${python.rootname}/
checksums rmd160 a32ba2ef1a88c3885c42410be77a50f45cb3f67d \
sha256 1187fb9c82fd670d10aa07bbb6cfcfe4bdda42d6fab8d5134f04e8c4d0b71cc9 \
size 78592
# keep version for PY27 and PY34, these are (indirect) dependencies of py-virtualenv
# do not add subports for python 3.5 and later; module is in stdlib.
python.versions 27 34
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE ${destroot}${docdir}
}
livecheck.type none
}