Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2021 12:51:29 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: fd76d1a57701 - main - *: Create Django 3.2 ports for net-mgmt/netbox
Message-ID:  <202107201251.16KCpTPe086851@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=fd76d1a5770102ebbf7653e96dc34910dcf6e01a

commit fd76d1a5770102ebbf7653e96dc34910dcf6e01a
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2021-07-20 12:18:21 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2021-07-20 12:26:05 +0000

    *: Create Django 3.2 ports for net-mgmt/netbox
    
    * Django 2.2 is currently the "default" version in the ports tree due
      its long term support until April 2022.  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 2.11 release possible because it requires
      Django 3.2.  All of the ports listed below were created on the basis
      of their respective original ports:
    
      - devel/py-dj32-django-rq
      - www/py-dj32-django-auth-ldap
      - www/py-dj32-django-cacheops (updated to a newer release)
      - www/py-dj32-django-cors-headers
      - www/py-dj32-django-debug-toolbar
      - www/py-dj32-django-filter
      - www/py-dj32-django-js-asset
      - www/py-dj32-django-mptt
      - www/py-dj32-django-prometheus
      - www/py-dj32-django-redis
      - www/py-dj32-django-tables2 (updated to a newer release)
      - www/py-dj32-django-taggit (updated to a newer release)
      - www/py-dj32-django-timezone-field
      - www/py-dj32-djangorestframework
      - www/py-dj32-drf-yasg
    
    * Add/update the related CONFLICTS_INSTALL entries as well.
    
    Reviewed by:    koobs, sunpoet
    Differential Revision:  https://reviews.freebsd.org/D30977
---
 devel/Makefile                                     |  1 +
 devel/py-dj31-django-rq/Makefile                   |  3 +-
 devel/py-dj32-django-rq/Makefile                   | 35 +++++++++++++++++
 devel/py-dj32-django-rq/distinfo                   |  3 ++
 devel/py-dj32-django-rq/pkg-descr                  |  5 +++
 devel/py-django-rq/Makefile                        |  3 +-
 www/Makefile                                       | 14 +++++++
 www/py-dj31-django-auth-ldap/Makefile              |  3 +-
 www/py-dj31-django-cacheops/Makefile               |  3 +-
 www/py-dj31-django-cors-headers/Makefile           |  3 +-
 www/py-dj31-django-debug-toolbar/Makefile          |  3 +-
 www/py-dj31-django-filter/Makefile                 |  3 +-
 www/py-dj31-django-js-asset/Makefile               |  3 +-
 www/py-dj31-django-mptt/Makefile                   |  3 +-
 www/py-dj31-django-prometheus/Makefile             |  3 +-
 www/py-dj31-django-redis/Makefile                  |  3 +-
 www/py-dj31-django-tables2/Makefile                |  3 +-
 www/py-dj31-django-taggit/Makefile                 |  3 +-
 www/py-dj31-django-timezone-field/Makefile         |  3 +-
 www/py-dj31-djangorestframework/Makefile           |  3 +-
 www/py-dj31-drf-yasg/Makefile                      |  3 +-
 www/py-dj32-django-auth-ldap/Makefile              | 44 ++++++++++++++++++++++
 www/py-dj32-django-auth-ldap/distinfo              |  3 ++
 .../files/patch-docs_conf.py                       | 22 +++++++++++
 www/py-dj32-django-auth-ldap/pkg-descr             |  6 +++
 www/py-dj32-django-cacheops/Makefile               | 26 +++++++++++++
 www/py-dj32-django-cacheops/distinfo               |  3 ++
 www/py-dj32-django-cacheops/pkg-descr              | 15 ++++++++
 www/py-dj32-django-cors-headers/Makefile           | 22 +++++++++++
 www/py-dj32-django-cors-headers/distinfo           |  3 ++
 www/py-dj32-django-cors-headers/pkg-descr          |  4 ++
 www/py-dj32-django-debug-toolbar/Makefile          | 24 ++++++++++++
 www/py-dj32-django-debug-toolbar/distinfo          |  3 ++
 www/py-dj32-django-debug-toolbar/pkg-descr         |  5 +++
 www/py-dj32-django-filter/Makefile                 | 23 +++++++++++
 www/py-dj32-django-filter/distinfo                 |  3 ++
 www/py-dj32-django-filter/pkg-descr                |  4 ++
 www/py-dj32-django-js-asset/Makefile               | 24 ++++++++++++
 www/py-dj32-django-js-asset/distinfo               |  3 ++
 www/py-dj32-django-js-asset/pkg-descr              |  4 ++
 www/py-dj32-django-mptt/Makefile                   | 25 ++++++++++++
 www/py-dj32-django-mptt/distinfo                   |  3 ++
 www/py-dj32-django-mptt/pkg-descr                  |  4 ++
 www/py-dj32-django-prometheus/Makefile             | 35 +++++++++++++++++
 www/py-dj32-django-prometheus/distinfo             |  3 ++
 www/py-dj32-django-prometheus/pkg-descr            | 16 ++++++++
 www/py-dj32-django-redis/Makefile                  | 30 +++++++++++++++
 www/py-dj32-django-redis/distinfo                  |  3 ++
 www/py-dj32-django-redis/pkg-descr                 | 17 +++++++++
 www/py-dj32-django-tables2/Makefile                | 28 ++++++++++++++
 www/py-dj32-django-tables2/distinfo                |  3 ++
 www/py-dj32-django-tables2/pkg-descr               |  5 +++
 www/py-dj32-django-taggit/Makefile                 | 23 +++++++++++
 www/py-dj32-django-taggit/distinfo                 |  3 ++
 www/py-dj32-django-taggit/pkg-descr                |  3 ++
 www/py-dj32-django-timezone-field/Makefile         | 24 ++++++++++++
 www/py-dj32-django-timezone-field/distinfo         |  3 ++
 www/py-dj32-django-timezone-field/pkg-descr        |  3 ++
 www/py-dj32-djangorestframework/Makefile           | 24 ++++++++++++
 www/py-dj32-djangorestframework/distinfo           |  3 ++
 www/py-dj32-djangorestframework/pkg-descr          |  4 ++
 www/py-dj32-drf-yasg/Makefile                      | 38 +++++++++++++++++++
 www/py-dj32-drf-yasg/distinfo                      |  3 ++
 www/py-dj32-drf-yasg/pkg-descr                     | 20 ++++++++++
 www/py-django-auth-ldap/Makefile                   |  3 +-
 www/py-django-cacheops/Makefile                    |  3 +-
 www/py-django-cors-headers/Makefile                |  3 +-
 www/py-django-debug-toolbar/Makefile               |  3 +-
 www/py-django-filter/Makefile                      |  3 +-
 www/py-django-js-asset/Makefile                    |  3 +-
 www/py-django-mptt/Makefile                        |  3 +-
 www/py-django-prometheus/Makefile                  |  3 +-
 www/py-django-redis/Makefile                       |  3 +-
 www/py-django-tables2/Makefile                     |  3 +-
 www/py-django-taggit/Makefile                      |  3 +-
 www/py-django-timezone-field/Makefile              |  3 +-
 www/py-djangorestframework/Makefile                |  3 +-
 www/py-drf-yasg/Makefile                           |  3 +-
 78 files changed, 682 insertions(+), 30 deletions(-)

diff --git a/devel/Makefile b/devel/Makefile
index f45d9b0ee978..82f25b67751f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4382,6 +4382,7 @@
     SUBDIR += py-distlib
     SUBDIR += py-distributed
     SUBDIR += py-dj31-django-rq
+    SUBDIR += py-dj32-django-rq
     SUBDIR += py-django-rq
     SUBDIR += py-docker-py
     SUBDIR += py-dockerpty
diff --git a/devel/py-dj31-django-rq/Makefile b/devel/py-dj31-django-rq/Makefile
index 53524f65884f..0fdfbe26f2d0 100644
--- a/devel/py-dj31-django-rq/Makefile
+++ b/devel/py-dj31-django-rq/Makefile
@@ -26,7 +26,8 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-rq
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-rq \
+			${PYTHON_PKGNAMEPREFIX}dj32-django-rq
 
 # https://github.com/rq/django-rq/blob/master/Makefile
 do-test:
diff --git a/devel/py-dj32-django-rq/Makefile b/devel/py-dj32-django-rq/Makefile
new file mode 100644
index 000000000000..fe1769b97501
--- /dev/null
+++ b/devel/py-dj32-django-rq/Makefile
@@ -0,0 +1,35 @@
+PORTNAME=	django-rq
+PORTVERSION=	2.4.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj32-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Provides Django integration for RQ (Redis Queue)
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=2.0:www/py-django32@${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}dj31-django-rq \
+			${PYTHON_PKGNAMEPREFIX}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 <bsd.port.mk>
diff --git a/devel/py-dj32-django-rq/distinfo b/devel/py-dj32-django-rq/distinfo
new file mode 100644
index 000000000000..795aac08ed8b
--- /dev/null
+++ b/devel/py-dj32-django-rq/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1618320132
+SHA256 (django-rq-2.4.1.tar.gz) = f09059ab37403a47c7933bca396fabb7f3058732d132462eade5333bc4bcac5f
+SIZE (django-rq-2.4.1.tar.gz) = 42558
diff --git a/devel/py-dj32-django-rq/pkg-descr b/devel/py-dj32-django-rq/pkg-descr
new file mode 100644
index 000000000000..5273572bf046
--- /dev/null
+++ b/devel/py-dj32-django-rq/pkg-descr
@@ -0,0 +1,5 @@
+Django integration with RQ, a Redis based Python queuing library. Django-RQ is a
+simple app that allows you to configure your queues in django's settings.py and
+easily use them in your project.
+
+WWW: https://github.com/rq/django-rq
diff --git a/devel/py-django-rq/Makefile b/devel/py-django-rq/Makefile
index 20d555bfaeca..b77c5c116797 100644
--- a/devel/py-django-rq/Makefile
+++ b/devel/py-django-rq/Makefile
@@ -26,7 +26,8 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}dj31-django-rq
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}dj31-django-rq \
+			${PYTHON_PKGNAMEPREFIX}dj32-django-rq
 
 # https://github.com/rq/django-rq/blob/master/Makefile
 do-test:
diff --git a/www/Makefile b/www/Makefile
index 1d4f63144c28..cf5c8e970c2b 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1450,6 +1450,20 @@
     SUBDIR += py-dj31-django-timezone-field
     SUBDIR += py-dj31-djangorestframework
     SUBDIR += py-dj31-drf-yasg
+    SUBDIR += py-dj32-django-auth-ldap
+    SUBDIR += py-dj32-django-cacheops
+    SUBDIR += py-dj32-django-cors-headers
+    SUBDIR += py-dj32-django-debug-toolbar
+    SUBDIR += py-dj32-django-filter
+    SUBDIR += py-dj32-django-js-asset
+    SUBDIR += py-dj32-django-mptt
+    SUBDIR += py-dj32-django-prometheus
+    SUBDIR += py-dj32-django-redis
+    SUBDIR += py-dj32-django-tables2
+    SUBDIR += py-dj32-django-taggit
+    SUBDIR += py-dj32-django-timezone-field
+    SUBDIR += py-dj32-djangorestframework
+    SUBDIR += py-dj32-drf-yasg
     SUBDIR += py-django
     SUBDIR += py-django-admin-rangefilter
     SUBDIR += py-django-advanced-filters
diff --git a/www/py-dj31-django-auth-ldap/Makefile b/www/py-dj31-django-auth-ldap/Makefile
index 89f95ffdf63a..601e415520c1 100644
--- a/www/py-dj31-django-auth-ldap/Makefile
+++ b/www/py-dj31-django-auth-ldap/Makefile
@@ -22,7 +22,8 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 PORTDOCS=	*
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-auth-ldap
+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}
diff --git a/www/py-dj31-django-cacheops/Makefile b/www/py-dj31-django-cacheops/Makefile
index 3d167259f939..ccf97839ef72 100644
--- a/www/py-dj31-django-cacheops/Makefile
+++ b/www/py-dj31-django-cacheops/Makefile
@@ -18,7 +18,8 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django31>=2.1:www/py-django31@${PY_FLAVOR} \
 USES=		python:3.6+
 USE_PYTHON=	autoplist distutils
 
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-cacheops
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-cacheops \
+			${PYTHON_PKGNAMEPREFIX}dj32-django-cacheops
 
 NO_ARCH=		yes
 
diff --git a/www/py-dj31-django-cors-headers/Makefile b/www/py-dj31-django-cors-headers/Makefile
index 9030a1b331cb..dc0a73f545b7 100644
--- a/www/py-dj31-django-cors-headers/Makefile
+++ b/www/py-dj31-django-cors-headers/Makefile
@@ -16,6 +16,7 @@ USES=		python:3.6+
 USE_PYTHON=	autoplist distutils
 
 NO_ARCH=		yes
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-cors-headers
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-cors-headers \
+			${PYTHON_PKGNAMEPREFIX}dj32-django-cors-headers
 
 .include <bsd.port.mk>
diff --git a/www/py-dj31-django-debug-toolbar/Makefile b/www/py-dj31-django-debug-toolbar/Makefile
index dcef02473577..ef455603a71b 100644
--- a/www/py-dj31-django-debug-toolbar/Makefile
+++ b/www/py-dj31-django-debug-toolbar/Makefile
@@ -20,6 +20,7 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-debug-toolbar
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-debug-toolbar \
+			${PYTHON_PKGNAMEPREFIX}dj32-django-debug-toolbar
 
 .include <bsd.port.mk>
diff --git a/www/py-dj31-django-filter/Makefile b/www/py-dj31-django-filter/Makefile
index 8f0b1f8367d4..eab081a0dc30 100644
--- a/www/py-dj31-django-filter/Makefile
+++ b/www/py-dj31-django-filter/Makefile
@@ -16,6 +16,7 @@ USES=		python:3.6+
 USE_PYTHON=	distutils autoplist
 
 NO_ARCH=		yes
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-filter
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-filter \
+			${PYTHON_PKGNAMEPREFIX}dj32-django-filter
 
 .include <bsd.port.mk>
diff --git a/www/py-dj31-django-js-asset/Makefile b/www/py-dj31-django-js-asset/Makefile
index d74dd17c3036..1e37776118dc 100644
--- a/www/py-dj31-django-js-asset/Makefile
+++ b/www/py-dj31-django-js-asset/Makefile
@@ -17,6 +17,7 @@ USES=		python:3.6+
 USE_PYTHON=	distutils autoplist
 
 NO_ARCH=		yes
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-js-asset
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-js-asset \
+			${PYTHON_PKGNAMEPREFIX}dj32-django-js-asset
 
 .include <bsd.port.mk>
diff --git a/www/py-dj31-django-mptt/Makefile b/www/py-dj31-django-mptt/Makefile
index 29326e6981c1..b20e89c27bc5 100644
--- a/www/py-dj31-django-mptt/Makefile
+++ b/www/py-dj31-django-mptt/Makefile
@@ -20,6 +20,7 @@ USE_PYTHON=	autoplist distutils
 
 NO_ARCH=		yes
 CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-happenings \
-			${PYTHON_PKGNAMEPREFIX}django-mptt
+			${PYTHON_PKGNAMEPREFIX}django-mptt \
+			${PYTHON_PKGNAMEPREFIX}dj32-django-mptt
 
 .include <bsd.port.mk>
diff --git a/www/py-dj31-django-prometheus/Makefile b/www/py-dj31-django-prometheus/Makefile
index b568c02d7cd8..38b064da16bc 100644
--- a/www/py-dj31-django-prometheus/Makefile
+++ b/www/py-dj31-django-prometheus/Makefile
@@ -16,7 +16,8 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django31>=2.2:www/py-django31@${PY_FLAVOR} \
 USES=		python:3.6+
 USE_PYTHON=	autoplist distutils
 
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-prometheus
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-prometheus \
+			${PYTHON_PKGNAMEPREFIX}dj32-django-prometheus
 
 NO_ARCH=		yes
 
diff --git a/www/py-dj31-django-redis/Makefile b/www/py-dj31-django-redis/Makefile
index 8b53395b1907..b4b3e0b258dd 100644
--- a/www/py-dj31-django-redis/Makefile
+++ b/www/py-dj31-django-redis/Makefile
@@ -19,7 +19,8 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hiredis>=0:databases/py-hiredis@${PY_FLAVOR
 USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-redis
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-redis \
+			${PYTHON_PKGNAMEPREFIX}dj32-django-redis
 
 NO_ARCH=	yes
 
diff --git a/www/py-dj31-django-tables2/Makefile b/www/py-dj31-django-tables2/Makefile
index 8f5107da7086..8e981d327a38 100644
--- a/www/py-dj31-django-tables2/Makefile
+++ b/www/py-dj31-django-tables2/Makefile
@@ -17,7 +17,8 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django31>=0:www/py-django31@${PY_FLAVOR}
 USES=		python:3.7+
 USE_PYTHON=	distutils autoplist
 
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-tables2
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-tables2 \
+			${PYTHON_PKGNAMEPREFIX}dj32-django-tables2
 
 NO_ARCH=		yes
 
diff --git a/www/py-dj31-django-taggit/Makefile b/www/py-dj31-django-taggit/Makefile
index 0d5543c813c6..dd2b3ddec656 100644
--- a/www/py-dj31-django-taggit/Makefile
+++ b/www/py-dj31-django-taggit/Makefile
@@ -16,6 +16,7 @@ USES=		python:3.6+
 USE_PYTHON=	autoplist distutils
 
 NO_ARCH=		yes
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-taggit
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-taggit \
+			${PYTHON_PKGNAMEPREFIX}dj32-django-taggit
 
 .include <bsd.port.mk>
diff --git a/www/py-dj31-django-timezone-field/Makefile b/www/py-dj31-django-timezone-field/Makefile
index d0ca2d6f72d8..83e8d104c94d 100644
--- a/www/py-dj31-django-timezone-field/Makefile
+++ b/www/py-dj31-django-timezone-field/Makefile
@@ -17,6 +17,7 @@ USES=		python:3.6+
 USE_PYTHON=	distutils autoplist
 
 NO_ARCH=		yes
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-timezone-field
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-timezone-field \
+			${PYTHON_PKGNAMEPREFIX}dj32-django-timezone-field
 
 .include <bsd.port.mk>
diff --git a/www/py-dj31-djangorestframework/Makefile b/www/py-dj31-djangorestframework/Makefile
index 882ce2dc741b..1b4eca31589b 100644
--- a/www/py-dj31-djangorestframework/Makefile
+++ b/www/py-dj31-djangorestframework/Makefile
@@ -17,7 +17,8 @@ USES=		python:3.6+
 USE_PYTHON=	distutils autoplist
 
 CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}djangorestframework3* \
-			${PYTHON_PKGNAMEPREFIX}djangorestframework
+			${PYTHON_PKGNAMEPREFIX}djangorestframework \
+			${PYTHON_PKGNAMEPREFIX}dj32-djangorestframework
 NO_ARCH=		yes
 
 .include <bsd.port.mk>
diff --git a/www/py-dj31-drf-yasg/Makefile b/www/py-dj31-drf-yasg/Makefile
index 7c58b5fe81a5..e8275b5bd54b 100644
--- a/www/py-dj31-drf-yasg/Makefile
+++ b/www/py-dj31-drf-yasg/Makefile
@@ -24,7 +24,8 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django31>=2.2.16:www/py-django31@${PY_FLAVOR
 USES=		python:3.6+
 USE_PYTHON=	distutils autoplist
 
-CONFLICTS_INSTALL=	${PYTHON_PGKNAMEPREFIX}drf-yasg
+CONFLICTS_INSTALL=	${PYTHON_PGKNAMEPREFIX}drf-yasg \
+			${PYTHON_PGKNAMEPREFIX}dj32-drf-yasg
 
 NO_ARCH=		yes
 
diff --git a/www/py-dj32-django-auth-ldap/Makefile b/www/py-dj32-django-auth-ldap/Makefile
new file mode 100644
index 000000000000..fe0ac325967d
--- /dev/null
+++ b/www/py-dj32-django-auth-ldap/Makefile
@@ -0,0 +1,44 @@
+PORTNAME=	django-auth-ldap
+PORTVERSION=	2.4.0
+CATEGORIES=	www security python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj32-
+
+MAINTAINER=	kai@FreeBSD.org
+COMMENT=	LDAP integration for django.contrib.auth
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ldap>=3.1:net/py-ldap@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}dj31-django-auth-ldap \
+			${PYTHON_PKGNAMEPREFIX}django-auth-ldap
+
+NO_ARCH=	yes
+PORTDOCS=	*
+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 <bsd.port.pre.mk>
+
+# 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 <bsd.port.post.mk>
diff --git a/www/py-dj32-django-auth-ldap/distinfo b/www/py-dj32-django-auth-ldap/distinfo
new file mode 100644
index 000000000000..3ad4959b7520
--- /dev/null
+++ b/www/py-dj32-django-auth-ldap/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1617818253
+SHA256 (django-auth-ldap-2.4.0.tar.gz) = 60fcbfc3141c99c3c49d3ccd7311a3992a231c319d94b6d2c143968f63676676
+SIZE (django-auth-ldap-2.4.0.tar.gz) = 53523
diff --git a/www/py-dj32-django-auth-ldap/files/patch-docs_conf.py b/www/py-dj32-django-auth-ldap/files/patch-docs_conf.py
new file mode 100644
index 000000000000..8ab329172ad8
--- /dev/null
+++ b/www/py-dj32-django-auth-ldap/files/patch-docs_conf.py
@@ -0,0 +1,22 @@
+Avoid the download of various intersphinx inventories during build.  Only two
+intersphinx mappings are used and the documentation can be built/used without
+them.
+
+--- docs/conf.py.orig	2021-02-28 15:46:24 UTC
++++ docs/conf.py
+@@ -186,15 +186,3 @@ texinfo_documents = [
+ 
+ 
+ # -- Extension configuration -------------------------------------------------
+-
+-# -- Options for intersphinx extension ---------------------------------------
+-
+-intersphinx_mapping = {
+-    "python": ("https://docs.python.org/3/", None),
+-    "django": (
+-        "https://docs.djangoproject.com/en/stable/",
+-        "https://docs.djangoproject.com/en/stable/_objects/",
+-    ),
+-    "pythonldap": ("https://python-ldap.readthedocs.io/en/latest/", None),
+-    "tox": ("https://tox.readthedocs.io/en/latest/", None),
+-}
diff --git a/www/py-dj32-django-auth-ldap/pkg-descr b/www/py-dj32-django-auth-ldap/pkg-descr
new file mode 100644
index 000000000000..74682fda4265
--- /dev/null
+++ b/www/py-dj32-django-auth-ldap/pkg-descr
@@ -0,0 +1,6 @@
+This is a Django authentication backend that authenticates against an LDAP
+service. Configuration can be as simple as a single distinguished name template,
+but there are many rich configuration options for working with users, groups,
+and permissions.
+
+WWW: https://github.com/django-auth-ldap/django-auth-ldap
diff --git a/www/py-dj32-django-cacheops/Makefile b/www/py-dj32-django-cacheops/Makefile
new file mode 100644
index 000000000000..84a334e42218
--- /dev/null
+++ b/www/py-dj32-django-cacheops/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	django-cacheops
+PORTVERSION=	6.0
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj32-
+
+MAINTAINER=	kai@FreeBSD.org
+COMMENT=	Slick ORM cache with automatic granular event-driven invalidation
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=2.1:www/py-django32@${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}dj31-django-cacheops \
+			${PYTHON_PKGNAMEPREFIX}django-cacheops
+
+NO_ARCH=		yes
+
+.include <bsd.port.mk>
diff --git a/www/py-dj32-django-cacheops/distinfo b/www/py-dj32-django-cacheops/distinfo
new file mode 100644
index 000000000000..92039037603b
--- /dev/null
+++ b/www/py-dj32-django-cacheops/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1621680932
+SHA256 (django-cacheops-6.0.tar.gz) = 78e161ebd96a32e28e19ec7da31f2afed9e62a79726b8b5f0ed12dd16c2e5841
+SIZE (django-cacheops-6.0.tar.gz) = 70280
diff --git a/www/py-dj32-django-cacheops/pkg-descr b/www/py-dj32-django-cacheops/pkg-descr
new file mode 100644
index 000000000000..9df3c28b800e
--- /dev/null
+++ b/www/py-dj32-django-cacheops/pkg-descr
@@ -0,0 +1,15 @@
+A slick app that supports automatic or manual queryset caching and automatic
+granular event-driven invalidation.
+
+It uses redis as backend for ORM cache and redis or filesystem for simple
+time-invalidated one.
+
+And there is more to it:
+
+* Decorators to cache any user function or view as a queryset or by time
+* Extensions for django and jinja2 templates
+* Transparent transaction support
+* Dog-pile prevention mechanism
+* A couple of hacks to make django faster
+
+WWW: https://github.com/Suor/django-cacheops
diff --git a/www/py-dj32-django-cors-headers/Makefile b/www/py-dj32-django-cors-headers/Makefile
new file mode 100644
index 000000000000..9a7dab93ce57
--- /dev/null
+++ b/www/py-dj32-django-cors-headers/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	django-cors-headers
+PORTVERSION=	3.7.0
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj32-
+
+MAINTAINER=	kai@FreeBSD.org
+COMMENT=	Handles server headers required for Cross-Origin Resource Sharing
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=		yes
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}dj31-django-cors-headers \
+			${PYTHON_PKGNAMEPREFIX}django-cors-headers
+
+.include <bsd.port.mk>
diff --git a/www/py-dj32-django-cors-headers/distinfo b/www/py-dj32-django-cors-headers/distinfo
new file mode 100644
index 000000000000..bf022ead3e1f
--- /dev/null
+++ b/www/py-dj32-django-cors-headers/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1615472617
+SHA256 (django-cors-headers-3.7.0.tar.gz) = 96069c4aaacace786a34ee7894ff680780ec2644e4268b31181044410fecd12e
+SIZE (django-cors-headers-3.7.0.tar.gz) = 88367
diff --git a/www/py-dj32-django-cors-headers/pkg-descr b/www/py-dj32-django-cors-headers/pkg-descr
new file mode 100644
index 000000000000..7248fec2ba2d
--- /dev/null
+++ b/www/py-dj32-django-cors-headers/pkg-descr
@@ -0,0 +1,4 @@
+A Django App that adds CORS (Cross-Origin Resource Sharing) headers to
+responses.
+
+WWW: https://github.com/adamchainz/django-cors-headers
diff --git a/www/py-dj32-django-debug-toolbar/Makefile b/www/py-dj32-django-debug-toolbar/Makefile
new file mode 100644
index 000000000000..7d7a57774fb7
--- /dev/null
+++ b/www/py-dj32-django-debug-toolbar/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	django-debug-toolbar
+PORTVERSION=	3.2.1
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj32-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Configurable set of panels to display debug information
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${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}dj31-django-debug-toolbar \
+			${PYTHON_PKGNAMEPREFIX}django-debug-toolbar
+
+.include <bsd.port.mk>
diff --git a/www/py-dj32-django-debug-toolbar/distinfo b/www/py-dj32-django-debug-toolbar/distinfo
new file mode 100644
index 000000000000..c7ce99f2be60
--- /dev/null
+++ b/www/py-dj32-django-debug-toolbar/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1620405459
+SHA256 (django-debug-toolbar-3.2.1.tar.gz) = a5ff2a54f24bf88286f9872836081078f4baa843dc3735ee88524e89f8821e33
+SIZE (django-debug-toolbar-3.2.1.tar.gz) = 241400
diff --git a/www/py-dj32-django-debug-toolbar/pkg-descr b/www/py-dj32-django-debug-toolbar/pkg-descr
new file mode 100644
index 000000000000..9a28df80297f
--- /dev/null
+++ b/www/py-dj32-django-debug-toolbar/pkg-descr
@@ -0,0 +1,5 @@
+The Django Debug Toolbar is a configurable set of panels that display various
+debug information about the current request/response and when clicked, display
+more details about the panel's content.
+
+WWW: https://github.com/jazzband/django-debug-toolbar
diff --git a/www/py-dj32-django-filter/Makefile b/www/py-dj32-django-filter/Makefile
new file mode 100644
index 000000000000..4812c95076a9
--- /dev/null
+++ b/www/py-dj32-django-filter/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	django-filter
+DISTVERSION=	2.4.0
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj32-
+
+MAINTAINER=	kai@FreeBSD.org
+COMMENT=	Dynamic filtering for querysets with Django
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	distutils autoplist
+
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}dj31-django-filter \
+			${PYTHON_PKGNAMEPREFIX}django-filter
+
+NO_ARCH=		yes
+
+.include <bsd.port.mk>
diff --git a/www/py-dj32-django-filter/distinfo b/www/py-dj32-django-filter/distinfo
new file mode 100644
index 000000000000..9419870dc0d4
--- /dev/null
+++ b/www/py-dj32-django-filter/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1611059912
+SHA256 (django-filter-2.4.0.tar.gz) = 84e9d5bb93f237e451db814ed422a3a625751cbc9968b484ecc74964a8696b06
+SIZE (django-filter-2.4.0.tar.gz) = 146904
diff --git a/www/py-dj32-django-filter/pkg-descr b/www/py-dj32-django-filter/pkg-descr
new file mode 100644
index 000000000000..8b454bf6899f
--- /dev/null
+++ b/www/py-dj32-django-filter/pkg-descr
@@ -0,0 +1,4 @@
+Django-filter is a reusable Django application allowing users to declaratively
+add dynamic QuerySet filtering from URL parameters.
+
+WWW: https://github.com/carltongibson/django-filter
diff --git a/www/py-dj32-django-js-asset/Makefile b/www/py-dj32-django-js-asset/Makefile
new file mode 100644
index 000000000000..9aa2b20bd33e
--- /dev/null
+++ b/www/py-dj32-django-js-asset/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	django-js-asset
+DISTVERSION=	1.2.2
+PORTREVISION=	1
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj32-
+
+MAINTAINER=	kai@FreeBSD.org
+COMMENT=	Insert script tags with additional attributes for django.forms.Media
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>0:www/py-django32@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	distutils autoplist
+
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}dj31-django-js-asset \
+			${PYTHON_PKGNAMEPREFIX}django-js-asset
+
+NO_ARCH=		yes
+
+.include <bsd.port.mk>
diff --git a/www/py-dj32-django-js-asset/distinfo b/www/py-dj32-django-js-asset/distinfo
new file mode 100644
index 000000000000..95516ac977d9
--- /dev/null
+++ b/www/py-dj32-django-js-asset/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1586294408
+SHA256 (django-js-asset-1.2.2.tar.gz) = c163ae80d2e0b22d8fb598047cd0dcef31f81830e127cfecae278ad574167260
+SIZE (django-js-asset-1.2.2.tar.gz) = 4436
diff --git a/www/py-dj32-django-js-asset/pkg-descr b/www/py-dj32-django-js-asset/pkg-descr
new file mode 100644
index 000000000000..1b3c52191784
--- /dev/null
+++ b/www/py-dj32-django-js-asset/pkg-descr
@@ -0,0 +1,4 @@
+Insert script tags with additional attributes (such as "id" and "data" for
+CSP-compatible data injection) for the django.forms.Media package.
+
+WWW: https://github.com/matthiask/django-js-asset
diff --git a/www/py-dj32-django-mptt/Makefile b/www/py-dj32-django-mptt/Makefile
new file mode 100644
index 000000000000..e29c910559ea
--- /dev/null
+++ b/www/py-dj32-django-mptt/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	django-mptt
+PORTVERSION=	0.12.0
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj32-
+
+MAINTAINER=	kai@FreeBSD.org
+COMMENT=	Utilities for implementing Modified Preorder Tree Traversal in Django
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=1.11:www/py-django32@${PY_FLAVOR}\
+		${PYTHON_PKGNAMEPREFIX}dj32-django-js-asset>0:www/py-dj32-django-js-asset@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist distutils
+
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django-happenings \
+			${PYTHON_PKGNAMEPREFIX}dj31-django-mptt \
+			${PYTHON_PKGNAMEPREFIX}django-mptt
+
+NO_ARCH=		yes
+
+.include <bsd.port.mk>
diff --git a/www/py-dj32-django-mptt/distinfo b/www/py-dj32-django-mptt/distinfo
new file mode 100644
index 000000000000..57bdc7f72a7f
--- /dev/null
+++ b/www/py-dj32-django-mptt/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1615473716
+SHA256 (django-mptt-0.12.0.tar.gz) = 8ae6c3821127b529bb2f938de27bf0771b1bcbe9dbccdfba33986af78611f13a
+SIZE (django-mptt-0.12.0.tar.gz) = 103513
diff --git a/www/py-dj32-django-mptt/pkg-descr b/www/py-dj32-django-mptt/pkg-descr
new file mode 100644
index 000000000000..965e7289f5b7
--- /dev/null
+++ b/www/py-dj32-django-mptt/pkg-descr
@@ -0,0 +1,4 @@
+Utilities for implementing Modified Preorder Tree Traversal with your Django
+Models and working with trees of Model instances.
+
+WWW: https://github.com/django-mptt/django-mptt
diff --git a/www/py-dj32-django-prometheus/Makefile b/www/py-dj32-django-prometheus/Makefile
new file mode 100644
index 000000000000..e64a16987eb6
--- /dev/null
+++ b/www/py-dj32-django-prometheus/Makefile
@@ -0,0 +1,35 @@
+PORTNAME=	django-prometheus
+PORTVERSION=	2.1.0
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj32-
+
+MAINTAINER=	kai@FreeBSD.org
+COMMENT=	Export Django monitoring metrics for Prometheus.io
+
+LICENSE=	APACHE20
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${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}dj31-django-prometheus \
+			${PYTHON_PKGNAMEPREFIX}django-prometheus
+
+NO_ARCH=		yes
+
+OPTIONS_GROUP=		DATABASE CACHE
+OPTIONS_GROUP_CACHE=	MEMCACHED REDIS
+OPTIONS_GROUP_DATABASE=	MYSQL PGSQL
+
+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}dj32-django-redis>=4.8:www/py-dj32-django-redis@${PY_FLAVOR}
+
+.include <bsd.port.mk>
diff --git a/www/py-dj32-django-prometheus/distinfo b/www/py-dj32-django-prometheus/distinfo
new file mode 100644
index 000000000000..d5a34e2b0e80
--- /dev/null
+++ b/www/py-dj32-django-prometheus/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1611058868
+SHA256 (django-prometheus-2.1.0.tar.gz) = dd3f8da1399140fbef5c00d1526a23d1ade286b144281c325f8e409a781643f2
+SIZE (django-prometheus-2.1.0.tar.gz) = 24615
diff --git a/www/py-dj32-django-prometheus/pkg-descr b/www/py-dj32-django-prometheus/pkg-descr
new file mode 100644
index 000000000000..5bb2be69d186
--- /dev/null
+++ b/www/py-dj32-django-prometheus/pkg-descr
@@ -0,0 +1,16 @@
+This library exports Django monitoring metrics for Prometheus.io.
+
+It provides support to monitor the following databases types:
+
+* SQLite (via Django)
+* PostgreSQL
+* MySQL
+
+In addition, caches can also be monitored:
+
+* memcached
+* Redis
+
+It's even possible to export metrics of Django models and migrations.
+
+WWW: https://github.com/korfuri/django-prometheus
diff --git a/www/py-dj32-django-redis/Makefile b/www/py-dj32-django-redis/Makefile
new file mode 100644
index 000000000000..0551f4525914
--- /dev/null
+++ b/www/py-dj32-django-redis/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	django-redis
+PORTVERSION=	5.0.0
+CATEGORIES=	www databases python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj32-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Full featured Redis cache/session backend for Django
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${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
+
+NO_ARCH=	yes
+
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}dj31-django-redis \
+			${PYTHON_PKGNAMEPREFIX}django-redis
+
+do-test:
+	@cd ${WRKSRC}/tests && ${PYTHON_CMD} runtests.py
+
+.include <bsd.port.mk>
diff --git a/www/py-dj32-django-redis/distinfo b/www/py-dj32-django-redis/distinfo
new file mode 100644
index 000000000000..97e629202e3e
--- /dev/null
+++ b/www/py-dj32-django-redis/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1624189755
+SHA256 (django-redis-5.0.0.tar.gz) = 048f665bbe27f8ff2edebae6aa9c534ab137f1e8fa7234147ef470df3f3aa9b8
+SIZE (django-redis-5.0.0.tar.gz) = 47508
diff --git a/www/py-dj32-django-redis/pkg-descr b/www/py-dj32-django-redis/pkg-descr
new file mode 100644
index 000000000000..dafc130bd225
--- /dev/null
+++ b/www/py-dj32-django-redis/pkg-descr
@@ -0,0 +1,17 @@
+Django-redis is a BSD Licensed, full featured Redis cache/session
+backend for Django.
+
+Why use django-redis?
+
+ * Modular client system (pluggable clients).
+ * Master-Slave support in the default client.
+ * Used in production in several projects as cache and session storage.
+ * Supports infinite timeouts.
+ * Python 3 support in same code base.
+ * Facilities for raw access to Redis client/connection pool.
+ * Highly configurable (can emulate memcached exception behavior, for
+   example).
+ * Unix sockets supported by default.
+ * Pluggable parsers.
+
+WWW: https://github.com/niwinz/django-redis
diff --git a/www/py-dj32-django-tables2/Makefile b/www/py-dj32-django-tables2/Makefile
new file mode 100644
index 000000000000..41543a1c0087
--- /dev/null
+++ b/www/py-dj32-django-tables2/Makefile
*** 461 LINES SKIPPED ***



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