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/dcc8ab50396c
branches:  trunk
changeset: 440098:dcc8ab50396c
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Oct 02 19:27:47 2020 +0000

description:
py-djangorestframework: updated to 3.12.1

3.12.1
Add TokenProxy migration.

3.12.0
Add --file option to generateschema command.
Support tags for OpenAPI schema generation. See the schema docs.
Support customising the operation ID for schema generation. See the schema docs.
Support OpenAPI components for schema generation. See the schema docs.
The following methods on AutoSchema become public API: get_path_parameters, get_pagination_parameters, get_filter_parameters, get_request_body, get_responses, get_serializer, get_paginator, 
map_serializer, map_field, map_choice_field, map_field_validators, allows_filters. See the schema docs
Add support for Django 3.1's database-agnositic JSONField.
SearchFilter now supports nested search on JSONField and HStoreField model fields.
SearchFilter now supports searching on annotate() fields.
The authtoken model no longer exposes the pk in the admin URL.
Add __repr__ for Request instances.
UTF-8 decoding with Latin-1 fallback for basic auth credentials.
CharField treats surrogate characters as a validation failure.
Don't include callables as default values in schemas.
Improve ListField schema output to include all available child information.
Allow default=False to be included for BooleanField schema outputs.
Include "type" information in ChoiceField schema outputs.
Include "type": "object" on schema objects.
Don't include component in schema output for DELETE requests.
Fix schema types for DecimalField.
Fix schema generation for ObtainAuthToken view.
Support passing context=... to view .get_serializer() methods.
Pass custom code to PermissionDenied if permission class has one set.
Include "example" in schema pagination output.
Default status code of 201 on schema output for POST requests.
Use camelCase for operation IDs in schema output.
Warn if duplicate operation IDs exist in schema output.
Improve handling of decimal type when mapping ChoiceField to a schema output.
Disable YAML aliases for OpenAPI schema outputs.
Fix action URL names for APIs included under a namespaced URL.
Update jQuery version from 3.4 to 3.5.
Fix UniqueTogether handling when serializer fields use source=....
HTTP HEAD requests now set self.action correctly on a ViewSet instance.
Return a valid OpenAPI schema for the case where no API schema paths exist.
Include tests in package distribution.
Allow type checkers to support annotations like ModelSerializer[Author].
Don't include invalid charset=None portion in the request Content-Type header when using APIClient.
Fix \Z/\z tokens in OpenAPI regexs.
Fix PrimaryKeyRelatedField and HyperlinkedRelatedField when source field is actually a property.
Token.generate_key is now a class method.
@action warns if method is wrapped in a decorator that does not preserve information using

diffstat:

 www/py-djangorestframework/Makefile |   8 ++++----
 www/py-djangorestframework/PLIST    |   7 +++++--
 www/py-djangorestframework/distinfo |  10 +++++-----
 3 files changed, 14 insertions(+), 11 deletions(-)

diffs (67 lines):

diff -r 52b8bc1454d4 -r dcc8ab50396c www/py-djangorestframework/Makefile
--- a/www/py-djangorestframework/Makefile       Fri Oct 02 19:23:35 2020 +0000
+++ b/www/py-djangorestframework/Makefile       Fri Oct 02 19:27:47 2020 +0000
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile,v 1.29 2020/08/20 11:37:06 joerg Exp $
+# $NetBSD: Makefile,v 1.30 2020/10/02 19:27:47 adam Exp $
 
-DISTNAME=      djangorestframework-3.11.1
+DISTNAME=      djangorestframework-3.12.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/djangorestframework/}
 
 MAINTAINER=    adam%NetBSD.org@localhost
-HOMEPAGE=      http://django-rest-framework.org/
+HOMEPAGE=      https://django-rest-framework.org/
 COMMENT=       Lightweight REST framework for Django
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-django>=1.11:../../www/py-django
+DEPENDS+=      ${PYPKGPREFIX}-django>=2.2:../../www/py-django2
 
 USE_LANGUAGES= # none
 
diff -r 52b8bc1454d4 -r dcc8ab50396c www/py-djangorestframework/PLIST
--- a/www/py-djangorestframework/PLIST  Fri Oct 02 19:23:35 2020 +0000
+++ b/www/py-djangorestframework/PLIST  Fri Oct 02 19:27:47 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2019/12/15 21:38:40 adam Exp $
+@comment $NetBSD: PLIST,v 1.16 2020/10/02 19:27:47 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -38,6 +38,9 @@
 ${PYSITELIB}/rest_framework/authtoken/migrations/0002_auto_20160226_1747.py
 ${PYSITELIB}/rest_framework/authtoken/migrations/0002_auto_20160226_1747.pyc
 ${PYSITELIB}/rest_framework/authtoken/migrations/0002_auto_20160226_1747.pyo
+${PYSITELIB}/rest_framework/authtoken/migrations/0003_tokenproxy.py
+${PYSITELIB}/rest_framework/authtoken/migrations/0003_tokenproxy.pyc
+${PYSITELIB}/rest_framework/authtoken/migrations/0003_tokenproxy.pyo
 ${PYSITELIB}/rest_framework/authtoken/migrations/__init__.py
 ${PYSITELIB}/rest_framework/authtoken/migrations/__init__.pyc
 ${PYSITELIB}/rest_framework/authtoken/migrations/__init__.pyo
@@ -229,7 +232,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.4.1.min.js
+${PYSITELIB}/rest_framework/static/rest_framework/js/jquery-3.5.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 52b8bc1454d4 -r dcc8ab50396c www/py-djangorestframework/distinfo
--- a/www/py-djangorestframework/distinfo       Fri Oct 02 19:23:35 2020 +0000
+++ b/www/py-djangorestframework/distinfo       Fri Oct 02 19:27:47 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.21 2020/08/20 11:37:06 joerg Exp $
+$NetBSD: distinfo,v 1.22 2020/10/02 19:27:47 adam Exp $
 
-SHA1 (djangorestframework-3.11.1.tar.gz) = c3699741bd6a06b32b3a82badb39dded877265bd
-RMD160 (djangorestframework-3.11.1.tar.gz) = e73e2f4aa8e0d6ac9b58db1dca5cebb2b0141b5e
-SHA512 (djangorestframework-3.11.1.tar.gz) = 3063441f965a98c2bdd8279d3fc300d45af032094590b097cfe31a28fdaaf1772391ae023d5229537c1f6e7ff01405e604123bf9c665cd902a26e1cf94a8785f
-Size (djangorestframework-3.11.1.tar.gz) = 804357 bytes
+SHA1 (djangorestframework-3.12.1.tar.gz) = aa525bb2a66b6c3b922f54c1293b7333651a31be
+RMD160 (djangorestframework-3.12.1.tar.gz) = de39cd96997aced74223952e07c7ea6af1992333
+SHA512 (djangorestframework-3.12.1.tar.gz) = b8847729e1868b2f0cc12c5c0ffd9c90facdb4606625340edd171f704697f88e7794dff0793b8e2a19730291a3833f939900dfb02e6b5dfdf410af9a95bb2bff
+Size (djangorestframework-3.12.1.tar.gz) = 810693 bytes



Home | Main Index | Thread Index | Old Index