summaryrefslogtreecommitdiff
path: root/www/py-dj52-django-timezone-field
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-dj52-django-timezone-field')
-rw-r--r--www/py-dj52-django-timezone-field/Makefile25
-rw-r--r--www/py-dj52-django-timezone-field/distinfo3
-rw-r--r--www/py-dj52-django-timezone-field/pkg-descr2
3 files changed, 30 insertions, 0 deletions
diff --git a/www/py-dj52-django-timezone-field/Makefile b/www/py-dj52-django-timezone-field/Makefile
new file mode 100644
index 000000000000..e44cc4dab88a
--- /dev/null
+++ b/www/py-dj52-django-timezone-field/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= django-timezone-field
+DISTVERSION= 7.1
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52-
+DISTNAME= django_timezone_field-${DISTVERSION}
+
+MAINTAINER= kai@FreeBSD.org
+COMMENT= Provides database and form fields for pytz timezone objects for Django
+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}django52>=3.2:www/py-django52@${PY_FLAVOR}
+
+USES= python:3.10+
+USE_PYTHON= autoplist pep517
+
+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-dj52-django-timezone-field/distinfo b/www/py-dj52-django-timezone-field/distinfo
new file mode 100644
index 000000000000..00ee309e011a
--- /dev/null
+++ b/www/py-dj52-django-timezone-field/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1737194529
+SHA256 (django_timezone_field-7.1.tar.gz) = b3ef409d88a2718b566fabe10ea996f2838bc72b22d3a2900c0aa905c761380c
+SIZE (django_timezone_field-7.1.tar.gz) = 13727
diff --git a/www/py-dj52-django-timezone-field/pkg-descr b/www/py-dj52-django-timezone-field/pkg-descr
new file mode 100644
index 000000000000..98a3675d4d8d
--- /dev/null
+++ b/www/py-dj52-django-timezone-field/pkg-descr
@@ -0,0 +1,2 @@
+Provides database, form, and REST framework fields for "zoneinfo" and "pytz"
+timezone objects for Django.