Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id C953C1A9217 for ; Fri, 2 Oct 2020 19:27:49 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 6466C84DA6; Fri, 2 Oct 2020 19:27:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E07F484D04 for ; Fri, 2 Oct 2020 19:27:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id PBqu8xhM6fxo for ; Fri, 2 Oct 2020 19:27:48 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 1AA9D84CE1 for ; Fri, 2 Oct 2020 19:27:48 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 147A8FB28; Fri, 2 Oct 2020 19:27:48 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1601666868259330" MIME-Version: 1.0 Date: Fri, 2 Oct 2020 19:27:48 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/www/py-djangorestframework To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20201002192748.147A8FB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1601666868259330 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1601666868259330 Content-Disposition: inline Content-Length: 4046 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 -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 --_----------=_1601666868259330--