Port details |
- py-prance Resolving Swagger/OpenAPI 2.0 and 3.0.0 parser
- 23.6.21.0 devel
=2 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
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
23.6.21.0 29 Feb 2024 07:18:32
    |
Charlie Li (vishwin)  |
devel/py-setuptools-scm: update to 8.0.4
Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.
Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.
Further details: https://wiki.freebsd.org/Python/setuptools
Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288 |
23.6.21.0 31 Jul 2023 16:40:06
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-prance: Update to 23.6.21.0
- Update WWW
- Change RUN_DEPENDS from py-click7 to py-click
- Allow build with py-openapi-spec-validator 0.6.0+
Changes: https://github.com/RonnyPfannschmidt/prance/blob/main/CHANGES.rst |
0.22.11.4.0_1 18 Jul 2023 00:53:09
    |
Charlie Li (vishwin)  |
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.
With hat: python
PR: 270510, 270358 |
0.22.11.4.0_1 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
0.22.11.4.0_1 02 May 2023 16:20:10
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-prance: Allow build with py-semver 3.0.0+
- Bump PORTREVISION for package change |
0.22.11.4.0 18 Apr 2023 18:00:54
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-prance: Update to 0.22.11.4.0
- Convert to USE_PYTHON=pep517
Changes: https://github.com/RonnyPfannschmidt/prance/blob/main/CHANGES.rst |
0.21.8.0 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
0.21.8.0 03 Oct 2022 02:15:04
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-prance: Update to 0.21.8.0
Changes: https://github.com/RonnyPfannschmidt/prance/blob/main/CHANGES.rst |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.21.2_1 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.21.2_1 20 Jul 2022 14:21:35
    |
Tobias C. Berner (tcberner)  |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
0.21.2_1 21 Nov 2021 21:15:21
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-prance: Unbreak this port after
19e3341468e743268c8e803d1ca73e21ecda16d3
- Change RUN_DEPENDS from py-click to py-click7
- Bump PORTREVISION for dependency change |
0.21.2 21 Nov 2021 18:36:01
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-prance: Revert e6ef35b3f8840514c41e0fce60656e7a07206f03
It was committed by accident. |
0.21.8.0 21 Nov 2021 18:20:19
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-prance: Update to 0.21.8.0
Changes: https://github.com/RonnyPfannschmidt/prance/blob/main/CHANGES.rst |
0.21.2 20 Jun 2021 11:37:24
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-prance: Update to 0.21.2
Changes: https://github.com/RonnyPfannschmidt/prance/blob/main/CHANGES.rst |
0.20.2 14 Jun 2021 17:40:04
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-prance: Update to 0.20.2
Changes: https://github.com/RonnyPfannschmidt/prance/blob/main/CHANGES.rst |
0.20.0 10 Jun 2021 14:46:14
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-prance: Update version requirement of RUN_DEPENDS |
0.20.0 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.20.0 30 Mar 2021 19:12:19
  |
sunpoet  |
Fix version requirement of RUN_DEPENDS |
0.20.0 10 Jan 2021 23:13:05
  |
sunpoet  |
Remove py-pytest-runner from BUILD_DEPENDS |
0.20.0 13 Dec 2020 14:42:23
  |
sunpoet  |
Update to 0.20.0
Changes: https://github.com/jfinkhaeuser/prance/blob/master/CHANGES.rst
https://github.com/jfinkhaeuser/prance/commits/master |
0.19.0 26 Jun 2020 08:44:39
  |
sunpoet  |
Update to 0.19.0
Changes: https://github.com/jfinkhaeuser/prance/blob/master/CHANGES.rst |
0.18.3 03 Jun 2020 18:10:08
  |
sunpoet  |
Update to 0.18.3
Changes: https://github.com/jfinkhaeuser/prance/blob/master/CHANGES.rst |
0.18.2 12 May 2020 22:27:55
  |
sunpoet  |
Update to 0.18.2
Changes: https://github.com/jfinkhaeuser/prance/blob/master/CHANGES.rst |
0.17.0 14 Nov 2019 16:17:09
  |
sunpoet  |
Update to 0.17.0
Changes: https://github.com/jfinkhaeuser/prance/blob/master/CHANGES.rst |
0.16.2 13 Nov 2019 23:35:08
  |
sunpoet  |
Update to 0.16.2
Changes: https://github.com/jfinkhaeuser/prance/commits/master |
0.16.1 26 Sep 2019 18:16:02
  |
sunpoet  |
Update to 0.16.1
Changes: https://github.com/jfinkhaeuser/prance/commits/master |
0.16.0_1 03 Sep 2019 19:09:12
  |
sunpoet  |
Add CLI, FLEX, ICU, OSV and SSV options
- Enable OSV as validation backend by default
- Bump PORTREVISION for dependency change |
0.16.0 31 Aug 2019 11:21:01
  |
sunpoet  |
Update to 0.16.0
Changes: https://github.com/jfinkhaeuser/prance/commits/master |
0.15.0 16 Jul 2019 19:11:30
  |
sunpoet  |
Add py-prance 0.15.0
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.
WWW: https://github.com/jfinkhaeuser/prance |