git: 2be2e0502e89 - 2024Q2 - net-mgmt/netbox: Update to 3.7.7

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Thu, 02 May 2024 10:57:59 UTC
The branch 2024Q2 has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2be2e0502e897634b15d512937ec3d937506ab81

commit 2be2e0502e897634b15d512937ec3d937506ab81
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-05-02 06:30:52 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-05-02 10:57:23 +0000

    net-mgmt/netbox: Update to 3.7.7
    
    Enhancements:
    * Show usage counts for associated objects on config template list
    * Add Date & DateTime variable types for custom scripts
    * Cache the generated API schema definition for shorter loading times
    
    Bug Fixes:
    * Fix AttributeError exception when editing a cable with only one
      end terminated
    * Fix row highlighting for device interface list display
    * Fix "mark" button tooltip on button activation for device interface
      list display
    * Fix SVG drawing error on multiple termination trace with multiple
      devices
    * Fix random interface swap when performing cable trace with multiple
      termination
    * Fix NoReverseMatch exception when viewing an event rule which
      references a deleted custom script
    * Fix rounding error when reporting IP range utilization
    * Ignore many-to-many mappings when checking dependencies of an object
      being deleted
    * Avoid extraneous database queries when fetching assigned IP addresses
      via REST API
    * BANNER_MAINTENANCE content should permit custom HTML
    * Ensure deterministic ordering for scripts & reports
    * Fix retention of default value when editing a custom JSON field
    * Fix exception when enabling the tags column on the L2VPN terminations
      table
    
    Changelog:
    
    https://github.com/netbox-community/netbox/releases/tag/v3.7.7
    
    MFH:            2024Q2
    (cherry picked from commit 85488086124e17afcdf1b61d2c51bc4aa6381dca)
---
 net-mgmt/netbox/Makefile  | 8 ++++----
 net-mgmt/netbox/distinfo  | 6 +++---
 net-mgmt/netbox/pkg-plist | 1 +
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/net-mgmt/netbox/Makefile b/net-mgmt/netbox/Makefile
index dc32398c2d77..bbdc071808dc 100644
--- a/net-mgmt/netbox/Makefile
+++ b/net-mgmt/netbox/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	netbox
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.7.6
+DISTVERSION=	3.7.7
 CATEGORIES=	net-mgmt python
 
 MAINTAINER=	kai@FreeBSD.org
@@ -38,7 +38,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django42>=4.2.11<4.3:www/py-django42@${PY_FL
 		${PYTHON_PKGNAMEPREFIX}dj42-django-timezone-field>=6.1.0<7:www/py-dj42-django-timezone-field@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj42-djangorestframework>=3.14.0<3.15.0:www/py-dj42-djangorestframework@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj42-drf-spectacular>=0.27.2<1:www/py-dj42-drf-spectacular@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dj42-drf-spectacular-sidecar>=2024.4.1:www/py-dj42-drf-spectacular-sidecar@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dj42-drf-spectacular-sidecar>=2024.5.1:www/py-dj42-drf-spectacular-sidecar@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj42-graphene-django>=3.0.0<3.0.0_99:devel/py-dj42-graphene-django@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}django-pglocks>=1.0.4<1.1:www/py-django-pglocks@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}bleach>=6.1.0<7:www/py-bleach@${PY_FLAVOR} \
@@ -46,13 +46,13 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django42>=4.2.11<4.3:www/py-django42@${PY_FL
 		${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.3<4:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}markdown>=3.5.2<3.7:textproc/py-markdown@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mkdocs-material>=9.5.18<10:textproc/py-mkdocs-material@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}mkdocstrings>=0.24.3<1:textproc/py-mkdocstrings@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mkdocstrings>=0.25.0<1:textproc/py-mkdocstrings@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mkdocstrings-python-legacy>0:textproc/py-mkdocstrings-python-legacy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}netaddr>=1.2.1<2:net/py-netaddr@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pillow>=10.3.0:graphics/py-pillow@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}psycopg>=3.1.18<4:databases/py-psycopg@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.31.0<3:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}social-auth-app-django>=5.4.0<6:www/py-social-auth-app-django@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}social-auth-app-django>=5.4.1<6:www/py-social-auth-app-django@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}social-auth-core>=4.5.3<5:security/py-social-auth-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}svgwrite>=1.4.3<2:graphics/py-svgwrite@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tablib>=3.6.1<4:textproc/py-tablib@${PY_FLAVOR} \
diff --git a/net-mgmt/netbox/distinfo b/net-mgmt/netbox/distinfo
index a4719429f130..9ce1528ee8a3 100644
--- a/net-mgmt/netbox/distinfo
+++ b/net-mgmt/netbox/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1713844612
-SHA256 (netbox-community-netbox-v3.7.6_GH0.tar.gz) = 8098a29cc08888c97bad2f692b53fd522c9ebef71305675beb0a28d0a6da0fb7
-SIZE (netbox-community-netbox-v3.7.6_GH0.tar.gz) = 9324360
+TIMESTAMP = 1714600073
+SHA256 (netbox-community-netbox-v3.7.7_GH0.tar.gz) = edaac4de4b496cd284d21156d61d11ab25e7cadfe72427778c1d6c33ef876ccf
+SIZE (netbox-community-netbox-v3.7.7_GH0.tar.gz) = 9325767
diff --git a/net-mgmt/netbox/pkg-plist b/net-mgmt/netbox/pkg-plist
index 3017b3f39d20..9c1670dfbdc9 100644
--- a/net-mgmt/netbox/pkg-plist
+++ b/net-mgmt/netbox/pkg-plist
@@ -1023,6 +1023,7 @@
 %%DATADIR%%/templates/dcim/devicetype/base.html
 %%DATADIR%%/templates/dcim/devicetype/component_templates.html
 %%DATADIR%%/templates/dcim/frontport.html
+%%DATADIR%%/templates/dcim/htmx/cable_edit.html
 %%DATADIR%%/templates/dcim/inc/cable_termination.html
 %%DATADIR%%/templates/dcim/inc/cable_toggle_buttons.html
 %%DATADIR%%/templates/dcim/inc/connection_endpoints.html