git: 71450ba3daee - main - www/py-dj42-django-timezone-field: Update to 6.1.0

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Fri, 01 Dec 2023 12:49:30 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=71450ba3daee0fe719e7b5c0c8e7998a7a95cbba

commit 71450ba3daee0fe719e7b5c0c8e7998a7a95cbba
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-12-01 12:46:42 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-12-01 12:46:42 +0000

    www/py-dj42-django-timezone-field: Update to 6.1.0
    
    www/py-dj42-django-timezone-field: Update to 6.1.0
    
    * Remove no longer required patch that has been merged by upstream.
    
    Changelog:
    
    https://github.com/mfogel/django-timezone-field/compare/6.0.1...6.1.0
    
    MFH:            2023Q4
---
 www/py-dj42-django-timezone-field/Makefile               |  2 +-
 www/py-dj42-django-timezone-field/distinfo               |  6 +++---
 .../files/patch-timezone__field_backends_zoneinfo.py     | 16 ----------------
 3 files changed, 4 insertions(+), 20 deletions(-)

diff --git a/www/py-dj42-django-timezone-field/Makefile b/www/py-dj42-django-timezone-field/Makefile
index 05d9b9415846..a46dfd30e198 100644
--- a/www/py-dj42-django-timezone-field/Makefile
+++ b/www/py-dj42-django-timezone-field/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	django-timezone-field
-DISTVERSION=	6.0.1
+DISTVERSION=	6.1.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj42-
diff --git a/www/py-dj42-django-timezone-field/distinfo b/www/py-dj42-django-timezone-field/distinfo
index 3a0f44384d78..e869293be2be 100644
--- a/www/py-dj42-django-timezone-field/distinfo
+++ b/www/py-dj42-django-timezone-field/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1695271112
-SHA256 (django_timezone_field-6.0.1.tar.gz) = 916d0fd924443462f099f02122cc38d6a6e901ea17f1206c343836199df8bc49
-SIZE (django_timezone_field-6.0.1.tar.gz) = 12190
+TIMESTAMP = 1701327029
+SHA256 (django_timezone_field-6.1.0.tar.gz) = d40f7059d7bae4075725d04a9dae601af9fe3c7f0119a69b0e2c6194a782f797
+SIZE (django_timezone_field-6.1.0.tar.gz) = 12430
diff --git a/www/py-dj42-django-timezone-field/files/patch-timezone__field_backends_zoneinfo.py b/www/py-dj42-django-timezone-field/files/patch-timezone__field_backends_zoneinfo.py
deleted file mode 100644
index e9946f5b270c..000000000000
--- a/www/py-dj42-django-timezone-field/files/patch-timezone__field_backends_zoneinfo.py
+++ /dev/null
@@ -1,16 +0,0 @@
-Remove the "Factory" timezone as it causes following error if the system
-zoneinfo data is used:
-
-ValueError: Invalid STD format in b'<Local time zone must be set--use tzsetup>0'
-
---- timezone_field/backends/zoneinfo.py.orig	2023-09-09 10:35:09 UTC
-+++ timezone_field/backends/zoneinfo.py
-@@ -10,6 +10,8 @@ class ZoneInfoBackend(TimeZoneBackend):
-     utc_tzobj = zoneinfo.ZoneInfo("UTC")
-     all_tzstrs = zoneinfo.available_timezones()
-     base_tzstrs = zoneinfo.available_timezones()
-+    all_tzstrs.discard("Factory")
-+    base_tzstrs.discard("Factory")
- 
-     def is_tzobj(self, value):
-         return isinstance(value, zoneinfo.ZoneInfo)