Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-django-import-export py-django-import-export: u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f2c690e2dca
branches:  trunk
changeset: 431971:0f2c690e2dca
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun May 17 21:30:53 2020 +0000

description:
py-django-import-export: updated to 2.1.0

2.1.0:
Fix DurationWidget handling of zero value
Make import diff view only show headers for user visible fields
Make confirm_form accessible in get_import_resource_kwargs and get_import_data_kwargs
Initialize Decimal with text value
Adds meta flag ‘skip_diff’ to enable skipping of diff operations
Update docs

2.0.2:
Add support for tablib >= 1.0
Add ability to install a subset of tablib supported formats and save some automatic dependency installations (needs tablib >= 1.0)
Use column_name when checking row for fields

2.0.1:
Fix deprecated Django 3.0 function usage
Pin tablib version to not use new major version
Format field is always shown on Django 2.2

2.0:
[django2.2] Add real support of Django 2.2 before 3.0 is out
fix: DateTimeWidget not timezone sensitive
Move actions definition to ExportActionMixin
Add language support: Turkish
Fix exception import for Django 3
Fix potential header / row column mismatches for invalid rows in…
Assume user is importing new data if id fields not included
Fix bug with spaces in export filename, pass request and queryset
Simplify Django version in TravisCI
Align error in rtl mode
Add dutch translations
Add 3.8-dev to travis ci
Fix style in getting_started docs
Update documentation to show that mixins must be referenced before admin.ModelAdmin.
JSONWidget updated with null value fix
Import rows have background color
Use resource get_queryset in ModelInstanceLoader
Simplify coerce to text type
More flexibility in ConfirmImportForm, forms and resource kwargs
Add JSON B type field mapping
Scale back stale bot’s time-to-stale
test: explicitly order qs in ManyToManyWidget
Add mysql to travis
Expand doc strings to include Mixin superclasses
Remove python2 compatibility decorator
chore: fix Imports are incorrectly sorted.
Use global env vars for postgres
Used non-fixed id for test. Database is not torn down after each run, which means that the id is incrementing
Fix warning from assertEquals
Add psycopg2 as postgres driver to test requirements
Add django version to the matrix
Add matrix for sqlite and postgres testing
Correct mistaken assertTrue() -> assertEquals()
chore: add package long_description
chore: add python wheels to dev requirements
Add github directory with PR and issue templates
Isort all the things
Use coveralls master branch tag in the readme
Remove support for Django < 2.0 and Python < 3.5

diffstat:

 www/py-django-import-export/Makefile |  10 ++++++----
 www/py-django-import-export/PLIST    |  12 +++++-------
 www/py-django-import-export/distinfo |  10 +++++-----
 3 files changed, 16 insertions(+), 16 deletions(-)

diffs (87 lines):

diff -r f04309c4a4fd -r 0f2c690e2dca www/py-django-import-export/Makefile
--- a/www/py-django-import-export/Makefile      Sun May 17 21:26:46 2020 +0000
+++ b/www/py-django-import-export/Makefile      Sun May 17 21:30:53 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2019/01/10 09:26:32 adam Exp $
+# $NetBSD: Makefile,v 1.9 2020/05/17 21:30:53 adam Exp $
 
-DISTNAME=      django-import-export-1.2.0
+DISTNAME=      django-import-export-2.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/django-import-export/}
@@ -11,10 +11,12 @@
 LICENSE=       modified-bsd
 
 DEPENDS+=      ${PYPKGPREFIX}-diff-match-patch-[0-9]*:../../textproc/py-diff-match-patch
-DEPENDS+=      ${PYPKGPREFIX}-django-[0-9]*:../../www/py-django
-DEPENDS+=      ${PYPKGPREFIX}-tablib>=0.9:../../textproc/py-tablib
+DEPENDS+=      ${PYPKGPREFIX}-django>=2.0:../../www/py-django
+DEPENDS+=      ${PYPKGPREFIX}-tablib>=0.14.0:../../textproc/py-tablib
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f04309c4a4fd -r 0f2c690e2dca www/py-django-import-export/PLIST
--- a/www/py-django-import-export/PLIST Sun May 17 21:26:46 2020 +0000
+++ b/www/py-django-import-export/PLIST Sun May 17 21:30:53 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2019/01/10 09:26:32 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2020/05/17 21:30:53 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -11,9 +11,6 @@
 ${PYSITELIB}/import_export/admin.py
 ${PYSITELIB}/import_export/admin.pyc
 ${PYSITELIB}/import_export/admin.pyo
-${PYSITELIB}/import_export/django_compat.py
-${PYSITELIB}/import_export/django_compat.pyc
-${PYSITELIB}/import_export/django_compat.pyo
 ${PYSITELIB}/import_export/exceptions.py
 ${PYSITELIB}/import_export/exceptions.pyc
 ${PYSITELIB}/import_export/exceptions.pyo
@@ -52,6 +49,8 @@
 ${PYSITELIB}/import_export/locale/it/LC_MESSAGES/django.po
 ${PYSITELIB}/import_export/locale/ja/LC_MESSAGES/django.mo
 ${PYSITELIB}/import_export/locale/ja/LC_MESSAGES/django.po
+${PYSITELIB}/import_export/locale/nl/LC_MESSAGES/django.mo
+${PYSITELIB}/import_export/locale/nl/LC_MESSAGES/django.po
 ${PYSITELIB}/import_export/locale/pl/LC_MESSAGES/django.mo
 ${PYSITELIB}/import_export/locale/pl/LC_MESSAGES/django.po
 ${PYSITELIB}/import_export/locale/pt_BR/LC_MESSAGES/django.mo
@@ -60,14 +59,13 @@
 ${PYSITELIB}/import_export/locale/ru/LC_MESSAGES/django.po
 ${PYSITELIB}/import_export/locale/sk/LC_MESSAGES/django.mo
 ${PYSITELIB}/import_export/locale/sk/LC_MESSAGES/django.po
+${PYSITELIB}/import_export/locale/tr/LC_MESSAGES/django.mo
+${PYSITELIB}/import_export/locale/tr/LC_MESSAGES/django.po
 ${PYSITELIB}/import_export/locale/zh_Hans/LC_MESSAGES/django.mo
 ${PYSITELIB}/import_export/locale/zh_Hans/LC_MESSAGES/django.po
 ${PYSITELIB}/import_export/mixins.py
 ${PYSITELIB}/import_export/mixins.pyc
 ${PYSITELIB}/import_export/mixins.pyo
-${PYSITELIB}/import_export/models.py
-${PYSITELIB}/import_export/models.pyc
-${PYSITELIB}/import_export/models.pyo
 ${PYSITELIB}/import_export/resources.py
 ${PYSITELIB}/import_export/resources.pyc
 ${PYSITELIB}/import_export/resources.pyo
diff -r f04309c4a4fd -r 0f2c690e2dca www/py-django-import-export/distinfo
--- a/www/py-django-import-export/distinfo      Sun May 17 21:26:46 2020 +0000
+++ b/www/py-django-import-export/distinfo      Sun May 17 21:30:53 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2019/01/10 09:26:32 adam Exp $
+$NetBSD: distinfo,v 1.9 2020/05/17 21:30:53 adam Exp $
 
-SHA1 (django-import-export-1.2.0.tar.gz) = 668e7922c19744ed365bc6ab2de74468b645cd8f
-RMD160 (django-import-export-1.2.0.tar.gz) = e8576d050141c3bf79dba35ec44ff2f6c14ee5bd
-SHA512 (django-import-export-1.2.0.tar.gz) = 7ec01ed045b6064cc29a3ef17edd74b12e64cac9340618f5f2347f14b0f3a1250b6f1110a6c789bcaa17bd680d832c43a8e6ba230f929b9ad29406111ca81f07
-Size (django-import-export-1.2.0.tar.gz) = 41850 bytes
+SHA1 (django-import-export-2.1.0.tar.gz) = cccda599f4077b4bf0ec390055b73673f963a4bf
+RMD160 (django-import-export-2.1.0.tar.gz) = ca1a908a574b4546983fc6e057ecae98ad20eb5d
+SHA512 (django-import-export-2.1.0.tar.gz) = 6e592749886d3703e8e6f6bdfd98435cc4384186d61d84e5c7a518c22d05c43a6cb101310a9fbddaa5e9b6a285b45f057dd2145b76b13f3a5222a8e271c0fb3a
+Size (django-import-export-2.1.0.tar.gz) = 45407 bytes


Home | Main Index | Thread Index | Old Index