lang/py-mypy 2.3.1 NetBSD
Optional static typing for Python
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
613027ad15- License
- mit
- Categories
- lang, python
- Package size
- 3844.5 KiB, 27428.3 KiB installed
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.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | lang/py-mypy | 2.3.1 |
| DragonFly | devel/py-mypy | 1.15.0 |
Install
Binary package:
pkgin install py311-mypy
From pkgsrc:
cd /usr/pkgsrc/lang/py-mypy && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 2.3.1 |
| NetBSD 10.1 aarch64 | 2.1.0 |
| SmartOS / illumos x86_64 | 2.4.0 |
| macOS 15 arm64 | 2.4.0 |
Dependencies
Run dependencies 6
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-mypy-2.3.1,py313-mypy-2.3.1,py314-mypy-2.3.1