Port details |
- py-dj40-drf-yasg Yet Another Swagger Generator
- 1.21.4 www
=0 Version of this port present on the latest quarterly branch. - Maintainer: kai@FreeBSD.org
 - Port Added: 2022-06-16 16:33:07
- Last Update: 2023-01-11 15:58:34
- Commit Hash: 77d6847
- Also Listed In: python
- License: BSD3CLAUSE
- 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)
¦ ¦ ¦ ¦ 
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}dj40-drf-yasg>0:www/py-dj40-drf-yasg@${PY_FLAVOR}
- Conflicts:
- CONFLICTS_INSTALL:
- Conflicts Matches:
-
There are no Conflicts Matches for this port. This is usually an error.
- To install the port:
- cd /usr/ports/www/py-dj40-drf-yasg/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-dj40-drf-yasg
- pkg install py39-dj40-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 py39-dj40-drf-yasg listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-dj40-drf-yasg
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1665308834
SHA256 (drf-yasg-1.21.4.tar.gz) = 887c9f79e64f46aa48974234e61029b1bea6b12ea628a8fc8a3697589add1d3e
SIZE (drf-yasg-1.21.4.tar.gz) = 6676926
- 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:
-
- py39-setuptools_scm>=3.0.6 : devel/py-setuptools_scm@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-django40>=2.2.16 : www/py-django40@py39
- py39-dj40-djangorestframework>=3.10.3 : www/py-dj40-djangorestframework@py39
- py39-coreapi>=2.3.3 : devel/py-coreapi@py39
- py39-coreschema>=0.0.4 : devel/py-coreschema@py39
- py39-inflection>=0.3.1 : devel/py-inflection@py39
- py39-ruamel.yaml>=0.16.13 : devel/py-ruamel.yaml@py39
- py39-pytz>=2021.1 : devel/py-pytz@py39
- py39-uritemplate>=3.0.0 : net/py-uritemplate@py39
- py39-packaging>=21.0 : devel/py-packaging@py39
- py39-swagger-spec-validator>=2.1.0 : devel/py-swagger-spec-validator@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- net-mgmt/netbox
- Configuration Options:
- ===> The following configuration options are available for py39-dj40-drf-yasg-1.21.4:
VALIDATION=on: Enable built-in OpenAPI validation mechanisms
===> Use 'make config' to modify these settings
- Options name:
- www_py-dj40-drf-yasg
- USES:
- python:3.6+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Notes from UPDATING |
- These upgrade notes are taken from /usr/ports/UPDATING
- 2017-11-30
Affects: */py* Author: mat@FreeBSD.org Reason:
Ports using Python via USES=python are now flavored. All the py3-* ports
have been removed and folded into their py-* master ports.
People using Poudriere 3.2+ and binary packages do not have to do anything.
For other people, to build the Python 3.6 version of, for example,
databases/py-gdbm, you need to run:
# make FLAVOR=py36 install
|
Number of commits found: 6
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
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 11:41:13
    |
Kai Knoblich (kai)  |
www/py-dj40-drf-yasg: Update to 1.21.4
Changelog:
https://github.com/axnsan12/drf-yasg/releases/tag/1.21.4
MFH: 2022Q4 (bugfixes, required for NetBox 3.3.5) |
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 20 Aug 2022 11:00:13
    |
Kai Knoblich (kai)  |
www/py-dj40-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 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 ) |
Number of commits found: 6
|