| Port details |
- py-mypy Optional static typing for Python
- 2.1.0 devel
=1 1.19.1Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2017-02-21 06:10:35
- Last Update: 2026-05-13 11:40:01
- Commit Hash: cbcb214
- People watching this port, also watch:: py311-Automat, freeimage, font-misc-meltho, libjxl, py311-pycparser
- Also Listed In: python
- License: MIT
- WWW:
- https://www.mypy-lang.org/
- https://github.com/python/mypy
- Description:
- Mypy is an optional static type checker for Python that aims to combine the
benefits of dynamic (or "duck") typing and static typing. Mypy combines the
expressive power and convenience of Python with a powerful type system and
compile-time type checking. Mypy type checks standard Python programs; run them
using any Python VM with basically no runtime overhead.
 ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}mypy>0:devel/py-mypy@${PY_FLAVOR}
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/devel/py-mypy/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-mypy
- pkg install py311-mypy
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-mypy listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-mypy
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1778641032
SHA256 (mypy-2.1.0.tar.gz) = 81e76ad12c2d804512e9b13240d1588316531bfba07558286078bfbce9613633
SIZE (mypy-2.1.0.tar.gz) = 3898359
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-ast-serialize>=0.3.0<1.0.0 : devel/py-ast-serialize@py311
- py311-librt>=0.11.0 : devel/py-librt@py311
- py311-mypy_extensions>=1.0.0 : devel/py-mypy_extensions@py311
- py311-pathspec>=1.0.0 : devel/py-pathspec@py311
- py311-setuptools>=61 : devel/py-setuptools@py311
- py311-types-psutil>=0 : devel/py-types-psutil@py311
- py311-types-setuptools>=0 : devel/py-types-setuptools@py311
- py311-typing-extensions>=4.14.0 : devel/py-typing-extensions@py311
- py311-wheel>=0.30.0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-attrs>=18.0 : devel/py-attrs@py311
- py311-filelock>=3.3.0 : sysutils/py-filelock@py311
- py311-importlib-metadata>=4.6.1<5.0.0 : devel/py-importlib-metadata@py311
- py311-lxml>=4.4.0 : devel/py-lxml@py311
- py311-psutil>=4.0 : sysutils/py-psutil@py311
- py311-py>=1.5.2 : devel/py-py@py311
- py311-pytest-cov>=2.9.0 : devel/py-pytest-cov@py311
- py311-pytest-forked>=1.3.0<2.0.0 : devel/py-pytest-forked@py311
- py311-pytest-xdist>=1.34.0,1 : devel/py-pytest-xdist@py311
- py311-six>=0 : devel/py-six@py311
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-ast-serialize>=0.3.0<1.0.0 : devel/py-ast-serialize@py311
- py311-librt>=0.10.0 : devel/py-librt@py311
- py311-mypy_extensions>=1.0.0 : devel/py-mypy_extensions@py311
- py311-pathspec>=1.0.0 : devel/py-pathspec@py311
- py311-sqlite3>=0 : databases/py-sqlite3@py311
- py311-typing-extensions>=4.14.0 : devel/py-typing-extensions@py311
- py311-psutil>=4.0 : sysutils/py-psutil@py311
- py311-orjson>=0 : devel/py-orjson@py311
- py311-pip>=0 : devel/py-pip@py311
- py311-setuptools>=50 : devel/py-setuptools@py311
- py311-lxml>=0 : devel/py-lxml@py311
- python3.11 : lang/python311
- This port is required by:
- for Build
-
- devel/py-pytokens
- for Run
-
- comms/py-spsdk
- devel/py-hatch-mypyc
- devel/py-prospector
- devel/py-pytest-mypy
- devel/py-pytest-mypy-plugins
- devel/py-pytest-mypy-testing
- devel/thonny
Configuration Options:
- ===> The following configuration options are available for py311-mypy-2.1.0:
DMYPY=on: Daemon mode
FASTER_CACHE=on: Faster cache support
INSTALL_TYPES=on: Install support
MYPYC=on: Mypypc support
REPORTS=on: Coverage reports
===> Use 'make config' to modify these settings
- Options name:
- devel_py-mypy
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 104 (showing only 4 on this page)
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
0.521 26 Aug 2017 15:13:36
  |
dbn  |
devel/py-mypy: update to 0.521
ChangeLog:
- Fine-graned control of any type
- __setattr__ support
- Hash-based incremental cache
- NamedTuple methods
- Improved error messages
See http://mypy-lang.blogspot.co.za/2017/07/mypy-0520-released.html and
http://mypy-lang.blogspot.co.za/2017/07/mypy-0521-released.html
PR: 221230
Approved by: Florian Limberger (flo@snakeoilproductions.net) |
0.501_1 17 Apr 2017 16:17:55
  |
miwi  |
- Fix shebang |
0.501 14 Apr 2017 07:53:56
  |
dbn  |
devel/py-mypy: update to 0.501
- Remove unneeded patches (superseded by upstream)
- Track minimum depedency on py-typed-ast
Change Log:
- typed_ast is used as the default parser (i.e. --fast-parser is now the
default)
- Python 3.6 features supported by default
- Simples metaclass support added
- The --warn-no-return flag is now default: warns about missing return
statements
- A function that doesn't return can be annotated (using
mypy_extensions.NoReturn)
- Redundant Generic[T] no longer needed
- Checking of assignments in a class body
- The --strict flag is added, that turns on most additional checks
PR: 218303
Approved by: Florian Limberger <flo@snakeoilproductions.net> |
0.471 21 Feb 2017 06:10:11
  |
dbn  |
devel/py-mypy: add new port
Mypy is an optional static type checker for Python. You can add type hints to
your Python programs using the standard for type annotations introduced in
Python 3.5 (PEP 484), and use mypy to type check them statically. Find bugs in
your programs without even running them!
PR: 209871
Submitted by: Florian Limberger (flo@snakeoilproductions.net) |
Number of commits found: 104 (showing only 4 on this page)
|