git: 5935e45f5b88 - main - www/py-django-ldapdb: Update to 1.5.1

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sat, 07 May 2022 07:16:34 UTC
The branch main has been updated by kai:

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

commit 5935e45f5b889e475cd6ab4b01e39d38ac22906d
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2022-05-07 07:09:06 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-05-07 07:14:54 +0000

    www/py-django-ldapdb: Update to 1.5.1
    
    * Switch to Django 3.2 as Django 2.2 is End-of-Life since April 2022.
    
    * Use GitHub for a while to access the latest commits which contain some
      compatibility changes regarding Django 3.2.
    
    PR:             263770
    Approved by:    Alexander Kriventsov (maintainer)
---
 www/py-django-ldapdb/Makefile | 9 +++++----
 www/py-django-ldapdb/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/www/py-django-ldapdb/Makefile b/www/py-django-ldapdb/Makefile
index c71a93783ebf..db233b6667b0 100644
--- a/www/py-django-ldapdb/Makefile
+++ b/www/py-django-ldapdb/Makefile
@@ -1,9 +1,9 @@
 # Created by: Alexander Kriventsov <avk@vl.ru>
 
 PORTNAME=	django-ldapdb
-PORTVERSION=	1.4.0
+DISTVERSION=	1.5.1-7
+DISTVERSIONSUFFIX=	-gd3a0b20
 CATEGORIES=	www python
-MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	avk@vl.ru
@@ -12,10 +12,11 @@ COMMENT=	LDAP database backend for Django
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django22>=1.11:www/py-django22@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}ldap>=3.0:net/py-ldap@${PY_FLAVOR}
 
-USES=		python:3.5+
+USES=		python:3.6+
+USE_GITHUB=	yes
 USE_PYTHON=	distutils concurrent autoplist
 
 NO_ARCH=	yes
diff --git a/www/py-django-ldapdb/distinfo b/www/py-django-ldapdb/distinfo
index e8988b13a4aa..61e844445089 100644
--- a/www/py-django-ldapdb/distinfo
+++ b/www/py-django-ldapdb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1585603374
-SHA256 (django-ldapdb-1.4.0.tar.gz) = 36990757f26c1bd7642bbb0ed88cc1a4d8fe945dfcae6094142b9889b976e3f8
-SIZE (django-ldapdb-1.4.0.tar.gz) = 31294
+TIMESTAMP = 1651643154
+SHA256 (django-ldapdb-django-ldapdb-1.5.1-7-gd3a0b20_GH0.tar.gz) = b189fea99adf9e2990042f292af966eb803d5972456416635603cd474afd39a6
+SIZE (django-ldapdb-django-ldapdb-1.5.1-7-gd3a0b20_GH0.tar.gz) = 31929