BSD Ports

textproc/py-parse-type 0.6.6 FreeBSD

Simplify to build parse types based on the parse module

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
dd9de4ad42
License
BSD2CLAUSE
Categories
textproc, python
Package size
47.2 KiB, 245.8 KiB installed

Description

parse_type extends the parse module (opposite of string.format()) with the following features:

  • build type converters for common use cases (enum/mapping, choice)
  • build a type converter with a cardinality constraint (0..1, 0..*, 1..*) from the type converter with cardinality=1.
  • compose a type converter from other type converters
  • an extended parser that supports the CardinalityField naming schema and creates missing type variants (0..1, 0..*, 1..*) from the primary type converter

In the other systems

SystemPortVersion
FreeBSDtextproc/py-parse-type0.6.6
DragonFlytextproc/py-parse-type0.6.4

Install

Binary package:

pkg install py312-parse-type

From the ports tree:

cd /usr/ports/textproc/py-parse-type/ && make install clean

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

RUN_DEPENDS=	py312-parse-type>0:textproc/py-parse-type

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.6.60.6.60.6.00.6.40.6.6
FreeBSD:14:quarterly0.6.60.6.6n/a0.6.40.6.6
FreeBSD:15:latest0.6.60.6.6n/a0.6.40.6.4
FreeBSD:15:quarterly0.6.60.6.6n/an/an/a
FreeBSD:16:latest0.6.60.6.6n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 2

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

Build dependencies 17
Run dependencies 9

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
parse_type-0.6.6.tar.gz98012513a3784104839770d690e04339a8b4d33439fcd5dd99f2e4580f9fc1097bfb2
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
dd9de4ad42 Po-Chuan Hsieh textproc/py-parse-type: Update to 0.6.6
Changes: https://github.com/jenisys/parse_type/releases