Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2022 19:08:48 GMT
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: de8bd1911a1e - 2022Q1 - www/py-django-timezone-field: Update to 4.2.3
Message-ID:  <202201211908.20LJ8mCi037634@gitrepo.freebsd.org>

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

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

commit de8bd1911a1eddfa5bbf5444eb2887ebd3cf6990
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2022-01-18 17:44:40 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-01-21 19:05:38 +0000

    www/py-django-timezone-field: Update to 4.2.3
    
    * Introduce new default option REST which adds support for field
      serialization.
    
    Changelog:
    
    https://github.com/mfogel/django-timezone-field/compare/4.1.2...4.2.3
    
    MFH:            2022Q1
    (cherry picked from commit 37629653c395741857e6cd3d5612db82d2d2bb12)
---
 www/py-django-timezone-field/Makefile | 11 +++++++++--
 www/py-django-timezone-field/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/www/py-django-timezone-field/Makefile b/www/py-django-timezone-field/Makefile
index 3b10c537aade..cabf992d0359 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.1.2
+DISTVERSION=	4.2.3
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,7 +10,7 @@ COMMENT=	Provides database and form fields for pytz timezone objects for Django
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django22>=1.11:www/py-django22@${PY_FLAVOR} \
+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+
@@ -20,4 +20,11 @@ NO_ARCH=		yes
 CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}dj31-django-timezone-field \
 			${PYTHON_PKGNAMEPREFIX}dj32-django-timezone-field
 
+OPTIONS_DEFINE=		REST
+OPTIONS_DEFAULT=	REST
+
+REST_DESC=	Support for field serialization via REST
+
+REST_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}djangorestframework>=3.0.0,1:www/py-djangorestframework@${PY_FLAVOR}
+
 .include <bsd.port.mk>
diff --git a/www/py-django-timezone-field/distinfo b/www/py-django-timezone-field/distinfo
index aa1cc15ade0e..2f7295a0948b 100644
--- a/www/py-django-timezone-field/distinfo
+++ b/www/py-django-timezone-field/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1616796675
-SHA256 (django-timezone-field-4.1.2.tar.gz) = cffac62452d060e365938aa9c9f7b72d70d8b26b9c60243bce227b35abd1b9df
-SIZE (django-timezone-field-4.1.2.tar.gz) = 8419
+TIMESTAMP = 1642506738
+SHA256 (django-timezone-field-4.2.3.tar.gz) = 5dd5bd9249382bef8847d3e7e4c32b7be182a4b538f354130d1252ed228892f8
+SIZE (django-timezone-field-4.2.3.tar.gz) = 8347



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