*: 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/D56966ce59801b72
Port details
www/py-drf-yasg 1.21.15_1
Yet Another Swagger Generator
Port info
- Maintainer
- kai@FreeBSD.org
- Packages
- latest: 1.21.15_1
- Upstream
- Higher version available: 1.21.18
- Last update
- to 1.21.15_1 · ce59801b72
- Quarterly
- 2026Q4: 1.21.15_1
- WWW
- https://github.com/axnsan12/drf-yasg
- Links
- cgit · VuXML · Report wrong data
Install
- Package
# pkg install py312-drf-yasginstalls 1.21.15_1 fromlatest; fromquarterly(2026Q4) 1.21.15_1- Port
# cd /usr/ports/www/py-drf-yasg && make install clean# make -C /usr/ports/www/py-drf-yasg config # change options first
- Size
- 2.9 MiB download · 17 MiB installed
- Depends on
- devel/py-inflection 0.5.1_1, devel/py-packaging 26.3, devel/py-pytz 2026.5,1, devel/py-pyyaml 6.0.3_1, devel/py-swagger-spec-validator 3.0.4, lang/python312 3.12.15, net/py-uritemplate 4.2.0, www/py-django52 5.2.18, www/py-djangorestframework 3.18.1,1
- License
- BSD3CLAUSE
- Options
- 1 of 1 on in the package: VALIDATION
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 1.21.15_1 | 1.21.15_1 | – |
| FreeBSD 15 | 1.21.15_1 | 1.21.15_1 | – |
| FreeBSD 14 | 1.21.15_1 | 1.21.15_1 | 1.21.15_1 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 1.21.15_1 | 1.21.15_1 | – |
| FreeBSD 14 | 1.21.15_1 | 1.21.15_1 | 1.21.15_1 |
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 1.21.15_1.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (42)
www/py-drf-yasg: Update to 1.21.15 Changelog: https://github.com/axnsan12/drf-yasg/releases/tag/1.21.158482a85136
www/py-drf-yasg: Update to 1.21.14 Changelog since 1.21.11: https://github.com/axnsan12/drf-yasg/blob/1.21.14/docs/changelog.rst27605916a3
www/py-drf-yasg: Update to 1.21.11 Changelog: https://github.com/axnsan12/drf-yasg/releases/tag/1.21.113e992386d8
www/py-drf-yasg: Remove COREAPI option * The COREAPI option depends on devel/py-coreapi, which is slated for removal since 19213c610945. Therefore, drop the COREAPI option in preparation for the removal of devel/py-coreapi which should happen in the next few days. * Also switch to the PEP517 build framework and bump PORTREVISION due changed package contents.d4ed384c79
www/py-drf-yasg: Update to 1.21.10 Changelog: https://github.com/axnsan12/drf-yasg/releases/tag/1.21.10 MFH: 2025Q2155723cd74
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
www/py-drf-yasg: Update to 1.21.9 Changelog: https://github.com/axnsan12/drf-yasg/blob/1.21.9/docs/changelog.rst630dd7b5a0
www/py-drf-yasg: Update to 1.21.8 Changelog: https://github.com/axnsan12/drf-yasg/releases/tag/1.21.8d99d45db68
devel/py-pyyaml: Move devel/py-yaml to devel/py-pyyaml - Bump PORTREVISION of dependent ports for dependency change1a80ec7c22
*: 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/D44637680c68fd4d
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/D392885d4139f8bdwww/py-drf-yasg: Update to 1.21.7 Changelog: https://github.com/axnsan12/drf-yasg/blob/1.21.7/docs/changelog.rste64631976e
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>3d9a815d9cwww/py-drf-yasg: Update to 1.21.6 * Introduce COREAPI option to reflect the current state lined out in setup.py and keep it non-default because CoreAPI is considered legacy in contrast to OpenAPI. Changelog: https://github.com/axnsan12/drf-yasg/blob/1.21.6/docs/changelog.rst80312c91e5
www/py-drf-yasg: Update to 1.21.5 Changelog: https://github.com/axnsan12/drf-yasg/releases/tag/1.21.59d8b6590e7
*/*: rename CHEESESHOP to PYPI in MASTER_SITES PR: 267994 Differential revision: D37518 Approved by: bapt77d68471ad
www/py-drf-yasg: Update to 1.21.4 Changelog: https://github.com/axnsan12/drf-yasg/releases/tag/1.21.4809d316b02
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)fb16dfecae
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. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
www/py-drf-yasg: Update to 1.21.3 Changelog since: 1.20.0 https://github.com/axnsan12/drf-yasg/blob/1.21.3/docs/changelog.rste932cb7de2
net-mgmt/netbox: Create Django 4.0 consumers * Django 3.2 is currently the "default" version in the ports tree due its long term support until April 2024. Thus ports that are assigned to that version will exist until then. The following ports are required to make the upgrade of net-mgmt/netbox to the 3.2 release possible because it requires Django 4.0. All of the ports listed below were created on the basis of their respective original ports: - devel/py-dj40-django-rq - devel/py-dj40-graphene-django - www/py-dj40-django-auth-ldap - www/py-dj40-django-cors-headers - www/py-dj40-django-debug-toolbar - www/py-dj40-django-filter - www/py-dj40-django-graphiql-debug-toolbar - www/py-dj40-django-js-asset - www/py-dj40-django-mptt - www/py-dj40-django-prometheus - www/py-dj40-django-redis - www/py-dj40-django-tables2 - www/py-dj40-django-taggit - www/py-dj40-django-timezone-field - www/py-dj40-djangorestframework - www/py-dj40-drf-yasg * Simplify the related CONFLICTS_INSTALL entries as well. This also reduces editing of the Makefiles if another ports need to be "repo-copied" (e.g. for Django 4.1) based on the original ports in the future. [1] Reviewed by: se [1], sunpoet Differential Revision: https://reviews.freebsd.org/D3544489acacbfee
www/py-django32: Switch consumers over to Django 3.2 Django 2.2 became End-of-Life on 11th April 2022 and Django 3.2 is the new LTS (= Long Term Support) release which will be supported until April 2024. * Switch the most ports that use www/py-django22 to www/py-django32 * Switch www/seahub over to www/py-djangorestframework * Ports that are not yet ready for Django 3.2 (only three so far) or those that have already been set with an expiration date were not taken into account. * Bump PORTREVISION due dependency change where necessary. PR: 261313 Reviewed by: bofh, dvl, koobs, ultima Approved by: bofh, dvl, koobs, ultima, sunpoet, Kevin Golding, Ivan Rozhuk, Alexander Sieg (maintainers) maintainer timeout (remaining maintainers) Differential Revision: https://reviews.freebsd.org/D348590cf5531fcd
*: Create Django 3.2 ports for net-mgmt/netbox * Django 2.2 is currently the "default" version in the ports tree due its long term support until April 2022. Thus ports that are assigned to that version will exist until then. The following ports are required to make the upgrade of net-mgmt/netbox to the 2.11 release possible because it requires Django 3.2. All of the ports listed below were created on the basis of their respective original ports: - devel/py-dj32-django-rq - www/py-dj32-django-auth-ldap - www/py-dj32-django-cacheops (updated to a newer release) - www/py-dj32-django-cors-headers - www/py-dj32-django-debug-toolbar - www/py-dj32-django-filter - www/py-dj32-django-js-asset - www/py-dj32-django-mptt - www/py-dj32-django-prometheus - www/py-dj32-django-redis - www/py-dj32-django-tables2 (updated to a newer release) - www/py-dj32-django-taggit (updated to a newer release) - www/py-dj32-django-timezone-field - www/py-dj32-djangorestframework - www/py-dj32-drf-yasg * Add/update the related CONFLICTS_INSTALL entries as well. Reviewed by: koobs, sunpoet Differential Revision: https://reviews.freebsd.org/D30977fd76d1a577
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
Create some ports that are assigned to Django 3.1 instead Django 2.2
* Django 2.2 is currently the "default" version in the ports tree due its
long term support until April 2022. Thus ports that are assigned to that
version will exist until then.
The following ports are required to make the upgrade of net-mgmt/netbox to
the 2.9 release possible because it requires Django 3.1 and provides no
backwards compatibility for previous versions of Django.
- www/py-dj31-django-rq
(copied from r539662 to use the 2.3.2 release for now)
- www/py-dj31-django-auth-ldap
- www/py-dj31-django-cacheops
- www/py-dj31-django-cors-headers
- www/py-dj31-django-debug-toolbar
- www/py-dj21-django-filter
- www/py-dj31-django-js-asset
- www/py-dj31-django-mptt
- www/py-dj31-django-prometheus
- www/py-dj31-django-redis
- www/py-dj31-django-tables2
- www/py-dj31-django-taggit
- www/py-dj31-django-timezone-field
- www/py-dj31-djangorestframework
- www/py-dj31-drf-yasg
* Also limit the new ports to Python 3.6+ due the requirements of Django 3.1
and add/update the related CONFLICTS_INSTALL entries.
Reviewed by: sunpoet
Differential Revision: https://reviews.freebsd.org/D27083a0f4c73ff7www/py-drf-yasg: Update to 1.20.0 * Add default option VALIDATION to reflect the optional requirements as noted in "setup.py". * Remove stale CONFLICT_INSTALLS entry. Changelog: https://github.com/axnsan12/drf-yasg/releases/tag/1.20.081ee902b9d
www/py-djangorestframework: Update to 3.11.0
* Switch the port to Django 2.2 (current LTS release) as well because
Django 1.11 is End-of-Life since April. Do the same for www/py-drf-yasg.
* Repo-copy www/py-djangorestframework to www/py-djangorestframework311
which will be used as a transitional package by www/seahub until it gets
support for Django 2.2+ in the next weeks/months.
* Drop the Python 2.7 support of the remaining consumers to avoid breakage
of "bulk -a".
* Mark both repo-copied ports www/py-dj22-{djangorestframework,drf-yasg} as
deprecated because they're obsolete now.
PR: 245309
Reviewed by: sunpoet (earlier revision), ultima
Differential Revision: https://reviews.freebsd.org/D24850ea1b10f966www/py-drf-yasg: Update to 1.17.0 Changelog: https://github.com/axnsan12/drf-yasg/releases/tag/1.17.0fbf68e17cb
www/py-drf-yasg: Update to 1.16.1 Changelog: * Fixed compatibility with Django REST framework 3.10.x * Improved enum type detection for nested "ChoiceFields" https://github.com/axnsan12/drf-yasg/tree/1.16.1 PR: 240410 Submitted by: Zane C. Bowers-Hadley <vvelox@vvelox.net>72279a494a
www/py-drf-yasg: Update to 1.16.0 Changelog: https://github.com/axnsan12/drf-yasg/blob/1.16.0/docs/changelog.rst25848eeb0f
net-mgmt/netbox: Update to 2.5.12 and switch to Django 2.2
Upstream decided to switch from Django 2.1 to the 2.2 LTS release to fix a
rather annoying bug that generated intermittent errors when objects were
deleted/manipulated.
Therefore the same procedure must be done in almost the same way as in
r492690 to make NetBox compatible with Django 2.2 in the ports tree.
That means to repocopy the required Django 1.11 ports, assign them to
Django 2.2, limit them to Python 3.5+ and update all related
CONFLICTS_INSTALL entries accordingly:
* www/py-dj22-django-cors-headers [1]
* www/py-dj22-django-debug-toolbar
* www/py-dj22-django-filter
* www/py-dj22-django-js-asset
* www/py-dj22-django-mptt
* www/py-dj22-django-tables2
* www/py-dj22-django-taggit-serializer
* www/py-dj22-django-timezone-field
* www/py-dj22-drf-yasg
[1] www/py-django-cors-headers was repocopied from r500510 to keep on the
2.5.x branch as 3.x introduced some backward incompatibilities that
haven't been fully tested, yet.
Changelog since 2.5.10:
Enhancements:
* Improve natural ordering of device components
* Add support for filtering cables by connected device
* Add decommissioning status for devices
Bug Fixes:
* Fix natural ordering of device components (after it has been improved
before)
* Upgrade Django requirement to 2.2 to fix object deletion issue in the
changelog middleware
* Preserve multiselect filter values when updating per-page count for list
views
* Fix ordering of interface connections list by termination B name/device
* Fix tagged_items count in tags API endpoint
* Disable last_login update on login when maintenance mode is enabled
Reviewed by: koobs, miwi
Differential Revision: https://reviews.freebsd.org/D201039cfe10855cwww/py-drf-yasg: Update to 1.15.0 Changelog: Additions: * Added is_list_view and has_list_response extension points to SwaggerAutoSchema Improvements: * Updated swagger-ui to version 3.22.0 * Updated ReDoc to version 2.0.0-rc.4 Fixes: * ListModelMixin will now always be treated as a list view * Non-primtive values in field choices will now be handled properly https://github.com/axnsan12/drf-yasg/releases/tag/1.15.0 Approved by: mentors (implicit)e1a629c905
www/py-drf-yasg: Update to 1.14.0 Notable changes since 1.11.1: Additions: * get_security_definitions and get_security_requirements hooks to OpenAPISchemaGenerator * Added get_summary_and_description and split_summary_from_description extension points to SwaggerAutoSchema to allow for better customisation Improvements: * Updated swagger-ui to version 3.21.0 * Updated ReDoc to version 2.0.0-rc.2 Fixes: * Implicit ref_name collisions will now throw an exception * RecursiveField will now also work as a child of ListSerializer Removals: * The get_summary and get_description methods have been removed Deprecations: * Quietly dropped support for the flex validator; it will still work if the library is installed, but the setup.py requirement was removed and the validator will be silently skipped if not installed https://github.com/axnsan12/drf-yasg/blob/1.14.0/docs/changelog.rst Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D195900c112d3c39
Create some ports that are assigned to Django 2.1 instead Django 1.11. Django 1.11 is currently the "default" version in the ports tree due its long term support until April 2020 thus ports that are assigned to that version will exist until then. The following packages are required to make the upgrade of net-mgmt/netbox to 2.5.x possible because upstream has decided to switch from Django 1.11 to Django 2.1: * www/py-dj21-django-cors-headers * www/py-dj21-django-debug-toolbar * www/py-dj21-django-filter * www/py-dj21-django-js-asset * www/py-dj21-django-mptt * www/py-dj21-django-tables2 * www/py-dj21-django-taggit * www/py-dj21-django-timezone-field * www/py-dj21-djangorestframework * www/py-dj21-drf-yasg Also limit the new ports to Python 3.5 and later to match the requirements for Django 2.1 and to reduce some overhead in the building infrastructure. Reviewed by: miwi, tcberner (mentors) Approved by: miwi Differential Revision: https://reviews.freebsd.org/D1905968dbb932f9
Change my maintainer email address to my new one at the FreeBSD project. Reviewed by: miwi (mentor) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D190506a4a5116bf
- Update to 1.11.1 Changes by upstream: - https://github.com/axnsan12/drf-yasg/blob/1.11.1/docs/changelog.rst PR: 234616 Submitted by: maintainer Sponsored by: iXsystems Inc.b713f47a5a
www/py-drf-yasg: Update to 1.9.2 PR: 231094 Submitted by: Kai <freebsd_ports@k-worx.org>bc0c77d054
www/py-drf-yasg: Update to 1.9.1 PR: 229609 Submitted by: Kai <freebsd_ports@k-worx.org> (maintainer)a7c343c3fe
www/py-drf-yasg: update to 1.7.4 PR: 228419 Submitted by: Kai <freebsd_ports@k-worx.org>aca4e82093
New port: www/py-drf-yasg Generate real Swagger/OpenAPI 2.0 specifications from a Django Rest Framework API. Features: - full support for nested serializers and schemas - response schemas and descriptions - model definitions compatible with codegen tools - customization hooks at all points in the spec generation process - JSON and YAML format for spec - bundles latest version of swagger-ui and redoc for viewing the generated documentation - schema view is cacheable out of the box - generated Swagger schema can be automatically validated by swagger-spec-validator or flex - supports Django REST Framework API versioning with URLPathVersioning and NamespaceVersioning (other DRF or custom versioning schemes are not currently supported) WWW: https://github.com/axnsan12/drf-yasg PR: 227344 Submitted by: Kai <freebsd_ports@k-worx.org>dddf2b5f39