devel/py-prance 26.7.19.0 FreeBSD
Resolve Swagger/OpenAPI 2.0 and 3.0.0 parser
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
dcc9271697- License
- MIT
- Categories
- devel, python
- Package size
- 69.3 KiB, 331.0 KiB installed
Description
Prance provides parsers for Swagger/OpenAPI 2.0 and 3.0 API specifications in Python. It uses flex, swagger_spec_validator or openapi_spec_validator to validate specifications, but additionally resolves JSON references in accordance with the OpenAPI spec.
Mostly the latter involves handling non-URI references; OpenAPI is fine with providing relative file paths, whereas JSON references require URIs at this point in time.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-prance | 26.7.19.0 |
| OpenBSD | devel/py-prance | 26.7.19.0p0 |
| DragonFly | devel/py-prance | 23.6.21.0 |
| MidnightBSD | devel/py-prance | 23.6.21.0_2 |
Install
Binary package:
pkg install py312-prance
From the ports tree:
cd /usr/ports/devel/py-prance/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-prance>0:devel/py-prance
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 | 26.7.19.0 | 26.7.19.0 | 0.21.8.0 | 23.6.21.0 | 26.7.19.0 |
| FreeBSD:14:quarterly | 26.7.19.0 | 26.7.19.0 | n/a | 23.6.21.0 | 26.7.19.0 |
| FreeBSD:15:latest | 26.7.19.0 | 26.7.19.0 | n/a | 23.6.21.0 | 23.6.21.0 |
| FreeBSD:15:quarterly | 26.7.19.0 | 26.7.19.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 26.7.19.0 | 26.7.19.0 | 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>=61: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=9: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 4
${PYTHON_PKGNAMEPREFIX}chardet>=5.2,1: textproc/py-chardet${PYTHON_PKGNAMEPREFIX}packaging>=25.0: devel/py-packaging${PYTHON_PKGNAMEPREFIX}requests>=2.32.5: www/py-requests${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.18.16: devel/py-ruamel.yaml
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 42
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-annotated-types
- devel/py-attrs
- devel/py-click
- devel/py-jsonschema
- devel/py-jsonschema-path
- devel/py-jsonschema-specifications
- devel/py-lazy-object-proxy
- devel/py-openapi-schema-validator
- devel/py-openapi-spec-validator
- devel/py-packaging
- devel/py-pathable
- devel/py-pydantic-core
- devel/py-pydantic-settings
- devel/py-pydantic2
- devel/py-pyyaml
- devel/py-referencing
- devel/py-rfc3339-validator
- devel/py-rpds-py
- devel/py-ruamel.yaml
- devel/py-ruamel.yaml.clib
- devel/py-six
- devel/py-typing-extensions
- devel/py-typing-inspection
- devel/readline
- dns/py-idna
- lang/python312
- lang/python315
- math/mpdecimal
- net/py-pysocks
- net/py-urllib3
- print/indexinfo
- security/py-certifi
- textproc/expat2
- textproc/libyaml
- textproc/py-chardet
- textproc/py-charset-normalizer
- www/py-python-dotenv
- www/py-requests
Configuration
Options name: devel_prance
| Option | Default | Description |
|---|---|---|
| CLI | off | Command-line interface support |
| FAST | off | Fast deepcopy support |
| FLEX | off | Use py-flex as backend |
| ICU | off | Unicode support |
| OSV | on | Use py-openapi-spec-validator as backend |
| SSV | off | Use py-swagger-spec-validator as backend |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| prance-26.7.19.0.tar.gz | 2.814867e+06 | 18c52bc9ace4de2b58be1d810543d675a8640f06c2ea5d06427f12f1e612be8d |
Master sites 1
- PYPI