Port details |
- pytype Python type inferencer
- 2024.10.11_1 devel
=2 2024.9.13Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2021-07-24 20:33:45
- Last Update: 2024-11-15 10:17:04
- Commit Hash: ef490a4
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: APACHE20
- WWW:
- https://google.github.io/pytype/
- https://github.com/google/pytype
- Description:
- Pytype checks and infers types for your Python code - without requiring type
annotations. Pytype can:
- Lint plain Python code, flagging common mistakes such as misspelled attribute
names, incorrect function calls, and much more, even across file boundaries.
- Enforce user-provided type annotations. While annotations are optional for
pytype, it will check and apply them where present.
- Generate type annotations in standalone files ("pyi files"), which can be
merged back into the Python source with a provided merge-pyi tool.
Pytype is a static analyzer; it does not execute the code it runs on.
Thousands of projects at Google rely on pytype to keep their Python code
well-typed and error-free.
 ¦ ¦ ¦ ¦ 
- 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.
- Dependency lines:
-
- pytype${PYTHON_PKGNAMESUFFIX}>0:devel/pytype
- To install the port:
- cd /usr/ports/devel/pytype/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/pytype
- pkg install pytype-py311
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: pytype-py311
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1728922874
SHA256 (pytype-2024.10.11.tar.gz) = ae5ff82f0b07d5ad68d4ec32a3e8de44fad6ed565a821a76aca50a14df382274
SIZE (pytype-2024.10.11.tar.gz) = 2789497
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:
-
- ninja : devel/ninja
- py311-pybind11>=2.10.1 : devel/py-pybind11@py311
- py311-setuptools>=40.8.0 : devel/py-setuptools@py311
- py311-wheel>=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-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- ninja>=1.10.2 : devel/ninja
- py311-attrs>=21.4.0 : devel/py-attrs@py311
- py311-immutabledict>=3.0.0 : devel/py-immutabledict@py311
- py311-importlab>=0.8 : devel/py-importlab@py311
- py311-Jinja2>=3.1.2 : devel/py-Jinja2@py311
- py311-libcst>=1.0.1 : devel/py-libcst@py311
- py311-msgspec>=0.18.6 : devel/py-msgspec@py311
- py311-networkx>=2.8,1 : math/py-networkx@py311
- py311-pycnite>=2024.7.31 : devel/py-pycnite@py311
- py311-pydot>=1.4.2 : graphics/py-pydot@py311
- py311-tabulate>=0.8.10 : devel/py-tabulate@py311
- py311-toml>=0.10.2 : textproc/py-toml@py311
- py311-typing-extensions>=4.3.0 : devel/py-typing-extensions@py311
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_pytype
- USES:
- compiler:c++11-lang python:3.10+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2024.10.11_1 15 Nov 2024 10:17:04
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Update version requirement of RUN_DEPENDS
- Bump PORTREVISION for package change |
2024.10.11 17 Oct 2024 19:02:37
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Update to 2024.10.11
Changes: https://github.com/google/pytype/blob/main/CHANGELOG |
2024.9.13 18 Sep 2024 06:13:08
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Update to 2024.9.13
Changes: https://github.com/google/pytype/blob/main/CHANGELOG |
2024.4.11 13 Apr 2024 11:57:17
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Update to 2024.4.11
Changes: https://github.com/google/pytype/blob/main/CHANGELOG |
2024.3.19 05 Apr 2024 00:38:32
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Update to 2024.3.19
Changes: https://github.com/google/pytype/blob/main/CHANGELOG |
2024.2.27 09 Mar 2024 14:05:23
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Update to 2024.2.27
Changes: https://github.com/google/pytype/blob/main/CHANGELOG |
2024.2.13 21 Feb 2024 15:06:26
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Update to 2024.2.13
Changes: https://github.com/google/pytype/blob/main/CHANGELOG |
2023.11.29 01 Dec 2023 22:11:31
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Update to 2023.11.29
Changes: https://github.com/google/pytype/blob/main/CHANGELOG |
2023.10.31 14 Nov 2023 17:15:32
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Allow build with py-networkx 3.2+
(9bccc8a106f5f2f618b5adc5eb62ea54edb3486a)
Reference: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p9218fd8f40f2_s559a218c9b/logs/pytype-py39-2023.5.8.log
https://pkg-status.freebsd.org/beefy16/data/132amd64-default/021f5c74a690/logs/pytype-py39-2023.5.8.log
https://pkg-status.freebsd.org/beefy6/data/124amd64-default/9218fd8f40f2/logs/pytype-py39-2023.5.8.log |
2023.10.31 14 Nov 2023 17:15:31
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Update to 2023.10.31
- Update WWW and clean up pkg-descr
Changes: https://github.com/google/pytype/blob/main/CHANGELOG |
2023.5.8 18 Jul 2023 00:53:09
    |
Charlie Li (vishwin)  |
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.
With hat: python
PR: 270510, 270358 |
2023.5.8 30 Jun 2023 07:01:51
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Remove outdated PYTHON_REL check after lang/python37 removal |
2023.5.8 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
2023.5.8 27 May 2023 04:07:16
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Update to 2023.5.8
- Convert to USE_PYTHON=pep517
Changes: https://github.com/google/pytype/blob/main/CHANGELOG |
2023.2.17_1 23 Apr 2023 09:09:58
    |
Gerald Pfeifer (gerald)  |
*: Bump PORTREVISIONs for math/mpc update to 1.3.1 |
2023.2.17 21 Mar 2023 19:20:05
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Update to 2023.2.17
Changes: https://github.com/google/pytype/blob/main/CHANGELOG |
2022.6.30 05 Feb 2023 15:47:42
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Update to 2022.6.30
Changes: https://github.com/google/pytype/blob/main/CHANGELOG |
2022.1.7_1 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
2022.1.7_1 30 Dec 2022 10:51:52
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Change RUN_DEPENDS from py-libcst to py-libcst03
- Bump PORTREVISION for dependency change |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2022.1.7 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2022.1.7 20 Jul 2022 14:21:35
    |
Tobias C. Berner (tcberner)  |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
2022.1.7 23 Jan 2022 18:17:33
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Update to 2022.1.7
Changes: https://github.com/google/pytype/blob/main/CHANGELOG |
2021.9.9_1 11 Jan 2022 18:44:00
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Clean up Makefile after 6c401020d1946446ed7f46742d7dca78c201408f
(python36 removal) |
2021.9.9_1 21 Sep 2021 22:23:21
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Strip shared library
- Bump PORTREVISION for package change |
2021.9.9 21 Sep 2021 03:35:13
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Update to 2021.9.9
Changes: https://github.com/google/pytype/blob/master/CHANGELOG |
2021.7.19 24 Jul 2021 20:20:49
    |
Po-Chuan Hsieh (sunpoet)  |
devel/pytype: Add pytype 2021.7.19
Pytype checks and infers types for your Python code - without requiring type
annotations. Pytype can:
- Lint plain Python code, flagging common mistakes such as misspelled attribute
names, incorrect function calls, and much more, even across file boundaries.
- Enforce user-provided type annotations. While annotations are optional for
pytype, it will check and apply them where present.
- Generate type annotations in standalone files ("pyi files"), which can be
merged back into the Python source with a provided merge-pyi tool.
Pytype is a static analyzer; it does not execute the code it runs on.
Thousands of projects at Google rely on pytype to keep their Python code
well-typed and error-free.
WWW: https://google.github.io/pytype/
WWW: https://github.com/google/pytype |