* Django 3.2 is currently the "default" version in the ports tree due its long term support until April 2024. Thus ports that are assigned to that version will exist until then. The following ports are required to make the upgrade of net-mgmt/netbox to the 3.4 release possible because it requires Django 4.1. All of the ports listed below were created on the basis of their respective original ports: - devel/py-dj41-django-rq - devel/py-dj41-graphene-django - www/py-dj41-django-auth-ldap - www/py-dj41-django-cors-headers - www/py-dj41-django-debug-toolbar - www/py-dj41-django-filter - www/py-dj41-django-graphiql-debug-toolbar - www/py-dj41-django-js-asset - www/py-dj41-django-mptt - www/py-dj41-django-prometheus - www/py-dj41-django-redis - www/py-dj41-django-tables2 - www/py-dj41-django-taggit - www/py-dj41-django-timezone-field - www/py-dj41-djangorestframework - www/py-dj41-drf-yasg Reviewed by: sunpoet (via e-mail) Approved by: sunpoet (via e-mail) Differential Revision: https://reviews.freebsd.org/D38649
31 lines
836 B
Makefile
31 lines
836 B
Makefile
PORTNAME= django-timezone-field
|
|
DISTVERSION= 5.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= www python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj41-
|
|
|
|
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
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django41>=2.2:www/py-django41@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
|
|
|
|
USES= python:3.8+
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PYTHON_REL} < 30900
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.zoneinfo>=0.2.1<0.3.0:devel/py-backports.zoneinfo@${PY_FLAVOR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|