From nobody Tue Jun 27 08:27:50 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QqyWq0zStz4hcmZ; Tue, 27 Jun 2023 08:27:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QqyWp6btcz3hbs; Tue, 27 Jun 2023 08:27:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687854470; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HJ4ltKrJwTDOQ8nue3HAsbeiieTaGNg1QhPA1CczZe8=; b=qSZkLTxBmeeN+2SNTljSxB/XexAtl09+GXUJvtgJ35rkp1WHJfKYjJBG4ubi+psfDCvutv 5L8aUj6eRA/EU0Y9Dx+g+DH7TEkIKtfaEeOdFxtDtmiNeEg6W/rfqGNT0O8WULVdS+yhYy bnaLVT0TeI13izgwzlwPPGFEW1WWlr2PuyBhdm21nL3vS5kdzciLBh4n1HPYjJqI4298vA nkE94Oi4Sr4jYiIhMX2UNsoT6P2M6Iw81qXfPWUPBDgKno2C+7alRAiGmjjRyDRAnXSl1c QqnZkAlV3fAf/o4NmAMRd2NsGFW7bWXjdgBrCJGEYmBYL98byV4hnic3nvaXhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687854470; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HJ4ltKrJwTDOQ8nue3HAsbeiieTaGNg1QhPA1CczZe8=; b=sMDE4kHxumizG/H/qj+Cr49P9bSnF9do/Sb0iLlENftaCPyPlbd1ymoCZTmdtNS1cf+vbZ pK1PkhBc8mQEBTGOr11+8q1qF7wopzJRZCSxvrWiFgYNbn5TAhbb2yIkWxW3ISP2jaQ3OU C/sV9C+fqrhZQhlQrryMjNad0fCRaaryz2A1CDm/uc4TzrjUd3EzIO37L3PvtbxaVOOmVJ TOC9wVZvSHTVplGU0DeXUu3GykDB99ljVMu/70AfLMmTsPpXfpa24/sWkH+WlJZF7aNxtC kyUl2ohT+VgoZR8MvweHusu/Twbdstth9jjPVHVxviASKc9hgNwFU+le5F0cEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687854470; a=rsa-sha256; cv=none; b=uyCDZe4gxqcWvAHnjMK3DjRsWv1XzdzVr0EPSNvP7Yj4YZS5GwrkL58R/YCx72j+MJ7Z65 9/NdogXI6PvBQT605mI1+yuLwX29a4MACeX9qV8xUOLKfk5zhANA8pUxO2Ah3R2BBaA62S 8lXN6jAqNlJBZZzc/3m48VqXEtIzQZhrYNRsQK0LDWIHNTRB2bsiQJ3mqU+phOdqfwQhMb GWrdGJ6vate46NyNUFzRNGL+pVH8rPygthMsVRolSH3RJ/E20i1YbB818D0qaAR82IMh+Q ZbadOGz+QWgIJ+dOjgIVVNRPsziO1ouDnCmWMZh800Uc6ht47BaVIaOHfYh4Pg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QqyWp5VFqzlbn; Tue, 27 Jun 2023 08:27:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35R8RolJ022041; Tue, 27 Jun 2023 08:27:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35R8RoX1022040; Tue, 27 Jun 2023 08:27:50 GMT (envelope-from git) Date: Tue, 27 Jun 2023 08:27:50 GMT Message-Id: <202306270827.35R8RoX1022040@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: 57b280ae7e84 - main - www/py-django-timezone-field: Update to 5.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 57b280ae7e844a5621a2e0ad2cca6ee52501f524 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=57b280ae7e844a5621a2e0ad2cca6ee52501f524 commit 57b280ae7e844a5621a2e0ad2cca6ee52501f524 Author: Kai Knoblich AuthorDate: 2023-06-27 08:26:14 +0000 Commit: Kai Knoblich CommitDate: 2023-06-27 08:26:14 +0000 www/py-django-timezone-field: Update to 5.1 * Switch to PEP-517 build and remove no longer required patch. Changelog: https://github.com/mfogel/django-timezone-field/compare/5.0...5.1 --- www/py-django-timezone-field/Makefile | 7 +++--- www/py-django-timezone-field/distinfo | 6 ++--- .../files/patch-timezone__field_fields.py | 27 ---------------------- 3 files changed, 7 insertions(+), 33 deletions(-) diff --git a/www/py-django-timezone-field/Makefile b/www/py-django-timezone-field/Makefile index cb1dc979990c..fec42e7aebfc 100644 --- a/www/py-django-timezone-field/Makefile +++ b/www/py-django-timezone-field/Makefile @@ -1,9 +1,9 @@ PORTNAME= django-timezone-field -DISTVERSION= 5.0 -PORTREVISION= 2 +DISTVERSION= 5.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= django_timezone_field-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Provides database and form fields for pytz timezone objects for Django @@ -12,11 +12,12 @@ WWW= https://github.com/mfogel/django-timezone-field LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist pep517 NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} diff --git a/www/py-django-timezone-field/distinfo b/www/py-django-timezone-field/distinfo index 8933b4e95c22..d2242caf5e48 100644 --- a/www/py-django-timezone-field/distinfo +++ b/www/py-django-timezone-field/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1645108464 -SHA256 (django-timezone-field-5.0.tar.gz) = 15746ed367a5a32eda76cfa2886eeec1de8cda79f519b7c5e12f87ed7cdbd663 -SIZE (django-timezone-field-5.0.tar.gz) = 11838 +TIMESTAMP = 1687762789 +SHA256 (django_timezone_field-5.1.tar.gz) = 73fc49519273cd5da1c7f16abc04a4bcad87b00cc02968d0d384c0fecf9a8a86 +SIZE (django_timezone_field-5.1.tar.gz) = 11525 diff --git a/www/py-django-timezone-field/files/patch-timezone__field_fields.py b/www/py-django-timezone-field/files/patch-timezone__field_fields.py deleted file mode 100644 index 72b10b78da49..000000000000 --- a/www/py-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 -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