Port details on branch 2022Q2 |
- py-prance Resolving Swagger/OpenAPI 2.0 and 3.0.0 parser
- 23.6.21.0 devel =0 23.6.21.0Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2019-07-16 19:11:36
- Last Update: 2024-02-29 07:18:32
- Commit Hash: 5d4139f
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/RonnyPfannschmidt/prance
- 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.
- ¦ ¦ ¦ ¦
- 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}prance>0:devel/py-prance@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-prance/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-prance
- pkg install py39-prance
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-prance listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-prance
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1689398879
SHA256 (prance-23.6.21.0.tar.gz) = d8c15f8ac34019751cc4945f866d8d964d7888016d10de3592e339567177cabe
SIZE (prance-23.6.21.0.tar.gz) = 2798776
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-setuptools>=0 : devel/py-setuptools@py39
- py39-setuptools-scm>=6 : devel/py-setuptools-scm@py39
- py39-wheel>=0 : devel/py-wheel@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:
-
- py39-chardet>=3.0,1 : textproc/py-chardet@py39
- py39-packaging>=21.3 : devel/py-packaging@py39
- py39-requests>=2.25 : www/py-requests@py39
- py39-ruamel.yaml>=0.17.10 : devel/py-ruamel.yaml@py39
- py39-six>=1.15<2 : devel/py-six@py39
- py39-openapi-spec-validator>=0.5.1 : devel/py-openapi-spec-validator@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- devel/py-apispec
Configuration Options:
- ===> The following configuration options are available for py39-prance-23.6.21.0:
CLI=off: Command-line interface support
ICU=off: Unicode support
====> Options available for the multi BACKEND: you have to choose at least one of them
FLEX=off: Use py-flex as backend
OSV=on: Use py-openapi-spec-validator as backend
SSV=off: Use py-swagger-spec-validator as backend
===> Use 'make config' to modify these settings
- Options name:
- devel_py-prance
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|