git: a3d05157a485 - main - www/py-dj40-django-timezone-field: Remove expired port:
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 May 2023 10:32:13 UTC
The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=a3d05157a485d578b380b05df3bd1e2262a09836 commit a3d05157a485d578b380b05df3bd1e2262a09836 Author: Rene Ladan <rene@FreeBSD.org> AuthorDate: 2023-05-20 10:31:55 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2023-05-20 10:31:55 +0000 www/py-dj40-django-timezone-field: Remove expired port: 2023-05-20 www/py-dj40-django-timezone-field: Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/ --- MOVED | 1 + www/Makefile | 1 - www/py-dj40-django-timezone-field/Makefile | 34 ---------------------- www/py-dj40-django-timezone-field/distinfo | 3 -- .../files/patch-timezone__field_fields.py | 27 ----------------- www/py-dj40-django-timezone-field/pkg-descr | 1 - 6 files changed, 1 insertion(+), 66 deletions(-) diff --git a/MOVED b/MOVED index f7d720e5f8c6..defc3b6dabb4 100644 --- a/MOVED +++ b/MOVED @@ -7555,3 +7555,4 @@ devel/py-dj40-graphene-django|devel/py-dj41-graphene-django|2023-05-20|Has expir www/py-dj40-django-mptt|www/py-dj41-django-mptt|2023-05-20|Has expired: Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/ www/py-dj40-django-js-asset|www/py-dj41-django-js-asset|2023-05-20|Has expired: Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/ www/py-dj40-django-prometheus|www/py-dj41-django-prometheus|2023-05-20|Has expired: Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/ +www/py-dj40-django-timezone-field|www/py-dj41-django-timezone-field|2023-05-20|Has expired: Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/ diff --git a/www/Makefile b/www/Makefile index 031c46b85de1..48ace9241e16 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1463,7 +1463,6 @@ SUBDIR += py-cssselect SUBDIR += py-cssutils SUBDIR += py-dj-database-url - SUBDIR += py-dj40-django-timezone-field SUBDIR += py-dj40-djangorestframework SUBDIR += py-dj41-django-auth-ldap SUBDIR += py-dj41-django-cors-headers diff --git a/www/py-dj40-django-timezone-field/Makefile b/www/py-dj40-django-timezone-field/Makefile deleted file mode 100644 index 3a84a458d89c..000000000000 --- a/www/py-dj40-django-timezone-field/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -PORTNAME= django-timezone-field -DISTVERSION= 5.0 -PORTREVISION= 1 -CATEGORIES= www python -MASTER_SITES= PYPI -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40- - -MAINTAINER= kai@FreeBSD.org -COMMENT= Provides database and form fields for pytz timezone objects for Django -WWW= https://github.com/mfogel/django-timezone-field - -LICENSE= BSD2CLAUSE -LICENSE_FILE= ${WRKSRC}/LICENSE.txt - -DEPRECATED= Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/ -EXPIRATION_DATE= 2023-05-20 - -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} - -USES= python:3.6+ -USE_PYTHON= distutils autoplist - -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} - -NO_ARCH= yes - -.include <bsd.port.pre.mk> - -.if ${PYTHON_REL} < 30900 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.zoneinfo>=0.2.1<0.3.0:devel/py-backports.zoneinfo@${PY_FLAVOR} -.endif - -.include <bsd.port.post.mk> diff --git a/www/py-dj40-django-timezone-field/distinfo b/www/py-dj40-django-timezone-field/distinfo deleted file mode 100644 index 8933b4e95c22..000000000000 --- a/www/py-dj40-django-timezone-field/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1645108464 -SHA256 (django-timezone-field-5.0.tar.gz) = 15746ed367a5a32eda76cfa2886eeec1de8cda79f519b7c5e12f87ed7cdbd663 -SIZE (django-timezone-field-5.0.tar.gz) = 11838 diff --git a/www/py-dj40-django-timezone-field/files/patch-timezone__field_fields.py b/www/py-dj40-django-timezone-field/files/patch-timezone__field_fields.py deleted file mode 100644 index 72b10b78da49..000000000000 --- a/www/py-dj40-django-timezone-field/files/patch-timezone__field_fields.py +++ /dev/null @@ -1,27 +0,0 @@ -From 0257f2e9c7c488e8a859ee924c93d9f38afa4dc7 Mon Sep 17 00:00:00 2001 -From: jeremystretch <jstretch@ns1.com> -Date: Fri, 12 Aug 2022 10:03:27 -0400 -Subject: [PATCH] Fixes #94: Catch ZoneInfoNotFoundError exception when - populating timezones - -Obtained from: - -https://github.com/mfogel/django-timezone-field/commit/0257f2e9c7c488e8a859ee924c93d9f38afa4dc7 - ---- timezone_field/fields.py.orig 2022-02-09 04:42:10 UTC -+++ timezone_field/fields.py -@@ -38,7 +38,13 @@ class TimeZoneField(models.Field): - # existing migration files will need to be accomodated. - default_max_length = 63 - default_pytz_tzs = [pytz.timezone(tz) for tz in pytz.common_timezones] -- default_zoneinfo_tzs = [ZoneInfo(tz) for tz in pytz.common_timezones] -+ default_zoneinfo_tzs = [] -+ for tz in pytz.common_timezones: -+ try: -+ default_zoneinfo_tzs.append(ZoneInfo(tz)) -+ except ZoneInfoNotFoundError: -+ # ZoneInfo does not yet exist for this timezone -+ pass - - def __init__(self, *args, **kwargs): - # allow some use of positional args up until the args we customize diff --git a/www/py-dj40-django-timezone-field/pkg-descr b/www/py-dj40-django-timezone-field/pkg-descr deleted file mode 100644 index 39bfb6367806..000000000000 --- a/www/py-dj40-django-timezone-field/pkg-descr +++ /dev/null @@ -1 +0,0 @@ -Provides database and form fields for pytz timezone objects for Django.