1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

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/D19590
This commit is contained in:
Kai Knoblich 2019-03-17 14:34:21 +00:00
parent a2021ca478
commit 0c112d3c39
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496066
2 changed files with 4 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= drf-yasg
DISTVERSION= 1.11.1
DISTVERSION= 1.14.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -17,10 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.11.7:www/py-django111@${PY_FLAV
${PYTHON_PKGNAMEPREFIX}djangorestframework>=3.7.7:www/py-djangorestframework@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}coreapi>=2.3.3:devel/py-coreapi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}coreschema>=0.0.4:devel/py-coreschema@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}flex>=6.11.1:devel/py-flex@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}future>=0.16.0:devel/py-future@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1:devel/py-inflection@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}openapi-codec>=1.3.2:devel/py-openapi-codec@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.15.34:devel/py-ruamel.yaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}swagger-spec-validator>=2.1.0:devel/py-swagger-spec-validator@${PY_FLAVOR} \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1546606600
SHA256 (drf-yasg-1.11.1.tar.gz) = 9ee2072fb84ec60d951fa105e6926cf16e332973ba20ab2e3962fd9445cfd102
SIZE (drf-yasg-1.11.1.tar.gz) = 1249643
TIMESTAMP = 1552597676
SHA256 (drf-yasg-1.14.0.tar.gz) = ca17555127f8ac59d51c2bf721eff83b46ae20a8626c033f186a4c4d7d6053f4
SIZE (drf-yasg-1.14.0.tar.gz) = 1270930