diff --git a/devel/py-dj31-django-rq/Makefile b/devel/py-dj31-django-rq/Makefile index 0fdfbe26f2d0..aa49da942bfb 100644 --- a/devel/py-dj31-django-rq/Makefile +++ b/devel/py-dj31-django-rq/Makefile @@ -1,37 +1,40 @@ # Created by: René Ladan PORTNAME= django-rq PORTVERSION= 2.4.1 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- MASTER_SITES= CHEESESHOP MAINTAINER= sunpoet@FreeBSD.org COMMENT= Provides Django integration for RQ (Redis Queue) LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt +DEPRECATED= Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/ +EXPIRATION_DATE= 2021-12-31 + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.0:www/py-django31@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}redis>=3:databases/py-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rq>=1.2:devel/py-rq@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docutils>=0:textproc/py-docutils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \ redis-server:databases/redis USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-rq \ ${PYTHON_PKGNAMEPREFIX}dj32-django-rq # https://github.com/rq/django-rq/blob/master/Makefile do-test: cd ${WRKSRC} && coverage-${PYTHON_VER} run ${LOCALBASE}/bin/django-admin.py test django_rq --settings=django_rq.tests.settings --pythonpath=. cd ${WRKSRC} && ${PYTHON_CMD} setup.py check --metadata --restructuredtext --strict .include diff --git a/www/py-dj31-django-auth-ldap/Makefile b/www/py-dj31-django-auth-ldap/Makefile index 78cc86c94f29..1eda46f24939 100644 --- a/www/py-dj31-django-auth-ldap/Makefile +++ b/www/py-dj31-django-auth-ldap/Makefile @@ -1,44 +1,47 @@ # Created by: Alexander Kriventsov PORTNAME= django-auth-ldap PORTVERSION= 3.0.0 CATEGORIES= www security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- MAINTAINER= kai@FreeBSD.org COMMENT= LDAP integration for django.contrib.auth LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/ +EXPIRATION_DATE= 2021-12-31 + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.2:www/py-django31@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ldap>=3.1:net/py-ldap@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes PORTDOCS= * CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-auth-ldap \ ${PYTHON_PKGNAMEPREFIX}dj32-django-auth-ldap OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" .include # Set a locale to avoid build/configure errors. The UTF-8 mode is enabled by # default when the locale is C since Python 3.7. .if ${PYTHON_REL} < 30700 USE_LOCALE= en_US.UTF-8 .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! -name .buildinfo -and ! -name objects.inv") .include diff --git a/www/py-dj31-django-cacheops/Makefile b/www/py-dj31-django-cacheops/Makefile index e8c500154a67..ff4452bd33b6 100644 --- a/www/py-dj31-django-cacheops/Makefile +++ b/www/py-dj31-django-cacheops/Makefile @@ -1,26 +1,29 @@ PORTNAME= django-cacheops PORTVERSION= 6.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- MAINTAINER= kai@FreeBSD.org COMMENT= Slick ORM cache with automatic granular event-driven invalidation LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/ +EXPIRATION_DATE= 2021-12-31 + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.1:www/py-django31@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}redis>=3.0.0:databases/py-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}funcy>=1.8<2.0:devel/py-funcy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.4.0:devel/py-six@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-cacheops \ ${PYTHON_PKGNAMEPREFIX}dj32-django-cacheops NO_ARCH= yes .include diff --git a/www/py-dj31-django-cors-headers/Makefile b/www/py-dj31-django-cors-headers/Makefile index fc2d44545dd8..7a471799a71a 100644 --- a/www/py-dj31-django-cors-headers/Makefile +++ b/www/py-dj31-django-cors-headers/Makefile @@ -1,22 +1,25 @@ PORTNAME= django-cors-headers PORTVERSION= 3.8.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- MAINTAINER= kai@FreeBSD.org COMMENT= Handles server headers required for Cross-Origin Resource Sharing LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/ +EXPIRATION_DATE= 2021-12-31 + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.2:www/py-django31@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-cors-headers \ ${PYTHON_PKGNAMEPREFIX}dj32-django-cors-headers .include diff --git a/www/py-dj31-django-debug-toolbar/Makefile b/www/py-dj31-django-debug-toolbar/Makefile index ef455603a71b..3880de02aa2c 100644 --- a/www/py-dj31-django-debug-toolbar/Makefile +++ b/www/py-dj31-django-debug-toolbar/Makefile @@ -1,26 +1,29 @@ # Created by: Johannes Meixner PORTNAME= django-debug-toolbar PORTVERSION= 3.2.1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Configurable set of panels to display debug information LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/ +EXPIRATION_DATE= 2021-12-31 + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.2:www/py-django31@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlparse>=0.2.0:databases/py-sqlparse@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-debug-toolbar \ ${PYTHON_PKGNAMEPREFIX}dj32-django-debug-toolbar .include diff --git a/www/py-dj31-django-filter/Makefile b/www/py-dj31-django-filter/Makefile index eab081a0dc30..8f87ab53dba1 100644 --- a/www/py-dj31-django-filter/Makefile +++ b/www/py-dj31-django-filter/Makefile @@ -1,22 +1,25 @@ PORTNAME= django-filter DISTVERSION= 2.4.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- MAINTAINER= kai@FreeBSD.org COMMENT= Dynamic filtering for querysets with Django LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/ +EXPIRATION_DATE= 2021-12-31 + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.2:www/py-django31@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-filter \ ${PYTHON_PKGNAMEPREFIX}dj32-django-filter .include diff --git a/www/py-dj31-django-js-asset/Makefile b/www/py-dj31-django-js-asset/Makefile index 1e37776118dc..087538745229 100644 --- a/www/py-dj31-django-js-asset/Makefile +++ b/www/py-dj31-django-js-asset/Makefile @@ -1,23 +1,26 @@ PORTNAME= django-js-asset DISTVERSION= 1.2.2 PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- MAINTAINER= kai@FreeBSD.org COMMENT= Insert script tags with additional attributes for django.forms.Media LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/ +EXPIRATION_DATE= 2021-12-31 + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>0:www/py-django31@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-js-asset \ ${PYTHON_PKGNAMEPREFIX}dj32-django-js-asset .include diff --git a/www/py-dj31-django-mptt/Makefile b/www/py-dj31-django-mptt/Makefile index 7bd9f4f664cc..b10637d614e4 100644 --- a/www/py-dj31-django-mptt/Makefile +++ b/www/py-dj31-django-mptt/Makefile @@ -1,26 +1,29 @@ # Created by: Carlo Strub PORTNAME= django-mptt PORTVERSION= 0.13.2 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- MAINTAINER= kai@FreeBSD.org COMMENT= Utilities for implementing Modified Preorder Tree Traversal in Django LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/ +EXPIRATION_DATE= 2021-12-31 + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.2:www/py-django31@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}dj31-django-js-asset>0:www/py-dj31-django-js-asset@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-happenings \ ${PYTHON_PKGNAMEPREFIX}django-mptt \ ${PYTHON_PKGNAMEPREFIX}dj32-django-mptt .include diff --git a/www/py-dj31-django-prometheus/Makefile b/www/py-dj31-django-prometheus/Makefile index 38b064da16bc..2e4150e32623 100644 --- a/www/py-dj31-django-prometheus/Makefile +++ b/www/py-dj31-django-prometheus/Makefile @@ -1,35 +1,38 @@ PORTNAME= django-prometheus PORTVERSION= 2.1.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- MAINTAINER= kai@FreeBSD.org COMMENT= Export Django monitoring metrics for Prometheus.io LICENSE= APACHE20 +DEPRECATED= Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/ +EXPIRATION_DATE= 2021-12-31 + BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.2:www/py-django31@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.7:net-mgmt/py-prometheus-client@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-prometheus \ ${PYTHON_PKGNAMEPREFIX}dj32-django-prometheus NO_ARCH= yes OPTIONS_GROUP= DATABASE CACHE OPTIONS_GROUP_DATABASE= MYSQL PGSQL OPTIONS_GROUP_CACHE= MEMCACHED REDIS MEMCACHED_DESC= Memcached distributed memory caching support MEMCACHED_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-memcached>=0:databases/py-python-memcached@${PY_FLAVOR} MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=0:databases/py-mysqlclient@${PY_FLAVOR} PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR} REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj31-django-redis>=4.8:www/py-dj31-django-redis@${PY_FLAVOR} .include diff --git a/www/py-dj31-django-redis/Makefile b/www/py-dj31-django-redis/Makefile index b4b3e0b258dd..341d06305288 100644 --- a/www/py-dj31-django-redis/Makefile +++ b/www/py-dj31-django-redis/Makefile @@ -1,30 +1,33 @@ PORTNAME= django-redis PORTVERSION= 5.0.0 CATEGORIES= www databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Full featured Redis cache/session backend for Django LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/ +EXPIRATION_DATE= 2021-12-31 + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.2:www/py-django31@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}redis>=3.0.0:databases/py-redis@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=0:databases/py-hiredis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-redis \ ${PYTHON_PKGNAMEPREFIX}dj32-django-redis NO_ARCH= yes do-test: @cd ${WRKSRC}/tests && ${PYTHON_CMD} runtests.py .include diff --git a/www/py-dj31-django-tables2/Makefile b/www/py-dj31-django-tables2/Makefile index 25ca8a7c9e1e..e13099501807 100644 --- a/www/py-dj31-django-tables2/Makefile +++ b/www/py-dj31-django-tables2/Makefile @@ -1,30 +1,33 @@ # Created by: Kozlov Sergey PORTNAME= django-tables2 DISTVERSION= 2.4.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- MAINTAINER= kai@FreeBSD.org COMMENT= Table/data-grid framework for Django LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/ +EXPIRATION_DATE= 2021-12-31 + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=1.11:www/py-django31@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= distutils autoplist CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-tables2 \ ${PYTHON_PKGNAMEPREFIX}dj32-django-tables2 NO_ARCH= yes OPTIONS_DEFINE= TABLIB TABLIB_DESC= Enable support for exporting table datasets TABLIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tablib>=0:textproc/py-tablib@${PY_FLAVOR} .include diff --git a/www/py-dj31-django-taggit/Makefile b/www/py-dj31-django-taggit/Makefile index 3c1df166c3d4..4e1586d61992 100644 --- a/www/py-dj31-django-taggit/Makefile +++ b/www/py-dj31-django-taggit/Makefile @@ -1,26 +1,29 @@ PORTNAME= django-taggit PORTVERSION= 1.5.1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- MAINTAINER= kai@FreeBSD.org COMMENT= Reusable Django application for simple tagging LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/ +EXPIRATION_DATE= 2021-12-31 + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.2:www/py-django31@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj31-djangorestframework>0:www/py-dj31-djangorestframework@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-taggit \ ${PYTHON_PKGNAMEPREFIX}dj32-django-taggit do-test: @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m django test --settings=tests.settings -v3 .include diff --git a/www/py-dj31-django-timezone-field/Makefile b/www/py-dj31-django-timezone-field/Makefile index 83e8d104c94d..0fc58a379e7e 100644 --- a/www/py-dj31-django-timezone-field/Makefile +++ b/www/py-dj31-django-timezone-field/Makefile @@ -1,23 +1,26 @@ PORTNAME= django-timezone-field DISTVERSION= 4.1.2 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- MAINTAINER= kai@FreeBSD.org COMMENT= Provides database and form fields for pytz timezone objects for Django LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt +DEPRECATED= Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/ +EXPIRATION_DATE= 2021-12-31 + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=1.11:www/py-django31@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= distutils autoplist NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-timezone-field \ ${PYTHON_PKGNAMEPREFIX}dj32-django-timezone-field .include diff --git a/www/py-dj31-djangorestframework/Makefile b/www/py-dj31-djangorestframework/Makefile index 1b4eca31589b..2ab323d6f616 100644 --- a/www/py-dj31-djangorestframework/Makefile +++ b/www/py-dj31-djangorestframework/Makefile @@ -1,24 +1,27 @@ PORTNAME= djangorestframework PORTVERSION= 3.12.4 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- MAINTAINER= kai@FreeBSD.org COMMENT= Django REST framework LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md +DEPRECATED= Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/ +EXPIRATION_DATE= 2021-12-31 + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.2:www/py-django31@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= distutils autoplist CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}djangorestframework3* \ ${PYTHON_PKGNAMEPREFIX}djangorestframework \ ${PYTHON_PKGNAMEPREFIX}dj32-djangorestframework NO_ARCH= yes .include diff --git a/www/py-dj31-drf-yasg/Makefile b/www/py-dj31-drf-yasg/Makefile index e8275b5bd54b..d1012b6ba632 100644 --- a/www/py-dj31-drf-yasg/Makefile +++ b/www/py-dj31-drf-yasg/Makefile @@ -1,38 +1,41 @@ PORTNAME= drf-yasg DISTVERSION= 1.20.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31- MAINTAINER= kai@FreeBSD.org COMMENT= Yet Another Swagger Generator LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.rst +DEPRECATED= Extended support of Django 3.1 ends December 2021, upgrade to the Django 3.2+ version of this port. See https://www.djangoproject.com/download/ +EXPIRATION_DATE= 2021-12-31 + BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.0.6:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django31>=2.2.16:www/py-django31@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj31-djangorestframework>=3.10.3:www/py-dj31-djangorestframework@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}coreapi>=2.3.3:devel/py-coreapi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}coreschema>=0.0.4:devel/py-coreschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1:devel/py-inflection@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.15.34:devel/py-ruamel.yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uritemplate>=3.0.0:net/py-uritemplate@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= distutils autoplist CONFLICTS_INSTALL= ${PYTHON_PGKNAMEPREFIX}drf-yasg \ ${PYTHON_PGKNAMEPREFIX}dj32-drf-yasg NO_ARCH= yes OPTIONS_DEFINE= VALIDATION OPTIONS_DEFAULT= VALIDATION VALIDATION_DESC= Enable built-in OpenAPI validation mechanisms VALIDATION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}swagger-spec-validator>=2.1.0:devel/py-swagger-spec-validator@${PY_FLAVOR} .include diff --git a/www/py-django31/Makefile b/www/py-django31/Makefile index c937dc0ec808..091fad08976e 100644 --- a/www/py-django31/Makefile +++ b/www/py-django31/Makefile @@ -1,72 +1,75 @@ # Created by: Jose Alonso Cardenas Marquez PORTNAME= django PORTVERSION= 3.1.13 CATEGORIES= www python MASTER_SITES= CHEESESHOP \ https://www.djangoproject.com/m/releases/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 31 DISTNAME= Django-${PORTVERSION} DIST_SUBDIR= python MAINTAINER= python@FreeBSD.org COMMENT= High-level Python Web Framework LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Upgrade to Django 3.2+. Mainstream support ended (April 6, 2021). Extended support ends December 2021. See https://www.djangoproject.com/download/ +EXPIRATION_DATE= 2021-12-31 + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}asgiref>0:www/py-asgiref@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlparse>=0:databases/py-sqlparse@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tblib>0:devel/py-tblib@${PY_FLAVOR} USES= cpe python:3.6+ shebangfix USE_PYTHON= autoplist distutils NO_ARCH= yes DOCSDIR= ${PREFIX}/share/doc/py-django PLIST_FILES= man/man1/django-admin.1.gz PORTDOCS= * SHEBANG_FILES= django/bin/django-admin.py \ django/conf/project_template/manage.py-tpl CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django111 ${PYTHON_PKGNAMEPREFIX}django22 \ ${PYTHON_PKGNAMEPREFIX}django30 ${PYTHON_PKGNAMEPREFIX}django32 CPE_VENDOR= djangoproject # Upstream archive contains files with UTF-8 names EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar OPTIONS_DEFINE= DOCS HTMLDOCS OPTIONS_GROUP= DATABASE OPTIONS_GROUP_DATABASE= PGSQL MYSQL SQLITE OPTIONS_DEFAULT=SQLITE HTMLDOCS_DESC= Install HTML documentation (requires Sphinx) HTMLDOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} HTMLDOCS_IMPLIES= DOCS PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2@${PY_FLAVOR} MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=1.3.13:databases/py-mysqlclient@${PY_FLAVOR} SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} post-build-HTMLDOCS-on: cd ${WRKSRC}/docs && ${MAKE} html SPHINXBUILD=sphinx-build-${PYTHON_VER} post-install: ${INSTALL_MAN} ${WRKSRC}/docs/man/* ${STAGEDIR}/${MAN1PREFIX}/man/man1 @${ECHO_MSG} "" @${ECHO_MSG} " * See http://docs.djangoproject.com/ for complete documentation" @${ECHO_MSG} "" post-install-HTMLDOCS-on: ${MKDIR} ${STAGEDIR}/${DOCSDIR} ${CP} -R ${WRKSRC}/docs/_build/html ${STAGEDIR}/${DOCSDIR} do-test: @cd ${WRKSRC} && ${PYTHON_CMD} tests/runtests.py --settings=test_sqlite .include