Port details |
- py-annotated-types Reusable constraint types to use with typing.Annotated
- 0.7.0 devel
=2 0.7.0Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2023-07-09 10:36:40
- Last Update: 2024-05-28 10:21:29
- Commit Hash: c066d03
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/annotated-types/annotated-types
- Description:
- PEP-593 added typing.Annotated as a way of adding context-specific metadata to
existing types, and specifies that Annotated[T, x] should be treated as T by any
tool or library without special logic for x.
annotated-types provides metadata objects which can be used to represent common
constraints such as upper and lower bounds on scalar values and collection
sizes, a Predicate marker for runtime checks, and descriptions of how we intend
these metadata to be interpreted. In some cases, we also note alternative
representations which do not require this package.
¦ ¦ ¦ ¦ 
- 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}annotated-types>0:devel/py-annotated-types@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-annotated-types/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-annotated-types
- pkg install py39-annotated-types
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 py39-annotated-types listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-annotated-types
- Package flavors (<flavor>: <package>)
- py39: py39-annotated-types
- distinfo:
- TIMESTAMP = 1716448676
SHA256 (annotated_types-0.7.0.tar.gz) = aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89
SIZE (annotated_types-0.7.0.tar.gz) = 16081
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-hatchling>=0 : devel/py-hatchling@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- devel/py-b2sdk
- devel/py-pydantic2
Configuration Options:
- No options to configure
- Options name:
- devel_py-annotated-types
- 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 |
0.7.0 28 May 2024 10:21:29
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-annotated-types: Update to 0.7.0
Changes: https://github.com/annotated-types/annotated-types/releases |
0.6.0 08 Oct 2023 11:54:49
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-annotated-types: Update to 0.6.0
Changes: https://github.com/annotated-types/annotated-types/releases |
0.5.0 09 Jul 2023 10:10:21
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-annotated-types: Add py-annotated-types 0.5.0
PEP-593 added typing.Annotated as a way of adding context-specific metadata to
existing types, and specifies that Annotated[T, x] should be treated as T by any
tool or library without special logic for x.
annotated-types provides metadata objects which can be used to represent common
constraints such as upper and lower bounds on scalar values and collection
sizes, a Predicate marker for runtime checks, and descriptions of how we intend
these metadata to be interpreted. In some cases, we also note alternative
representations which do not require this package. |