Port details |
- py-flake8-future-annotations Verifies python 3.7+ files use from __future__ import annotations
- 1.1.0_1 devel
=2 1.1.0Version of this port present on the latest quarterly branch. - Maintainer: matthew@FreeBSD.org
 - Port Added: 2023-03-05 00:39:06
- Last Update: 2025-03-08 04:05:21
- Commit Hash: 06a08e6
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://pypi.org/project/flake8-future-annotations/
- Description:
- Verifies python 3.7+ files use from __future__ import annotations if a
type is used in the module that can be rewritten using PEP 563.
Pairs well with pyupgrade with the --py37-plus flag or higher, since
pyupgrade only replaces type annotations with the PEP 563 rules if
from __future__ import annotations is present.
¦ ¦ ¦ ¦ 
- 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:
-
- ${PYTHON_PKGNAMEPREFIX}flake8-future-annotations>0:devel/py-flake8-future-annotations@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-flake8-future-annotations/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-flake8-future-annotations
- pkg install py311-flake8-future-annotations
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-flake8-future-annotations listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-flake8-future-annotations
- Package flavors (<flavor>: <package>)
- py311: py311-flake8-future-annotations
- distinfo:
- TIMESTAMP = 1677965698
SHA256 (flake8-future-annotations-1.1.0.tar.gz) = df416bd2b9e1eda7ea639a5fd2a083dabb942ffe49d197f836df380d0dcf6608
SIZE (flake8-future-annotations-1.1.0.tar.gz) = 6832
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-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- Test dependencies:
-
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-flake8>0 : devel/py-flake8@py311
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-flake8-future-annotations
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 4
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.1.0_1 08 Mar 2025 04:05:21
    |
Charlie Li (vishwin)  |
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details. |
1.1.0 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> |
1.1.0 22 Mar 2023 11:23:36
    |
Matthew Seaman (matthew)  |
devel/py-flake8-future-annotations: enable tests
No additional TEST_DEPENDS required. |
1.1.0 05 Mar 2023 00:38:20
    |
Matthew Seaman (matthew)  |
devel/py-flake8-future-annotations: new port
Verifies python 3.7+ files use from __future__ import annotations if a
type is used in the module that can be rewritten using PEP 563.
Pairs well with pyupgrade with the --py37-plus flag or higher, since
pyupgrade only replaces type annotations with the PEP 563 rules if
from __future__ import annotations is present. |
Number of commits found: 4
|