pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-django-filter py-django-filter: updated to 2.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/19d5c07b1670
branches:  trunk
changeset: 325342:19d5c07b1670
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Nov 15 09:22:51 2018 +0000

description:
py-django-filter: updated to 2.0.0

Version 2.0:

2.0 introduced a number of small changes and tidy-ups.
Please see the migration guide:
https://django-filter.readthedocs.io/en/master/guide/migration.html#migrating-to-2-0

* Added testing for Python 3.7
* Improve exception message for invalid filter result
* Test QueryDict against CSV filters
* Add `renderer` argument to `render()` method of `BooleanWidget`
* Fix lookups for reverse relationships
* Refactor backend filterset instantiation
* Improve view-related attribute name consistency
* Fix distinct call for range filters
* Fix empty value check for CSV range
* Rework DateRangeFilter
* Added testing for Django 2.1
* Rework 'lookup types' handling into LookupChoiceFilter
* Add linting and docs builds to CI
* Use DRF BooleanFilter for NullBooleanField
* Added Brazilian locale
* List Django as a dependency in setup.py
* Keep coverage reports files off version control.
* Update migration docs
* Added be, cs and uk translations. Updated de and ru
* Slovak translation
* Added Django 2.0 support.
* Fix warnings build
* Add greek translation
* Replaced super(ClassName, self) with super()
* Fixed doc URL in utils.deprecate().
* Added danish translation to django-filter
* Rework validation, add queryset filter method
* Fix Schema warnings
* Update {Range,LookupType}Widgets to use suffixes
* Method signature improvements
* Remove more deprecations
* Drop python 2, Django<1.11 support
* Remove 'Meta.together' option
* [2.x] Remove some deprecations

diffstat:

 www/py-django-filter/Makefile |   5 +-
 www/py-django-filter/PLIST    |  77 +++++++++++++++++++++++++-----------------
 www/py-django-filter/distinfo |  10 ++--
 3 files changed, 54 insertions(+), 38 deletions(-)

diffs (154 lines):

diff -r 3eaafc7971a9 -r 19d5c07b1670 www/py-django-filter/Makefile
--- a/www/py-django-filter/Makefile     Thu Nov 15 09:21:24 2018 +0000
+++ b/www/py-django-filter/Makefile     Thu Nov 15 09:22:51 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2018/02/02 12:41:30 adam Exp $
+# $NetBSD: Makefile,v 1.3 2018/11/15 09:22:51 adam Exp $
 
-DISTNAME=      django-filter-1.1.0
+DISTNAME=      django-filter-2.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/django-filter/}
@@ -10,6 +10,7 @@
 COMMENT=       Generic dynamic filtering support for Django
 LICENSE=       modified-bsd
 
+DEPENDS+=      ${PYPKGPREFIX}-django>=1.11:../../www/py-djangorestframework
 DEPENDS+=      ${PYPKGPREFIX}-djangorestframework-[0-9]*:../../www/py-djangorestframework
 
 USE_LANGUAGES= # none
diff -r 3eaafc7971a9 -r 19d5c07b1670 www/py-django-filter/PLIST
--- a/www/py-django-filter/PLIST        Thu Nov 15 09:21:24 2018 +0000
+++ b/www/py-django-filter/PLIST        Thu Nov 15 09:22:51 2018 +0000
@@ -1,43 +1,44 @@
-@comment $NetBSD: PLIST,v 1.1 2017/05/22 22:28:48 joerg Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/11/15 09:22:51 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/django_filters/__init__.py
+${PYSITELIB}/django_filters/__init__.pyc
 ${PYSITELIB}/django_filters/__init__.pyo
-${PYSITELIB}/django_filters/__init__.pyc
-${PYSITELIB}/django_filters/compat.pyo
+${PYSITELIB}/django_filters/compat.py
 ${PYSITELIB}/django_filters/compat.pyc
-${PYSITELIB}/django_filters/conf.pyo
+${PYSITELIB}/django_filters/compat.pyo
+${PYSITELIB}/django_filters/conf.py
 ${PYSITELIB}/django_filters/conf.pyc
-${PYSITELIB}/django_filters/constants.pyo
+${PYSITELIB}/django_filters/conf.pyo
+${PYSITELIB}/django_filters/constants.py
 ${PYSITELIB}/django_filters/constants.pyc
-${PYSITELIB}/django_filters/exceptions.pyo
+${PYSITELIB}/django_filters/constants.pyo
+${PYSITELIB}/django_filters/exceptions.py
 ${PYSITELIB}/django_filters/exceptions.pyc
-${PYSITELIB}/django_filters/fields.pyo
+${PYSITELIB}/django_filters/exceptions.pyo
+${PYSITELIB}/django_filters/fields.py
 ${PYSITELIB}/django_filters/fields.pyc
-${PYSITELIB}/django_filters/filters.pyo
+${PYSITELIB}/django_filters/fields.pyo
+${PYSITELIB}/django_filters/filters.py
 ${PYSITELIB}/django_filters/filters.pyc
-${PYSITELIB}/django_filters/filterset.pyo
+${PYSITELIB}/django_filters/filters.pyo
+${PYSITELIB}/django_filters/filterset.py
 ${PYSITELIB}/django_filters/filterset.pyc
-${PYSITELIB}/django_filters/models.pyo
-${PYSITELIB}/django_filters/models.pyc
-${PYSITELIB}/django_filters/utils.pyo
-${PYSITELIB}/django_filters/utils.pyc
-${PYSITELIB}/django_filters/views.pyo
-${PYSITELIB}/django_filters/views.pyc
-${PYSITELIB}/django_filters/widgets.pyo
-${PYSITELIB}/django_filters/widgets.pyc
-${PYSITELIB}/django_filters/compat.py
-${PYSITELIB}/django_filters/conf.py
-${PYSITELIB}/django_filters/constants.py
-${PYSITELIB}/django_filters/exceptions.py
-${PYSITELIB}/django_filters/fields.py
-${PYSITELIB}/django_filters/filters.py
-${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/cs/LC_MESSAGES/django.mo
+${PYSITELIB}/django_filters/locale/cs/LC_MESSAGES/django.po
+${PYSITELIB}/django_filters/locale/da/LC_MESSAGES/django.mo
+${PYSITELIB}/django_filters/locale/da/LC_MESSAGES/django.po
 ${PYSITELIB}/django_filters/locale/de/LC_MESSAGES/django.mo
 ${PYSITELIB}/django_filters/locale/de/LC_MESSAGES/django.po
+${PYSITELIB}/django_filters/locale/el/LC_MESSAGES/django.mo
+${PYSITELIB}/django_filters/locale/el/LC_MESSAGES/django.po
 ${PYSITELIB}/django_filters/locale/es_AR/LC_MESSAGES/django.mo
 ${PYSITELIB}/django_filters/locale/es_AR/LC_MESSAGES/django.po
 ${PYSITELIB}/django_filters/locale/es_ES/LC_MESSAGES/django.mo
@@ -46,25 +47,39 @@
 ${PYSITELIB}/django_filters/locale/fr/LC_MESSAGES/django.po
 ${PYSITELIB}/django_filters/locale/pl/LC_MESSAGES/django.mo
 ${PYSITELIB}/django_filters/locale/pl/LC_MESSAGES/django.po
+${PYSITELIB}/django_filters/locale/pt_BR/LC_MESSAGES/django.mo
+${PYSITELIB}/django_filters/locale/pt_BR/LC_MESSAGES/django.po
 ${PYSITELIB}/django_filters/locale/ru/LC_MESSAGES/django.mo
 ${PYSITELIB}/django_filters/locale/ru/LC_MESSAGES/django.po
+${PYSITELIB}/django_filters/locale/sk/LC_MESSAGES/django.mo
+${PYSITELIB}/django_filters/locale/sk/LC_MESSAGES/django.po
+${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__.pyo
 ${PYSITELIB}/django_filters/rest_framework/__init__.pyc
+${PYSITELIB}/django_filters/rest_framework/__init__.pyo
+${PYSITELIB}/django_filters/rest_framework/backends.py
+${PYSITELIB}/django_filters/rest_framework/backends.pyc
 ${PYSITELIB}/django_filters/rest_framework/backends.pyo
-${PYSITELIB}/django_filters/rest_framework/backends.pyc
+${PYSITELIB}/django_filters/rest_framework/filters.py
+${PYSITELIB}/django_filters/rest_framework/filters.pyc
 ${PYSITELIB}/django_filters/rest_framework/filters.pyo
-${PYSITELIB}/django_filters/rest_framework/filters.pyc
-${PYSITELIB}/django_filters/rest_framework/filterset.pyo
+${PYSITELIB}/django_filters/rest_framework/filterset.py
 ${PYSITELIB}/django_filters/rest_framework/filterset.pyc
-${PYSITELIB}/django_filters/rest_framework/backends.py
-${PYSITELIB}/django_filters/rest_framework/filters.py
-${PYSITELIB}/django_filters/rest_framework/filterset.py
+${PYSITELIB}/django_filters/rest_framework/filterset.pyo
 ${PYSITELIB}/django_filters/templates/django_filters/rest_framework/crispy_form.html
 ${PYSITELIB}/django_filters/templates/django_filters/rest_framework/form.html
 ${PYSITELIB}/django_filters/templates/django_filters/widgets/multiwidget.html
 ${PYSITELIB}/django_filters/utils.py
+${PYSITELIB}/django_filters/utils.pyc
+${PYSITELIB}/django_filters/utils.pyo
 ${PYSITELIB}/django_filters/views.py
+${PYSITELIB}/django_filters/views.pyc
+${PYSITELIB}/django_filters/views.pyo
 ${PYSITELIB}/django_filters/widgets.py
+${PYSITELIB}/django_filters/widgets.pyc
+${PYSITELIB}/django_filters/widgets.pyo
diff -r 3eaafc7971a9 -r 19d5c07b1670 www/py-django-filter/distinfo
--- a/www/py-django-filter/distinfo     Thu Nov 15 09:21:24 2018 +0000
+++ b/www/py-django-filter/distinfo     Thu Nov 15 09:22:51 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2018/02/02 12:41:30 adam Exp $
+$NetBSD: distinfo,v 1.3 2018/11/15 09:22:51 adam Exp $
 
-SHA1 (django-filter-1.1.0.tar.gz) = 468dc426a935466b37fd454a87220dc4ae4f93d1
-RMD160 (django-filter-1.1.0.tar.gz) = 3c6df0f4b957e85cc7083f623e26f8d5b06b93cc
-SHA512 (django-filter-1.1.0.tar.gz) = edc9d8f9379acfe56cd5170a8a881553d3d1591bba75d12bbc10fb6535165213a90abb8a492facf85b72e81f55c02c3a0dc205d1a84b65ed132f58436f227ae7
-Size (django-filter-1.1.0.tar.gz) = 127831 bytes
+SHA1 (django-filter-2.0.0.tar.gz) = 11a024247cc98d65733c81b0bcf85887648f84fa
+RMD160 (django-filter-2.0.0.tar.gz) = 5a7c3fe6b43e6c2227f76df9d54f8247f34c65fb
+SHA512 (django-filter-2.0.0.tar.gz) = d12edda69f3771de640ed51e6e0dd2cd09c24d30a5dbb4bcf81934b76d804f9a165434f9bdf37ecda3c9a5023b30f5521c525f5afd882609d9bf35e9e26ebba3
+Size (django-filter-2.0.0.tar.gz) = 142039 bytes



Home | Main Index | Thread Index | Old Index