pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-djangorestframework



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Oct  2 19:27:47 UTC 2020

Modified Files:
        pkgsrc/www/py-djangorestframework: Makefile PLIST distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/www/py-djangorestframework/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/py-djangorestframework/PLIST
cvs rdiff -u -r1.21 -r1.22 pkgsrc/www/py-djangorestframework/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-djangorestframework/Makefile
diff -u pkgsrc/www/py-djangorestframework/Makefile:1.29 pkgsrc/www/py-djangorestframework/Makefile:1.30
--- pkgsrc/www/py-djangorestframework/Makefile:1.29     Thu Aug 20 11:37:06 2020
+++ pkgsrc/www/py-djangorestframework/Makefile  Fri Oct  2 19:27:47 2020
@@ -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
 

Index: pkgsrc/www/py-djangorestframework/PLIST
diff -u pkgsrc/www/py-djangorestframework/PLIST:1.15 pkgsrc/www/py-djangorestframework/PLIST:1.16
--- pkgsrc/www/py-djangorestframework/PLIST:1.15        Sun Dec 15 21:38:40 2019
+++ pkgsrc/www/py-djangorestframework/PLIST     Fri Oct  2 19:27:47 2020
@@ -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/mi
 ${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_
 ${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

Index: pkgsrc/www/py-djangorestframework/distinfo
diff -u pkgsrc/www/py-djangorestframework/distinfo:1.21 pkgsrc/www/py-djangorestframework/distinfo:1.22
--- pkgsrc/www/py-djangorestframework/distinfo:1.21     Thu Aug 20 11:37:06 2020
+++ pkgsrc/www/py-djangorestframework/distinfo  Fri Oct  2 19:27:47 2020
@@ -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