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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/py-parse-type | 0.6.6 |
| DragonFly | textproc/py-parse-type | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.6.6 | 0.6.6 | 0.6.0 | 0.6.4 | 0.6.6 |
| FreeBSD:14:quarterly | 0.6.6 | 0.6.6 | n/a | 0.6.4 | 0.6.6 |
| FreeBSD:15:latest | 0.6.6 | 0.6.6 | n/a | 0.6.4 | 0.6.4 |
| FreeBSD:15:quarterly | 0.6.6 | 0.6.6 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.6.6 | 0.6.6 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 2
${PYTHON_PKGNAMEPREFIX}parse>=1.18.0: textproc/py-parse${PYTHON_PKGNAMEPREFIX}six>=1.15: devel/py-six
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
| File | Size | SHA256 |
|---|---|---|
| parse_type-0.6.6.tar.gz | 98012 | 513a3784104839770d690e04339a8b4d33439fcd5dd99f2e4580f9fc1097bfb2 |
Master sites 1
- PYPI