Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Mar 2022 06:54:13 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: fe7c38bf14ba - main - www/py-django-timezone-field: Update to 5.0
Message-ID:  <202203080654.2286sD7Y000527@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=fe7c38bf14ba81029568cb72d3dcbd6d486b192f

commit fe7c38bf14ba81029568cb72d3dcbd6d486b192f
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2022-03-08 06:44:02 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-03-08 06:44:02 +0000

    www/py-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-django-timezone-field/Makefile | 18 ++++++++----------
 www/py-django-timezone-field/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/www/py-django-timezone-field/Makefile b/www/py-django-timezone-field/Makefile
index cabf992d0359..abe7320733ce 100644
--- a/www/py-django-timezone-field/Makefile
+++ b/www/py-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}
@@ -13,18 +13,16 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django22>=2.2:www/py-django22@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
 
-USES=		python:3.5+
+USES=		python:3.7+
 USE_PYTHON=	distutils autoplist
 
 NO_ARCH=		yes
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}dj31-django-timezone-field \
-			${PYTHON_PKGNAMEPREFIX}dj32-django-timezone-field
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}dj32-django-timezone-field
 
-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}djangorestframework>=3.0.0,1:www/py-djangorestframework@${PY_FLAVOR}
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/py-django-timezone-field/distinfo b/www/py-django-timezone-field/distinfo
index 2f7295a0948b..8933b4e95c22 100644
--- a/www/py-django-timezone-field/distinfo
+++ b/www/py-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.2286sD7Y000527>