pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-django-filter



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Mar 10 10:25:03 UTC 2021

Modified Files:
        pkgsrc/www/py-django-filter: Makefile PLIST distinfo
Removed Files:
        pkgsrc/www/py-django-filter/patches: patch-django__filters_utils.py

Log Message:
py-django-filter: updated to 2.4.0

Version 2.4.0 (2020-9-27)
--------------------------
* SECURITY: Added a ``MaxValueValidator`` to the form field for
  ``NumberFilter``. This prevents a potential DoS attack if numbers with very
  large exponents were subsequently converted to integers.

  The default limit value for the validator is ``1e50``.

  The new ``NumberFilter.get_max_validator()`` allows customising the used
  validator, and may return ``None`` to disable the validation entirely.

* Added testing against Django 3.1 and Python 3.9.

  In addition tests against Django main development branch are now required to
  pass.

Version 2.3.0 (2020-6-5)
------------------------
* Fixed import of FieldDoesNotExist.
* Added testing against Django 3.0.
* Declared support for, and added testing against, Python 3.8.
* Fix filterset multiple inheritance bug
* Allowed customising default lookup expression.
* Drop Django 2.1 and below
* Fixed IsoDateTimeRangeFieldTests for Django 3.1
* Require tests to pass against Django `master`.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/py-django-filter/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-django-filter/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-django-filter/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/www/py-django-filter/patches/patch-django__filters_utils.py

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-django-filter/Makefile
diff -u pkgsrc/www/py-django-filter/Makefile:1.8 pkgsrc/www/py-django-filter/Makefile:1.9
--- pkgsrc/www/py-django-filter/Makefile:1.8    Sun Oct 11 23:48:18 2020
+++ pkgsrc/www/py-django-filter/Makefile        Wed Mar 10 10:25:03 2021
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2020/10/11 23:48:18 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2021/03/10 10:25:03 adam Exp $
 
-DISTNAME=      django-filter-2.2.0
+DISTNAME=      django-filter-2.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/django-filter/}
 
@@ -11,7 +10,7 @@ HOMEPAGE=     https://github.com/carltongibs
 COMMENT=       Generic dynamic filtering support for Django
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-django>=1.11:../../www/py-django
+DEPENDS+=      ${PYPKGPREFIX}-django>=2.2:../../www/py-django
 DEPENDS+=      ${PYPKGPREFIX}-djangorestframework-[0-9]*:../../www/py-djangorestframework
 
 USE_LANGUAGES= # none

Index: pkgsrc/www/py-django-filter/PLIST
diff -u pkgsrc/www/py-django-filter/PLIST:1.2 pkgsrc/www/py-django-filter/PLIST:1.3
--- pkgsrc/www/py-django-filter/PLIST:1.2       Thu Nov 15 09:22:51 2018
+++ pkgsrc/www/py-django-filter/PLIST   Wed Mar 10 10:25:03 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2018/11/15 09:22:51 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2021/03/10 10:25:03 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -31,6 +31,8 @@ ${PYSITELIB}/django_filters/filterset.py
 ${PYSITELIB}/django_filters/filterset.pyo
 ${PYSITELIB}/django_filters/locale/be/LC_MESSAGES/django.mo
 ${PYSITELIB}/django_filters/locale/be/LC_MESSAGES/django.po
+${PYSITELIB}/django_filters/locale/bg/LC_MESSAGES/django.mo
+${PYSITELIB}/django_filters/locale/bg/LC_MESSAGES/django.po
 ${PYSITELIB}/django_filters/locale/cs/LC_MESSAGES/django.mo
 ${PYSITELIB}/django_filters/locale/cs/LC_MESSAGES/django.po
 ${PYSITELIB}/django_filters/locale/da/LC_MESSAGES/django.mo
@@ -56,9 +58,6 @@ ${PYSITELIB}/django_filters/locale/sk/LC
 ${PYSITELIB}/django_filters/locale/uk/LC_MESSAGES/django.mo
 ${PYSITELIB}/django_filters/locale/uk/LC_MESSAGES/django.po
 ${PYSITELIB}/django_filters/locale/zh_CN/LC_MESSAGES/django.po
-${PYSITELIB}/django_filters/models.py
-${PYSITELIB}/django_filters/models.pyc
-${PYSITELIB}/django_filters/models.pyo
 ${PYSITELIB}/django_filters/rest_framework/__init__.py
 ${PYSITELIB}/django_filters/rest_framework/__init__.pyc
 ${PYSITELIB}/django_filters/rest_framework/__init__.pyo

Index: pkgsrc/www/py-django-filter/distinfo
diff -u pkgsrc/www/py-django-filter/distinfo:1.6 pkgsrc/www/py-django-filter/distinfo:1.7
--- pkgsrc/www/py-django-filter/distinfo:1.6    Sun Oct 11 23:48:18 2020
+++ pkgsrc/www/py-django-filter/distinfo        Wed Mar 10 10:25:03 2021
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.6 2020/10/11 23:48:18 joerg Exp $
+$NetBSD: distinfo,v 1.7 2021/03/10 10:25:03 adam Exp $
 
-SHA1 (django-filter-2.2.0.tar.gz) = 9796ad961fcf319c637e8a36a137b1f944a67e47
-RMD160 (django-filter-2.2.0.tar.gz) = d2205313ca6393a87e2b37c53c01b48dade966cc
-SHA512 (django-filter-2.2.0.tar.gz) = 16a4336d1558cabfe497dd9736a2f652c9f9d141a72c856cf13f3ca56db4da85b5926b05c772aef5fa43a75e085025244b8deaf7facbc5bfa68907bd99f4f95d
-Size (django-filter-2.2.0.tar.gz) = 142804 bytes
-SHA1 (patch-django__filters_utils.py) = ee77665c2533ea7ac47b3e7e0d06054286722c99
+SHA1 (django-filter-2.4.0.tar.gz) = ba88eaf464e63cbd2438334111ee54d5bb1b9e8b
+RMD160 (django-filter-2.4.0.tar.gz) = c265429ef78a2f89d395c0ce58a3de50c8c3895d
+SHA512 (django-filter-2.4.0.tar.gz) = 0584222b46add89aa7dd1dfd334fdd19903e0119d455a2c46644c501a66df224f9f51c33394d130bcd1fc0f28c6ede6d6853b9790430040ec7228f9a1dc55264
+Size (django-filter-2.4.0.tar.gz) = 146904 bytes



Home | Main Index | Thread Index | Old Index