pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-djangorestframework py-djangorestframework: upd...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9bac0304199e
branches: trunk
changeset: 404609:9bac0304199e
user: adam <adam%pkgsrc.org@localhost>
date: Thu Nov 14 17:27:15 2019 +0000
description:
py-djangorestframework: updated to 3.10.3
3.10.3
Include API version in OpenAPI schema generation, defaulting to empty string.
Add pagination properties to OpenAPI response schemas.
Add missing "description" property to OpenAPI response schemas.
Only include "required" for non-empty cases in OpenAPI schemas.
Fix response schemas for "DELETE" case in OpenAPI schemas.
Use an array type for list view response schemas.
Use consistent lowerInitialCamelCase style in OpenAPI operation IDs.
Fix minLength/maxLength/minItems/maxItems properties in OpenAPI schemas.
Only call FileField.url once in serialization, for improved performance.
Fix an edge case where throttling calcualtions could error after a configuration change.
3.10.2
Various OpenAPI schema fixes.
Ability to specify urlconf in include_docs_urls.
3.10.1
Don't include autocomplete fields on TokenAuth admin, since it forces constraints on custom user models & admin.
Require uritemplate for OpenAPI schema generation, but not coreapi.
3.10.0
Switch to OpenAPI schema generation.
Drop Python 2 support.
Add generateschema --generator_class CLI option
Updated PyYaml dependency for OpenAPI schema generation to pyyaml>=5.1
Resolve DeprecationWarning with markdown.
Use user.get_username in templates, in preference to user.username.
Fix for cursor pagination issue that could occur after object deletions.
Fix for nullable fields with source="*"
Always apply all throttle classes during throttling checks.
Updates to jQuery and Markdown dependencies.
Don't strict disallow redundant SerializerMethodField field name arguments.
Don't render extra actions in browable API if not authenticated.
Strip null characters from search parameters.
diffstat:
www/py-djangorestframework/Makefile | 6 ++++--
www/py-djangorestframework/PLIST | 10 ++++++++--
www/py-djangorestframework/distinfo | 10 +++++-----
3 files changed, 17 insertions(+), 9 deletions(-)
diffs (72 lines):
diff -r e5a68d329fa5 -r 9bac0304199e www/py-djangorestframework/Makefile
--- a/www/py-djangorestframework/Makefile Thu Nov 14 17:26:16 2019 +0000
+++ b/www/py-djangorestframework/Makefile Thu Nov 14 17:27:15 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2019/05/13 15:52:13 adam Exp $
+# $NetBSD: Makefile,v 1.27 2019/11/14 17:27:15 adam Exp $
-DISTNAME= djangorestframework-3.9.4
+DISTNAME= djangorestframework-3.10.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/djangorestframework/}
@@ -14,5 +14,7 @@
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # since 3.10.0
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r e5a68d329fa5 -r 9bac0304199e www/py-djangorestframework/PLIST
--- a/www/py-djangorestframework/PLIST Thu Nov 14 17:26:16 2019 +0000
+++ b/www/py-djangorestframework/PLIST Thu Nov 14 17:27:15 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2019/03/04 08:29:25 adam Exp $
+@comment $NetBSD: PLIST,v 1.14 2019/11/14 17:27:15 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -173,12 +173,18 @@
${PYSITELIB}/rest_framework/schemas/__init__.py
${PYSITELIB}/rest_framework/schemas/__init__.pyc
${PYSITELIB}/rest_framework/schemas/__init__.pyo
+${PYSITELIB}/rest_framework/schemas/coreapi.py
+${PYSITELIB}/rest_framework/schemas/coreapi.pyc
+${PYSITELIB}/rest_framework/schemas/coreapi.pyo
${PYSITELIB}/rest_framework/schemas/generators.py
${PYSITELIB}/rest_framework/schemas/generators.pyc
${PYSITELIB}/rest_framework/schemas/generators.pyo
${PYSITELIB}/rest_framework/schemas/inspectors.py
${PYSITELIB}/rest_framework/schemas/inspectors.pyc
${PYSITELIB}/rest_framework/schemas/inspectors.pyo
+${PYSITELIB}/rest_framework/schemas/openapi.py
+${PYSITELIB}/rest_framework/schemas/openapi.pyc
+${PYSITELIB}/rest_framework/schemas/openapi.pyo
${PYSITELIB}/rest_framework/schemas/utils.py
${PYSITELIB}/rest_framework/schemas/utils.pyc
${PYSITELIB}/rest_framework/schemas/utils.pyo
@@ -222,7 +228,7 @@
${PYSITELIB}/rest_framework/static/rest_framework/js/coreapi-0.1.1.js
${PYSITELIB}/rest_framework/static/rest_framework/js/csrf.js
${PYSITELIB}/rest_framework/static/rest_framework/js/default.js
-${PYSITELIB}/rest_framework/static/rest_framework/js/jquery-3.3.1.min.js
+${PYSITELIB}/rest_framework/static/rest_framework/js/jquery-3.4.1.min.js
${PYSITELIB}/rest_framework/static/rest_framework/js/prettify-min.js
${PYSITELIB}/rest_framework/status.py
${PYSITELIB}/rest_framework/status.pyc
diff -r e5a68d329fa5 -r 9bac0304199e www/py-djangorestframework/distinfo
--- a/www/py-djangorestframework/distinfo Thu Nov 14 17:26:16 2019 +0000
+++ b/www/py-djangorestframework/distinfo Thu Nov 14 17:27:15 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2019/05/13 15:52:13 adam Exp $
+$NetBSD: distinfo,v 1.19 2019/11/14 17:27:15 adam Exp $
-SHA1 (djangorestframework-3.9.4.tar.gz) = 65da4c451a675a8d42e11de0fd3009fbdc2a0657
-RMD160 (djangorestframework-3.9.4.tar.gz) = ed643e077e985d67812bcc978cfa65876aa6e7c9
-SHA512 (djangorestframework-3.9.4.tar.gz) = bfa269b1ca95c1d35d97f3fcdcf821778f2c2ba14ce79288b776ecff369922603ba9a2292a59ca8ad263eb3eef675420a2bb2e609e11e53e503a78bd365b2913
-Size (djangorestframework-3.9.4.tar.gz) = 779306 bytes
+SHA1 (djangorestframework-3.10.3.tar.gz) = 32492ef5cc5975fd47a48bbc519d73cbae053eac
+RMD160 (djangorestframework-3.10.3.tar.gz) = 6b1f2694d097fe27c72ca88ec3511dcef081fb08
+SHA512 (djangorestframework-3.10.3.tar.gz) = bd1a8c9dd639d34f88911cee4d02252e608c26cfec5f1c96ae3250f359c6c962612bf56718cd3d74d680b3733bcc86664b94c9241cbf184984a30827c34ba4d8
+Size (djangorestframework-3.10.3.tar.gz) = 789009 bytes
Home |
Main Index |
Thread Index |
Old Index