Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Mar 2022 06:54:11 GMT
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: de39171a542e - main - www/py-dj32-django-timezone-field: Update to 5.0
Message-ID:  <202203080654.2286sBK6000477@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai:

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

commit de39171a542efefad7d5e1357dd8adf8050a90e2
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2022-03-08 06:41:29 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-03-08 06:41:29 +0000

    www/py-dj32-django-timezone-field: Update to 5.0
    
    * Remove obsolete entries from CONFLICTS_INSTALL and no longer required
      REST option.
    
    Changelog:
    
    https://github.com/mfogel/django-timezone-field/tree/5.0#changelog
---
 www/py-dj32-django-timezone-field/Makefile | 18 ++++++++----------
 www/py-dj32-django-timezone-field/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/www/py-dj32-django-timezone-field/Makefile b/www/py-dj32-django-timezone-field/Makefile
index dfb4acf4a8d2..f04c95a3f52a 100644
--- a/www/py-dj32-django-timezone-field/Makefile
+++ b/www/py-dj32-django-timezone-field/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	django-timezone-field
-DISTVERSION=	4.2.3
+DISTVERSION=	5.0
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj32-
@@ -13,19 +13,17 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		python:3.7+
 USE_PYTHON=	distutils autoplist
 
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}dj31-django-timezone-field \
-			${PYTHON_PKGNAMEPREFIX}django-timezone-field
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-timezone-field
 
 NO_ARCH=		yes
 
-OPTIONS_DEFINE=		REST
-OPTIONS_DEFAULT=	REST
+.include <bsd.port.pre.mk>
 
-REST_DESC=	Support for field serialization via REST
+.if ${PYTHON_REL} < 30900
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}backports.zoneinfo>=0.2.1<0.3.0:devel/py-backports.zoneinfo@${PY_FLAVOR}
+.endif
 
-REST_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dj32-djangorestframework>=3.0.0:www/py-dj32-djangorestframework@${PY_FLAVOR}
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/py-dj32-django-timezone-field/distinfo b/www/py-dj32-django-timezone-field/distinfo
index 2f7295a0948b..8933b4e95c22 100644
--- a/www/py-dj32-django-timezone-field/distinfo
+++ b/www/py-dj32-django-timezone-field/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1642506738
-SHA256 (django-timezone-field-4.2.3.tar.gz) = 5dd5bd9249382bef8847d3e7e4c32b7be182a4b538f354130d1252ed228892f8
-SIZE (django-timezone-field-4.2.3.tar.gz) = 8347
+TIMESTAMP = 1645108464
+SHA256 (django-timezone-field-5.0.tar.gz) = 15746ed367a5a32eda76cfa2886eeec1de8cda79f519b7c5e12f87ed7cdbd663
+SIZE (django-timezone-field-5.0.tar.gz) = 11838



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203080654.2286sBK6000477>