From nobody Thu Sep 28 06:04:04 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 4Rx2x02xwJz4vbP5; Thu, 28 Sep 2023 06:04:04 +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 4Rx2x02X4Xz4JBM; Thu, 28 Sep 2023 06:04:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695881044; 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=/MbgQI/trkVb+BQq3rEWex8AQcXg+eK6m8x+/A5zFt8=; b=jNPkpylVYlsHqh0+irYJfpJ9pPYVL+71OT+cQ0i8mgX4Y8K6wMrIYsXh10MGjfnoLVnRSS VtvKead/wp2YNPTs2e4/w/RJv2RPrgw8E457O6rmIBDAN4LGxh1xnIf/As1ssGkHyiYz6+ Zxalco+vNj+vSiE6Q3DcaCb+UIhfb/GZjlJRu/weypCpD6awuotd7LMTYd0r6w4zi8bU9/ 2JgpJGJMO6hqDK3cRjxMwucZWsArPYWBqFFAnRIoIGgPh3KTf0pKWgvaX2gnNTUa7wqmhz OBv8iOaFv3vH56b94c6fXIdJ0mRiAc5jmo4PNi0NxGcgf/ruYilGPV9mVIXNUw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695881044; a=rsa-sha256; cv=none; b=gqC1KeehBzwUSzsnTuSlgKicjOM2ktQG9fb1NB4dChVJr5zjGU6CJ3oujQ4yS1TFL1T5lK kVmakqhRLxGudYkqWp72mw1PCVol85CpmKjd1+fAB3/jyHonULpQlzTK28PuJyTFzFw+Xi JSc3E5nU/1E5tbF98iKYVd6c6FYadEQY56jQChnb4MQPfZHQ+UOLTAkshhRN8HCokhzbEM jM7cOeUTf73m2EL3BiZpH2mRZOSv66lUwYZ0DEzbdFbZcNkCx5RqbOp8pxnzXDF0h/P/1v Az4Cp+0O9DEqt4uKsEwmkatQaUVSq461/9/Ok2/8DIMpG3ilodweRtvh0s1nQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695881044; 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=/MbgQI/trkVb+BQq3rEWex8AQcXg+eK6m8x+/A5zFt8=; b=e0r7YxmFU0kfBIVIq6z8Z2YuSt3hQ71yRQ4c/OOGfxkUyvS/5YESmWO0QTJPUqYLWrzG7x ivTFYDjXmsVVaaAXwWM9MifCud8sksZPFR7uJrL17+6EnLvuiXudpXtjcrsCCNTnfSR632 A4Safk21GAYDcGbEgilCNazLfoSutv7gJGc4CebKuzakRACiSc06PpjAXwgJ+0kcVkXeW3 DM0nFCW8A8Ic506m7gaRcjdoI3ck7yi8VPylupdrjqx0e9lMtItYj7CSs7rSBwXcU/3s09 x5M6huGM+wb/SXiFHuYSPRFTcZrPRy7A6TcFFmN2WLpAZmEyuwq04+7QWd0RXA== 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 4Rx2x01Ltlz19HW; Thu, 28 Sep 2023 06:04:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38S644iC040560; Thu, 28 Sep 2023 06:04:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38S6449X040557; Thu, 28 Sep 2023 06:04:04 GMT (envelope-from git) Date: Thu, 28 Sep 2023 06:04:04 GMT Message-Id: <202309280604.38S6449X040557@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: c5de4f1063be - main - www/py-django-timezone-field: Update to 6.0.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: c5de4f1063be4f8286b30805ab72ff919b1b03bf Auto-Submitted: auto-generated The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=c5de4f1063be4f8286b30805ab72ff919b1b03bf commit c5de4f1063be4f8286b30805ab72ff919b1b03bf Author: Kai Knoblich AuthorDate: 2023-09-28 05:59:23 +0000 Commit: Kai Knoblich CommitDate: 2023-09-28 05:59:23 +0000 www/py-django-timezone-field: Update to 6.0.1 Changelog since 5.1: https://github.com/mfogel/django-timezone-field/compare/5.1...6.0.1 --- www/py-django-timezone-field/Makefile | 5 ++--- www/py-django-timezone-field/distinfo | 6 +++--- .../files/patch-timezone__field_backends_zoneinfo.py | 16 ++++++++++++++++ 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/www/py-django-timezone-field/Makefile b/www/py-django-timezone-field/Makefile index 77a3e19c2d47..a22f6014f907 100644 --- a/www/py-django-timezone-field/Makefile +++ b/www/py-django-timezone-field/Makefile @@ -1,5 +1,5 @@ PORTNAME= django-timezone-field -DISTVERSION= 5.1 +DISTVERSION= 6.0.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,8 +13,7 @@ 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} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR} USES= python USE_PYTHON= autoplist pep517 diff --git a/www/py-django-timezone-field/distinfo b/www/py-django-timezone-field/distinfo index d2242caf5e48..3a0f44384d78 100644 --- a/www/py-django-timezone-field/distinfo +++ b/www/py-django-timezone-field/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1687762789 -SHA256 (django_timezone_field-5.1.tar.gz) = 73fc49519273cd5da1c7f16abc04a4bcad87b00cc02968d0d384c0fecf9a8a86 -SIZE (django_timezone_field-5.1.tar.gz) = 11525 +TIMESTAMP = 1695271112 +SHA256 (django_timezone_field-6.0.1.tar.gz) = 916d0fd924443462f099f02122cc38d6a6e901ea17f1206c343836199df8bc49 +SIZE (django_timezone_field-6.0.1.tar.gz) = 12190 diff --git a/www/py-django-timezone-field/files/patch-timezone__field_backends_zoneinfo.py b/www/py-django-timezone-field/files/patch-timezone__field_backends_zoneinfo.py new file mode 100644 index 000000000000..e9946f5b270c --- /dev/null +++ b/www/py-django-timezone-field/files/patch-timezone__field_backends_zoneinfo.py @@ -0,0 +1,16 @@ +Remove the "Factory" timezone as it causes following error if the system +zoneinfo data is used: + +ValueError: Invalid STD format in b'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)