BSD Ports

devel/py-annotated-types 0.8.0 FreeBSD

Reusable constraint types to use with typing.Annotated

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
8494b0dad1
License
MIT
Categories
devel, python
Package size
20.4 KiB, 97.0 KiB installed

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.

In the other systems

SystemPortVersion
FreeBSDdevel/py-annotated-types0.8.0
DragonFlydevel/py-annotated-types0.7.0
MidnightBSDdevel/py-annotated-types0.7.0_1

Install

Binary package:

pkg install py312-annotated-types

From the ports tree:

cd /usr/ports/devel/py-annotated-types/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-annotated-types>0:devel/py-annotated-types

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.8.00.8.0-0.7.00.8.0
FreeBSD:14:quarterly0.8.00.8.0n/a0.7.00.8.0
FreeBSD:15:latest0.8.00.8.0n/a0.7.00.7.0
FreeBSD:15:quarterly0.8.00.8.0n/an/an/a
FreeBSD:16:latest0.8.00.8.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 7
Required by 342

The first 100 are listed.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
annotated_types-0.8.0.tar.gz1589313b2beaad985e05e2d6407ee4c4f35590b11f8d693a258a561055cac8f64cab7
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
8494b0dad1 Po-Chuan Hsieh devel/py-annotated-types: Update to 0.8.0
Changes: https://github.com/annotated-types/annotated-types/releases