notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q3
py-dj60-drf-spectacular Sane/flexible OpenAPI 3 schema generation for Django REST framework
0.30.0 www on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.30.0Version of this port present on the latest quarterly branch.
Maintainer: kai@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-07-15 10:30:26
Last Update: 2026-07-15 10:26:53
Commit Hash: a94b3e4
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
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}dj60-drf-spectacular>0:www/py-dj60-drf-spectacular@${PY_FLAVOR}
Conflicts:
CONFLICTS_INSTALL:
  • py312-*drf-spectacular
To install the port:
cd /usr/ports/www/py-dj60-drf-spectacular/ && make install clean
To add the package, run one of these commands:
  • pkg install www/py-dj60-drf-spectacular
  • pkg install py312-dj60-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 py312-dj60-drf-spectacular listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-dj60-drf-spectacular
Package flavors (<flavor>: <package>)
  • py312: py312-dj60-drf-spectacular
distinfo:
TIMESTAMP = 1783883294 SHA256 (drf_spectacular-0.30.0.tar.gz) = 53e79e7ba00e240441b63c32273754a5368e4c2ab44a19f2595277cc1cd559c9 SIZE (drf_spectacular-0.30.0.tar.gz) = 252311

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-setuptools>=61.0 : devel/py-setuptools@py312
  2. py312-wheel>0 : devel/py-wheel@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. python3.12 : lang/python312
Runtime dependencies:
  1. py312-django60>=2.2 : www/py-django60@py312
  2. py312-dj60-djangorestframework>=3.10.3 : www/py-dj60-djangorestframework@py312
  3. py312-inflection>=0.3.1 : devel/py-inflection@py312
  4. py312-jsonschema>=2.6.0 : devel/py-jsonschema@py312
  5. py312-uritemplate>=2.0.0 : net/py-uritemplate@py312
  6. py312-pyyaml>=5.1 : devel/py-pyyaml@py312
  7. py312-dj60-drf-spectacular-sidecar>0 : www/py-dj60-drf-spectacular-sidecar@py312
  8. python3.12 : lang/python312
This port is required by:
for Run
  1. net-mgmt/netbox

Configuration Options:
===> The following configuration options are available for py312-dj60-drf-spectacular-0.30.0: SIDECAR=on: Enable self-contained Swagger/Redoc UI installation ===> Use 'make config' to modify these settings
Options name:
www_py-dj60-drf-spectacular
USES:
python:3.12+
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/d/drf_spectacular/
  2. https://pypi.org/packages/source/d/drf_spectacular/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.30.0
15 Jul 2026 10:26:53
commit hash: a94b3e4f2e42f5e643739a329fb35c7c3d9b7c71commit hash: a94b3e4f2e42f5e643739a329fb35c7c3d9b7c71commit hash: a94b3e4f2e42f5e643739a329fb35c7c3d9b7c71commit hash: a94b3e4f2e42f5e643739a329fb35c7c3d9b7c71 files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
www/py-dj60-drf-spectacular: Update to 0.30.0

Changelog:

https://github.com/tfranzel/drf-spectacular/releases/tag/0.30.0

MFH:		2026Q3
(cherry picked from commit 9b109d2f8db5138b8886bcdeb2b70a1a9ea8b40c)

Number of commits found: 1