pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-django-debug-toolbar py-django-debug-toolbar: u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ef00a2d4c76
branches:  trunk
changeset: 389065:0ef00a2d4c76
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 29 20:41:28 2022 +0000

description:
py-django-debug-toolbar: updated to 3.7.0

3.7.0 (2022-09-25)

Added Profiling panel setting PROFILER_THRESHOLD_RATIO to give users better control over how many function calls are included. A higher value will include more data, but increase render time.

Update Profiling panel to include try to always include user code. This code is more important to developers than dependency code.

Highlight the project function calls in the profiling panel.

Added Profiling panel setting PROFILER_CAPTURE_PROJECT_CODE to allow users to disable the inclusion of all project code. This will be useful to project setups that have dependencies installed under 
settings.BASE_DIR.

The toolbar’s font stack now prefers system UI fonts. Tweaked paddings, margins and alignments a bit in the CSS code.

Only sort the session dictionary when the keys are all strings. Fixes a bug that causes the toolbar to crash when non-strings are used as keys.

3.6.0 (2022-08-17)

Remove decorator signed_data_view as it was causing issues with django-urlconfchecks.

Added pygments to the test environment and fixed a crash when using the template panel with Django 4.1 and pygments installed.

Stayed on top of pre-commit hook and GitHub actions updates.

Added some workarounds to avoid a Chromium warning which was worrisome to developers.

Avoided using deprecated Selenium methods to find elements.

Raised the minimum Django version from 3.2 to 3.2.4 so that we can take advantage of backported improvements to the cache connection handler.

diffstat:

 www/py-django-debug-toolbar/Makefile |  19 +++---------
 www/py-django-debug-toolbar/PLIST    |  53 +++++++++++++++++++++++++----------
 www/py-django-debug-toolbar/distinfo |   9 ++---
 3 files changed, 46 insertions(+), 35 deletions(-)

diffs (172 lines):

diff -r dcb65e050515 -r 0ef00a2d4c76 www/py-django-debug-toolbar/Makefile
--- a/www/py-django-debug-toolbar/Makefile      Tue Nov 29 20:36:28 2022 +0000
+++ b/www/py-django-debug-toolbar/Makefile      Tue Nov 29 20:41:28 2022 +0000
@@ -1,30 +1,21 @@
-# $NetBSD: Makefile,v 1.3 2022/08/24 09:25:57 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/11/29 20:41:28 adam Exp $
 
-DISTNAME=      django-debug-toolbar-2.2
+DISTNAME=      django-debug-toolbar-3.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    www python
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=jazzband/}
+MASTER_SITES=  ${MASTER_SITE_PYPI:=d/django-debug-toolbar/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/jazzband/django-debug-toolbar
 COMMENT=       Debugging toolbar for Django
 LICENSE=       modified-bsd
 
-GITHUB_PROJECT=        django-debug-toolbar
-GITHUB_TAG=    ${PKGVERSION_NOREV}
-
 DEPENDS+=      ${PYPKGPREFIX}-sqlparse>=0.2.0:../../databases/py-sqlparse
-DEPENDS+=      ${PYPKGPREFIX}-django>=1.11:../../www/py-django
+DEPENDS+=      ${PYPKGPREFIX}-django>=3.2.4:../../www/py-django3
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONED_DEPENDENCIES+=        coverage:test
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-do-test:
-       cd ${WRKSRC} && ${PREFIX}/bin/coverage-${PYVERSSUFFIX} \
-           run -m django test --settings=tests.settings
-
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r dcb65e050515 -r 0ef00a2d4c76 www/py-django-debug-toolbar/PLIST
--- a/www/py-django-debug-toolbar/PLIST Tue Nov 29 20:36:28 2022 +0000
+++ b/www/py-django-debug-toolbar/PLIST Tue Nov 29 20:41:28 2022 +0000
@@ -1,4 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2020/08/06 12:02:30 joerg Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/11/29 20:41:28 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}/debug_toolbar/__init__.py
 ${PYSITELIB}/debug_toolbar/__init__.pyc
 ${PYSITELIB}/debug_toolbar/__init__.pyo
@@ -8,6 +14,9 @@
 ${PYSITELIB}/debug_toolbar/decorators.py
 ${PYSITELIB}/debug_toolbar/decorators.pyc
 ${PYSITELIB}/debug_toolbar/decorators.pyo
+${PYSITELIB}/debug_toolbar/forms.py
+${PYSITELIB}/debug_toolbar/forms.pyc
+${PYSITELIB}/debug_toolbar/forms.pyo
 ${PYSITELIB}/debug_toolbar/locale/ca/LC_MESSAGES/django.mo
 ${PYSITELIB}/debug_toolbar/locale/ca/LC_MESSAGES/django.po
 ${PYSITELIB}/debug_toolbar/locale/cs/LC_MESSAGES/django.mo
@@ -18,6 +27,8 @@
 ${PYSITELIB}/debug_toolbar/locale/en/LC_MESSAGES/django.po
 ${PYSITELIB}/debug_toolbar/locale/es/LC_MESSAGES/django.mo
 ${PYSITELIB}/debug_toolbar/locale/es/LC_MESSAGES/django.po
+${PYSITELIB}/debug_toolbar/locale/fa/LC_MESSAGES/django.mo
+${PYSITELIB}/debug_toolbar/locale/fa/LC_MESSAGES/django.po
 ${PYSITELIB}/debug_toolbar/locale/fi/LC_MESSAGES/django.mo
 ${PYSITELIB}/debug_toolbar/locale/fi/LC_MESSAGES/django.po
 ${PYSITELIB}/debug_toolbar/locale/fr/LC_MESSAGES/django.mo
@@ -28,6 +39,8 @@
 ${PYSITELIB}/debug_toolbar/locale/id/LC_MESSAGES/django.po
 ${PYSITELIB}/debug_toolbar/locale/it/LC_MESSAGES/django.mo
 ${PYSITELIB}/debug_toolbar/locale/it/LC_MESSAGES/django.po
+${PYSITELIB}/debug_toolbar/locale/ja/LC_MESSAGES/django.mo
+${PYSITELIB}/debug_toolbar/locale/ja/LC_MESSAGES/django.po
 ${PYSITELIB}/debug_toolbar/locale/nl/LC_MESSAGES/django.mo
 ${PYSITELIB}/debug_toolbar/locale/nl/LC_MESSAGES/django.po
 ${PYSITELIB}/debug_toolbar/locale/pl/LC_MESSAGES/django.mo
@@ -67,6 +80,18 @@
 ${PYSITELIB}/debug_toolbar/panels/headers.py
 ${PYSITELIB}/debug_toolbar/panels/headers.pyc
 ${PYSITELIB}/debug_toolbar/panels/headers.pyo
+${PYSITELIB}/debug_toolbar/panels/history/__init__.py
+${PYSITELIB}/debug_toolbar/panels/history/__init__.pyc
+${PYSITELIB}/debug_toolbar/panels/history/__init__.pyo
+${PYSITELIB}/debug_toolbar/panels/history/forms.py
+${PYSITELIB}/debug_toolbar/panels/history/forms.pyc
+${PYSITELIB}/debug_toolbar/panels/history/forms.pyo
+${PYSITELIB}/debug_toolbar/panels/history/panel.py
+${PYSITELIB}/debug_toolbar/panels/history/panel.pyc
+${PYSITELIB}/debug_toolbar/panels/history/panel.pyo
+${PYSITELIB}/debug_toolbar/panels/history/views.py
+${PYSITELIB}/debug_toolbar/panels/history/views.pyc
+${PYSITELIB}/debug_toolbar/panels/history/views.pyo
 ${PYSITELIB}/debug_toolbar/panels/logging.py
 ${PYSITELIB}/debug_toolbar/panels/logging.pyc
 ${PYSITELIB}/debug_toolbar/panels/logging.pyo
@@ -126,29 +151,28 @@
 ${PYSITELIB}/debug_toolbar/settings.pyo
 ${PYSITELIB}/debug_toolbar/static/debug_toolbar/css/print.css
 ${PYSITELIB}/debug_toolbar/static/debug_toolbar/css/toolbar.css
-${PYSITELIB}/debug_toolbar/static/debug_toolbar/img/ajax-loader.gif
-${PYSITELIB}/debug_toolbar/static/debug_toolbar/img/back.png
-${PYSITELIB}/debug_toolbar/static/debug_toolbar/img/back_hover.png
-${PYSITELIB}/debug_toolbar/static/debug_toolbar/img/close.png
-${PYSITELIB}/debug_toolbar/static/debug_toolbar/img/close_hover.png
-${PYSITELIB}/debug_toolbar/static/debug_toolbar/img/djdt_vertical.png
-${PYSITELIB}/debug_toolbar/static/debug_toolbar/img/indicator.png
+${PYSITELIB}/debug_toolbar/static/debug_toolbar/js/history.js
 ${PYSITELIB}/debug_toolbar/static/debug_toolbar/js/redirect.js
+${PYSITELIB}/debug_toolbar/static/debug_toolbar/js/timer.js
 ${PYSITELIB}/debug_toolbar/static/debug_toolbar/js/toolbar.js
-${PYSITELIB}/debug_toolbar/static/debug_toolbar/js/toolbar.timer.js
+${PYSITELIB}/debug_toolbar/static/debug_toolbar/js/utils.js
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/base.html
+${PYSITELIB}/debug_toolbar/templates/debug_toolbar/includes/panel_button.html
+${PYSITELIB}/debug_toolbar/templates/debug_toolbar/includes/panel_content.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/cache.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/headers.html
+${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/history.html
+${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/history_tr.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/logging.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/profiling.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/request.html
+${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/request_variables.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/settings.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/signals.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/sql.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/sql_profile.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/sql_select.html
-${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/sql_stacktrace.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/staticfiles.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/template_source.html
 ${PYSITELIB}/debug_toolbar/templates/debug_toolbar/panels/templates.html
@@ -161,15 +185,12 @@
 ${PYSITELIB}/debug_toolbar/toolbar.py
 ${PYSITELIB}/debug_toolbar/toolbar.pyc
 ${PYSITELIB}/debug_toolbar/toolbar.pyo
+${PYSITELIB}/debug_toolbar/urls.py
+${PYSITELIB}/debug_toolbar/urls.pyc
+${PYSITELIB}/debug_toolbar/urls.pyo
 ${PYSITELIB}/debug_toolbar/utils.py
 ${PYSITELIB}/debug_toolbar/utils.pyc
 ${PYSITELIB}/debug_toolbar/utils.pyo
 ${PYSITELIB}/debug_toolbar/views.py
 ${PYSITELIB}/debug_toolbar/views.pyc
 ${PYSITELIB}/debug_toolbar/views.pyo
-${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
diff -r dcb65e050515 -r 0ef00a2d4c76 www/py-django-debug-toolbar/distinfo
--- a/www/py-django-debug-toolbar/distinfo      Tue Nov 29 20:36:28 2022 +0000
+++ b/www/py-django-debug-toolbar/distinfo      Tue Nov 29 20:41:28 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 11:30:31 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/11/29 20:41:28 adam Exp $
 
-BLAKE2s (django-debug-toolbar-2.2.tar.gz) = 28ce6970629cb2f8904f126ed75f14ab16ebd9c085697e442785f9cd575cab44
-SHA512 (django-debug-toolbar-2.2.tar.gz) = 5cd9e50852bd7efeb83879c5e9fe10fe6df5087b746e9cb2a0e13e66b3fe0a815a6eaea4b273258e7e682149bc29ad8979268d2be263539c522624e3f16aa5f5
-Size (django-debug-toolbar-2.2.tar.gz) = 322475 bytes
-SHA1 (patch-setup.py) = 07dcd39f3b812803db5a7f59808f103e821c2b07
+BLAKE2s (django-debug-toolbar-3.7.0.tar.gz) = df7bf873ac0c7a4d114b2793a29f8bf0e2a9a0c8c67a6eba051482e9390429bd
+SHA512 (django-debug-toolbar-3.7.0.tar.gz) = ca5a612efb2202d4da3f92b70d40e232d5e466482c025cb7b98f6c69078c6daf4228dfb415270b1020baf14e35a634c62c19ee2041e093c4f17ee22d04c35dda
+Size (django-debug-toolbar-3.7.0.tar.gz) = 133244 bytes


Home | Main Index | Thread Index | Old Index