notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
py-mypy Optional static typing for Python
2.1.0 devel on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.19.1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
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.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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:
  • py*-sqlglot-mypy
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>)
  • py311: py311-mypy
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):
py37-mypy
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--0.790--n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py39-mypy
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly--1.3.0--n/an/an/a
FreeBSD:14:latest--0.991--1.3.0-1.3.0
FreeBSD:14:quarterly-----1.8.01.8.01.8.0
FreeBSD:15:latest--n/a-n/an/a1.8.01.8.0
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py311-mypy
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.20.01.20.2-1.17.1_11.20.2n/an/an/a
FreeBSD:13:quarterly1.19.11.19.1-1.16.11.19.1n/an/an/a
FreeBSD:14:latest2.1.02.1.0-1.17.02.0.0---
FreeBSD:14:quarterly1.19.11.19.1-1.16.11.19.1---
FreeBSD:15:latest2.1.02.1.0n/a1.17.0n/an/a--
FreeBSD:15:quarterly1.19.11.19.1n/a-n/an/a--
FreeBSD:16:latest1.20.2_12.1.0n/a-n/an/a--
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-ast-serialize>=0.3.0<1.0.0 : devel/py-ast-serialize@py311
  2. py311-librt>=0.11.0 : devel/py-librt@py311
  3. py311-mypy_extensions>=1.0.0 : devel/py-mypy_extensions@py311
  4. py311-pathspec>=1.0.0 : devel/py-pathspec@py311
  5. py311-setuptools>=61 : devel/py-setuptools@py311
  6. py311-types-psutil>=0 : devel/py-types-psutil@py311
  7. py311-types-setuptools>=0 : devel/py-types-setuptools@py311
  8. py311-typing-extensions>=4.14.0 : devel/py-typing-extensions@py311
  9. py311-wheel>=0.30.0 : devel/py-wheel@py311
  10. python3.11 : lang/python311
  11. py311-build>=0 : devel/py-build@py311
  12. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-attrs>=18.0 : devel/py-attrs@py311
  2. py311-filelock>=3.3.0 : sysutils/py-filelock@py311
  3. py311-importlib-metadata>=4.6.1<5.0.0 : devel/py-importlib-metadata@py311
  4. py311-lxml>=4.4.0 : devel/py-lxml@py311
  5. py311-psutil>=4.0 : sysutils/py-psutil@py311
  6. py311-py>=1.5.2 : devel/py-py@py311
  7. py311-pytest-cov>=2.9.0 : devel/py-pytest-cov@py311
  8. py311-pytest-forked>=1.3.0<2.0.0 : devel/py-pytest-forked@py311
  9. py311-pytest-xdist>=1.34.0,1 : devel/py-pytest-xdist@py311
  10. py311-six>=0 : devel/py-six@py311
  11. py311-pytest>=7,1 : devel/py-pytest@py311
  12. python3.11 : lang/python311
Runtime dependencies:
  1. py311-ast-serialize>=0.3.0<1.0.0 : devel/py-ast-serialize@py311
  2. py311-librt>=0.10.0 : devel/py-librt@py311
  3. py311-mypy_extensions>=1.0.0 : devel/py-mypy_extensions@py311
  4. py311-pathspec>=1.0.0 : devel/py-pathspec@py311
  5. py311-sqlite3>=0 : databases/py-sqlite3@py311
  6. py311-typing-extensions>=4.14.0 : devel/py-typing-extensions@py311
  7. py311-psutil>=4.0 : sysutils/py-psutil@py311
  8. py311-orjson>=0 : devel/py-orjson@py311
  9. py311-pip>=0 : devel/py-pip@py311
  10. py311-setuptools>=50 : devel/py-setuptools@py311
  11. py311-lxml>=0 : devel/py-lxml@py311
  12. python3.11 : lang/python311
This port is required by:
for Build
  1. devel/py-pytokens
for Run
  1. comms/py-spsdk
  2. devel/py-hatch-mypyc
  3. devel/py-prospector
  4. devel/py-pytest-mypy
  5. devel/py-pytest-mypy-plugins
  6. devel/py-pytest-mypy-testing
  7. devel/thonny
Expand this list (10 items / 3 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. misc/py-lightning-utilities
  3. net/py-saltyrtc.server
  4. textproc/py-docstring-to-markdown
  5. Collapse this list.

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:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/m/mypy/
  2. https://pypi.org/packages/source/m/mypy/
Collapse this list.

Number of commits found: 104 (showing only 4 on this page)

«  1 | 2 

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.521
26 Aug 2017 15:13:36
Revision:448773Original commit files touched by this commit
dbn search for other commits by this committer
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
Revision:438732Original commit files touched by this commit
miwi search for other commits by this committer
- Fix shebang
0.501
14 Apr 2017 07:53:56
Revision:438497Original commit files touched by this commit
dbn search for other commits by this committer
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
Revision:434504Original commit files touched by this commit
dbn search for other commits by this committer
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)

«  1 | 2