Port details |
- py-drf-spectacular Sane/flexible OpenAPI 3 schema generation for Django REST framework
- 0.28.0_1 www
=2 0.28.0_1Version of this port present on the latest quarterly branch. - Maintainer: kai@FreeBSD.org
 - Port Added: 2023-05-04 12:00:08
- Last Update: 2025-03-08 04:05:21
- Commit Hash: 06a08e6
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://github.com/tfranzel/drf-spectacular
- Description:
- This project has 3 goals:
* Extract as much schema information from DRF as possible.
* Provide flexibility to make the schema usable in the real world (not only
toy examples).
* Generate a schema that works well with the most popular client generators.
The code is a heavily modified fork of the DRF OpenAPI generator, which is/was
lacking all of the below listed features:
* Serializers modelled as components. (arbitrary nesting + recursion supported)
* @extend_schema decorator for customization of APIView, Viewsets,
function-based views, and @action
* Authentication support (DRF natives included, easily extendable)
* Custom serializer class support (easily extendable)
* SerializerMethodField() type via type hinting or @extend_schema_field
* i18n support, Tags extraction, Description extraction from docstrings
* Request/response/parameter examples, Callback operations
* Vendor specification extensions (x-*) in info, operations, parameters,
components, and security schemes
* Sane fallbacks and sane operation_id naming (based on path)
* Schema serving with SpectacularAPIView (Redoc and Swagger-UI views are
also available)
* Optional input/output serializer component split
¦ ¦ ¦ ¦ 
- 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}drf-spectacular>0:www/py-drf-spectacular@${PY_FLAVOR}
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/www/py-drf-spectacular/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-drf-spectacular
- pkg install py311-drf-spectacular
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 py311-drf-spectacular listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-drf-spectacular
- Package flavors (<flavor>: <package>)
- py311: py311-drf-spectacular
- distinfo:
- TIMESTAMP = 1733482018
SHA256 (drf_spectacular-0.28.0.tar.gz) = 2c778a47a40ab2f5078a7c42e82baba07397bb35b074ae4680721b2805943061
SIZE (drf_spectacular-0.28.0.tar.gz) = 237849
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:
-
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-django42>=2.2 : www/py-django42@py311
- py311-djangorestframework>=3.10.3 : www/py-djangorestframework@py311
- py311-inflection>=0.3.1 : devel/py-inflection@py311
- py311-jsonschema>=2.6.0 : devel/py-jsonschema@py311
- py311-uritemplate>=2.0.0 : net/py-uritemplate@py311
- py311-pyyaml>=5.1 : devel/py-pyyaml@py311
- py311-drf-spectacular-sidecar>0 : www/py-drf-spectacular-sidecar@py311
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for py311-drf-spectacular-0.28.0_1:
SIDECAR=on: Enable self-contained Swagger/Redoc UI installation
===> Use 'make config' to modify these settings
- Options name:
- www_py-drf-spectacular
- 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 |
0.28.0_1 08 Mar 2025 04:05:21
    |
Charlie Li (vishwin)  |
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details. |
0.28.0 14 Dec 2024 17:51:01
    |
Kai Knoblich (kai)  |
www/py-drf-spectacular: Update to 0.28.0
Changelog:
https://github.com/tfranzel/drf-spectacular/releases/tag/0.28.0 |
0.27.2_2 07 Jul 2024 08:05:33
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-pyyaml: Move devel/py-yaml to devel/py-pyyaml
- Bump PORTREVISION of dependent ports for dependency change |
0.27.2_1 27 Apr 2024 09:08:48
    |
Kai Knoblich (kai)  |
*: Switch consumers over to Django 4.2
Django 3.2 reached its End-of-Life on 1st April 2024 and Django 4.2 is
the new LTS (= Long Term Support) release which will be supported until
April 2026.
* Switch most ports that use www/py-django32 to www/py-django42.
* Ports that are not compatible with Django 3.2 have already been set
with an expiration date were not taken into account.
* Bump PORTREVISION due dependency change where necessary.
PR: 276319
Reviewed by: dvl, grembo, ultima
Approved by: bofh (implicit), dvl, grembo, Kevin Golding, sunpoet,
ultima, maintainer timeout (remaining maintainers)
Differential Revision: https://reviews.freebsd.org/D44637 |
0.27.2 05 Apr 2024 12:56:31
    |
Kai Knoblich (kai)  |
www/py-drf-spectacular: Update to 0.27.2
Changelog:
https://github.com/tfranzel/drf-spectacular/releases/tag/0.27.2 |
0.27.1 19 Jan 2024 14:44:31
    |
Kai Knoblich (kai)  |
www/py-drf-spectacular: Update to 0.27.1
Changelog:
https://github.com/tfranzel/drf-spectacular/releases/tag/0.27.1 |
0.27.0 17 Dec 2023 12:43:53
    |
Kai Knoblich (kai)  |
www/py-drf-spectacular: Update to 0.27.0
Changelog:
https://github.com/tfranzel/drf-spectacular/releases/tag/0.27.0 |
0.26.5 01 Oct 2023 10:30:25
    |
Kai Knoblich (kai)  |
www/py-drf-spectacular: Update to 0.26.5
Changelog:
https://github.com/tfranzel/drf-spectacular/releases/tag/0.26.5 |
0.26.4 06 Aug 2023 13:30:00
    |
Kai Knoblich (kai)  |
www/py-drf-spectacular: Update to 0.26.4
Changelog:
https://github.com/tfranzel/drf-spectacular/releases/tag/0.26.4 |
0.26.3 24 Jul 2023 04:19:05
    |
Kai Knoblich (kai)  |
www/py-drf-spectacular: Update to 0.26.3
Changelog:
https://github.com/tfranzel/drf-spectacular/releases/tag/0.26.3 |
0.26.2 01 Jul 2023 13:10:53
    |
Kai Knoblich (kai)  |
www/py-drf-spectacular: Drop PYTHON_REL check for Python 3.7
* Since Python 3.7 was removed in 12f5a11b0425 the check is no longer
required. |
0.26.2 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.26.2 04 May 2023 11:57:42
    |
Kai Knoblich (kai)  |
www/py-drf-spectacular: New port
This project has 3 goals:
* Extract as much schema information from DRF as possible.
* Provide flexibility to make the schema usable in the real world (not
only toy examples).
* Generate a schema that works well with the most popular
client generators.
The code is a heavily modified fork of the DRF OpenAPI generator, which
is/was lacking all of the below listed features:
* Serializers modelled as components. (arbitrary nesting +
recursion supported) (Only the first 15 lines of the commit message are shown above ) |