2019-01-25 00:51:29 -08:00
|
|
|
# -*- 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
|
2020-06-10 16:25:24 -07:00
|
|
|
PortGroup select 1.0
|
2019-01-25 00:51:29 -08:00
|
|
|
|
|
|
|
|
name py-mypy
|
2021-02-19 23:01:31 -08:00
|
|
|
version 0.812
|
2020-06-19 11:33:09 -07:00
|
|
|
revision 0
|
2019-01-25 00:51:29 -08:00
|
|
|
license MIT
|
|
|
|
|
platforms darwin
|
|
|
|
|
maintainers {toby @tobypeterson} openmaintainer
|
|
|
|
|
description Optional static typing for Python
|
|
|
|
|
long_description Add type annotations to your Python programs, and use mypy to \
|
|
|
|
|
type check them. Mypy is essentially a Python linter on steroids, \
|
|
|
|
|
and it can catch many programming errors by analyzing your \
|
|
|
|
|
program, without actually having to run it. Mypy has a powerful \
|
|
|
|
|
type system with features such as type inference, gradual typing, \
|
|
|
|
|
generics and union types.
|
|
|
|
|
|
|
|
|
|
homepage http://www.mypy-lang.org
|
|
|
|
|
|
2021-02-19 23:01:31 -08:00
|
|
|
checksums rmd160 846742c711725c39a0befce8c42ce267330bb3f8 \
|
|
|
|
|
sha256 cd07039aa5df222037005b08fbbfd69b3ab0b0bd7a07d7906de75ae52c4e3119 \
|
|
|
|
|
size 2645818
|
2019-01-25 00:51:29 -08:00
|
|
|
|
2020-10-08 23:12:04 -07:00
|
|
|
python.versions 37 38 39
|
2019-01-25 00:51:29 -08:00
|
|
|
|
|
|
|
|
if {${name} ne ${subport}} {
|
|
|
|
|
depends_build-append port:py${python.version}-setuptools
|
|
|
|
|
depends_lib-append port:py${python.version}-mypy_extensions \
|
2019-07-12 14:30:02 -07:00
|
|
|
port:py${python.version}-typed-ast \
|
|
|
|
|
port:py${python.version}-typing_extensions
|
2020-06-10 16:25:24 -07:00
|
|
|
depends_run-append port:mypy_select
|
|
|
|
|
|
|
|
|
|
select.group mypy
|
|
|
|
|
select.file ${filespath}/mypy${python.version}
|
2019-01-25 00:51:29 -08:00
|
|
|
|
|
|
|
|
livecheck.type none
|
|
|
|
|
} else {
|
|
|
|
|
livecheck.type pypi
|
|
|
|
|
}
|