Port details |
- py-retype Re-apply types from .pyi stub files to your codebase
- 22.8.0 devel
=0 22.8.0Version of this port present on the latest quarterly branch.
- DEPRECATED: This project is no longer supported/maintained
This port expired on: 2023-08-31
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2020-01-18 18:23:19
- Last Update: 2023-08-31 20:46:33
- Commit Hash: a2b5276
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/ambv/retype
- Description:
- Re-apply type annotations from .pyi stubs to your codebase.
It's smart enough to do the following:
- reapply typing imports
- reapply function argument annotations
- reapply function return value annotations
- reapply method argument and return value annotations
- reapply function-level variable annotations
- reapply module-level name annotations
- reapply module-level type aliases
- reapply class-level field annotations
- reapply instance-level field annotations
- validate existing source annotations against the .pyi file
- validate source function signatures against the .pyi file
- read function signature type comments in .pyi files
- read variable type comments in .pyi files
- consider existing source type comments as annotations
- remove duplicate type comments from source when annotations are applied
- normalize remaining type comments in the source to annotations; this is done
even if the corresponding .pyi file is missing
- ¦ ¦ ¦ ¦
- 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}retype>0:devel/py-retype@${PY_FLAVOR}
- No installation instructions:
- This port has been deleted.
- PKGNAME: py39-retype
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1684104462
SHA256 (retype-22.8.0.tar.gz) = 4439b553c509741f3d08542decdde63365556dced1f4390eae0e22738d839fd9
SIZE (retype-22.8.0.tar.gz) = 38395
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:
-
- py39-setuptools>0 : devel/py-setuptools@py39
- py39-setuptools_scm>=3.4 : devel/py-setuptools_scm@py39
- py39-wheel>=0.30 : devel/py-wheel@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-click>=7 : devel/py-click@py39
- py39-pathspec>=0.5.9<1 : devel/py-pathspec@py39
- py39-typed-ast>=1.3 : devel/py-typed-ast@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-retype
- USES:
- python
- 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 |
22.8.0 31 Aug 2023 20:46:33 |
Rene Ladan (rene) |
cleanup: Remove expired ports:
2023-08-31 devel/py-typed-ast: This project is no longer maintained. Use the
standard library ast module instead
2023-08-31 devel/py-retype: This project is no longer supported/maintained |
22.8.0 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 |
22.8.0 09 Jul 2023 21:34:37 |
Po-Chuan Hsieh (sunpoet) |
devel/py-retype: Mark DEPRECATED and set EXPIRATION_DATE to 2023-08-31 |
22.8.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> |
22.8.0 27 May 2023 04:08:59 |
Po-Chuan Hsieh (sunpoet) |
devel/py-retype: Update to 22.8.0
- Convert to USE_PYTHON=pep517
Changes: https://github.com/ambv/retype/releases |
21.12.0 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
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) |
21.12.0 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 ) |
21.12.0 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 ) |
21.12.0 28 Feb 2022 12:46:19 |
Po-Chuan Hsieh (sunpoet) |
devel/py-retype: Update to 21.12.0
Changes: https://github.com/ambv/retype/releases |
21.5.0 20 Jun 2021 20:46:11 |
Po-Chuan Hsieh (sunpoet) |
devel/py-retype: Update to 21.5.0
Changes: https://github.com/ambv/retype/releases
https://github.com/ambv/retype/blob/master/README.md#change-log |
20.10.0 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
20.10.0 15 Nov 2020 18:03:16 |
sunpoet |
Update to 20.10.0
Changes: https://github.com/ambv/retype/blob/master/README.md#change-log |
19.9.0 18 Jan 2020 18:22:49 |
sunpoet |
Add py-retype 19.9.0
Re-apply type annotations from .pyi stubs to your codebase.
It's smart enough to do the following:
- reapply typing imports
- reapply function argument annotations
- reapply function return value annotations
- reapply method argument and return value annotations
- reapply function-level variable annotations
- reapply module-level name annotations
- reapply module-level type aliases
- reapply class-level field annotations
- reapply instance-level field annotations
- validate existing source annotations against the .pyi file
- validate source function signatures against the .pyi file
- read function signature type comments in .pyi files
- read variable type comments in .pyi files
- consider existing source type comments as annotations
- remove duplicate type comments from source when annotations are applied
- normalize remaining type comments in the source to annotations; this is done
even if the corresponding .pyi file is missing
WWW: https://github.com/ambv/retype |