CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
Port details

www/py-drf-spectacular 0.30.0

Sane/flexible OpenAPI 3 schema generation for Django REST framework

Port info

Maintainer
kai@FreeBSD.org
Packages
latest: 0.30.0
Upstream
up to date
Last update
to 0.30.0 · f5532f8f62
Quarterly
2026Q4: 0.30.0
WWW
https://github.com/tfranzel/drf-spectacular
Links
cgit · VuXML

Install

Package
# pkg install py312-drf-spectacular
installs 0.30.0 from latest; from quarterly (2026Q4) 0.30.0
Port
# cd /usr/ports/www/py-drf-spectacular && make install clean
# make -C /usr/ports/www/py-drf-spectacular config  # change options first
Size
202 KiB download · 1.1 MiB installed
Depends on
devel/py-inflection 0.5.1_1, devel/py-jsonschema 4.26.0, devel/py-pyyaml 6.0.3_1, lang/python312 3.12.15, net/py-uritemplate 4.2.0, www/py-django52 5.2.18, www/py-djangorestframework 3.18.1,1, www/py-drf-spectacular-sidecar 2026.8.1
License
BSD3CLAUSE
Options
1 of 1 on in the package: SIDECAR

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 160.30.00.30.0–
FreeBSD 150.30.00.30.0–
FreeBSD 140.30.00.30.00.30.0

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 150.30.00.30.0–
FreeBSD 140.30.00.30.00.30.0

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 0.30.0.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (16)

Kai Knoblich (kai) · 0.30.0
www/py-drf-spectacular: Update to 0.30.0

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.30.0
f5532f8f62
Kai Knoblich (kai) · 0.29.0_1
*: Switch consumers over to Django 5.2

Django 4.2 reached its End-of-Life on 7th April 2026 and Django 5.2 is
the new LTS (= Long Term Support) release which will be supported until
April 2028.

* Switch most ports that use www/py-django42 to www/py-django52.

* Where necessary, remove PORTSCOUT, which is no longer needed because
  an update to a newer version that no longer supports Django 4.2 should
  now be possible.

* Bump PORTREVISION due dependency change where necessary.

PR:		291707
Reviewed by:	sunpoet (python)
Differential Revision:	https://reviews.freebsd.org/D56966
ce59801b72
Kai Knoblich (kai) · 0.29.0
www/py-drf-spectacular: Update to 0.29.0

* Switch to the PEP517 build framework.

* Drop no-op conditional after the removal of Python 3.9 in
  1403bb776596.

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.29.0
22905be490
Charlie Li (vishwin) · 0.28.0_1
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.
06a08e69f3
Kai Knoblich (kai) · 0.28.0
www/py-drf-spectacular: Update to 0.28.0

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.28.0
b328f7350d
Po-Chuan Hsieh (sunpoet) · 0.27.2_2
devel/py-pyyaml: Move devel/py-yaml to devel/py-pyyaml

- Bump PORTREVISION of dependent ports for dependency change
1a80ec7c22
Kai Knoblich (kai) · 0.27.2_1
*: 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
680c68fd4d
Kai Knoblich (kai) · 0.27.2
www/py-drf-spectacular: Update to 0.27.2

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.27.2
1a51b9c3a9
Kai Knoblich (kai) · 0.27.1
www/py-drf-spectacular: Update to 0.27.1

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.27.1
398ee8b745
Kai Knoblich (kai) · 0.27.0
www/py-drf-spectacular: Update to 0.27.0

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.27.0
4fa51b9239
Kai Knoblich (kai) · 0.26.5
www/py-drf-spectacular: Update to 0.26.5

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.26.5
0e001d7b35
Kai Knoblich (kai) · 0.26.4
www/py-drf-spectacular: Update to 0.26.4

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.26.4
65945ee4d4
Kai Knoblich (kai) · 0.26.3
www/py-drf-spectacular: Update to 0.26.3

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.26.3
a930954aae
Kai Knoblich (kai) · 0.26.2
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.
a2f3bb0b5a
Rene Ladan (rene) · 0.26.2
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>
3d9a815d9c
Kai Knoblich (kai) · 0.26.2
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)
* @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
437b5ef291