Port details |
- py-drf-yasg Yet Another Swagger Generator
- 1.21.8 www =2 1.21.7_2Version of this port present on the latest quarterly branch.
- Maintainer: kai@FreeBSD.org
- Port Added: 2018-04-17 20:18:20
- Last Update: 2024-11-03 19:50:30
- Commit Hash: d99d45d
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://github.com/axnsan12/drf-yasg
- Description:
- 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)
- ¦ ¦ ¦ ¦
- 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-yasg>0:www/py-drf-yasg@${PY_FLAVOR}
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/www/py-drf-yasg/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-drf-yasg
- pkg install py311-drf-yasg
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-yasg listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-drf-yasg
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1730630304
SHA256 (drf-yasg-1.21.8.tar.gz) = cbb7f81c3d140f2207392b4bc5dde65384eeb58e1b7eea1a6d641dec2f7352a9
SIZE (drf-yasg-1.21.8.tar.gz) = 4512662
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-scm>=3.0.6 : devel/py-setuptools-scm@py311
- 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.16 : www/py-django42@py311
- py311-djangorestframework>=3.10.3 : www/py-djangorestframework@py311
- py311-inflection>=0.3.1 : devel/py-inflection@py311
- py311-pytz>=2021.1 : devel/py-pytz@py311
- py311-uritemplate>=3.0.0 : net/py-uritemplate@py311
- py311-packaging>=21.0 : devel/py-packaging@py311
- py311-pyyaml>=5.1 : devel/py-pyyaml@py311
- py311-swagger-spec-validator>=2.1.0 : devel/py-swagger-spec-validator@py311
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for py311-drf-yasg-1.21.8:
COREAPI=off: Enable CoreAPI validation mechanisms
VALIDATION=on: Enable built-in OpenAPI validation mechanisms
===> Use 'make config' to modify these settings
- Options name:
- www_py-drf-yasg
- 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 |
1.21.8 03 Nov 2024 19:50:30 |
Kai Knoblich (kai) |
www/py-drf-yasg: Update to 1.21.8
Changelog:
https://github.com/axnsan12/drf-yasg/releases/tag/1.21.8 |
1.21.7_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 |
1.21.7_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 |
1.21.7 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 |
1.21.7 03 Aug 2023 11:08:32 |
Kai Knoblich (kai) |
www/py-drf-yasg: Update to 1.21.7
Changelog:
https://github.com/axnsan12/drf-yasg/blob/1.21.7/docs/changelog.rst |
1.21.6 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> |
1.21.6 27 Jun 2023 12:39:22 |
Kai Knoblich (kai) |
www/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.rst |
1.21.5 26 Feb 2023 13:29:08 |
Kai Knoblich (kai) |
www/py-drf-yasg: Update to 1.21.5
Changelog:
https://github.com/axnsan12/drf-yasg/releases/tag/1.21.5 |
1.21.4 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
1.21.4 09 Oct 2022 16:55:22 |
Kai Knoblich (kai) |
www/py-drf-yasg: Update to 1.21.4
Changelog:
https://github.com/axnsan12/drf-yasg/releases/tag/1.21.4 |
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) |
1.21.3 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 ) |
1.21.3 09 Aug 2022 10:58:37 |
Kai Knoblich (kai) |
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.rst |
1.20.0_1 16 Jun 2022 16:28:33 |
Kai Knoblich (kai) |
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 (Only the first 15 lines of the commit message are shown above ) |
1.20.0_1 28 Apr 2022 10:02:15 |
Kai Knoblich (kai) |
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/D34859 |
1.20.0 20 Jul 2021 12:26:05 |
Kai Knoblich (kai) |
*: 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 (Only the first 15 lines of the commit message are shown above ) |
1.20.0 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
1.20.0 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.20.0 10 Nov 2020 08:47:04 |
kai |
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 (Only the first 15 lines of the commit message are shown above ) |
1.20.0 31 Oct 2020 12:18:55 |
kai |
www/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.0 |
1.17.0_1 29 May 2020 15:45:18 |
kai |
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/D24850 |
1.17.0 03 Nov 2019 11:56:29 |
kai |
www/py-drf-yasg: Update to 1.17.0
Changelog:
https://github.com/axnsan12/drf-yasg/releases/tag/1.17.0 |
1.16.1 08 Sep 2019 18:46:56 |
kai |
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> |
1.16.0 21 Jun 2019 07:59:56 |
kai |
www/py-drf-yasg: Update to 1.16.0
Changelog:
https://github.com/axnsan12/drf-yasg/blob/1.16.0/docs/changelog.rst |
1.15.0 25 May 2019 10:10:01 |
kai |
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 (Only the first 15 lines of the commit message are shown above ) |
1.15.0 25 Apr 2019 17:41:48 |
kai |
www/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) |
1.14.0 17 Mar 2019 14:34:22 |
kai |
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: (Only the first 15 lines of the commit message are shown above ) |
1.11.1 11 Feb 2019 12:00:30 |
kai |
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 (Only the first 15 lines of the commit message are shown above ) |
1.11.1 01 Feb 2019 18:55:18 |
kai |
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/D19050 |
1.11.1 29 Jan 2019 16:33:58 |
miwi |
- 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. |
1.9.2 02 Sep 2018 15:35:38 |
swills |
www/py-drf-yasg: Update to 1.9.2
PR: 231094
Submitted by: Kai <freebsd_ports@k-worx.org> |
1.9.1 09 Jul 2018 02:40:32 |
swills |
www/py-drf-yasg: Update to 1.9.1
PR: 229609
Submitted by: Kai <freebsd_ports@k-worx.org> (maintainer) |
1.7.4 22 May 2018 13:53:37 |
swills |
www/py-drf-yasg: update to 1.7.4
PR: 228419
Submitted by: Kai <freebsd_ports@k-worx.org> |
1.6.1 17 Apr 2018 20:18:06 |
pi |
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> |