git: c316ad3fd256 - main - www/py-django-treebeard: Update to 4.5.1

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Wed, 04 May 2022 13:29:15 UTC
The branch main has been updated by kai:

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

commit c316ad3fd2567a8c0dfa30d722204d639d693c7a
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2022-05-04 13:22:03 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-05-04 13:22:03 +0000

    www/py-django-treebeard: Update to 4.5.1
    
    * Also adjust/remove relevant variables to Mk/Uses/pytest.mk which was
      recently added.
    
    Changelog since 4.4:
    
    https://github.com/django-treebeard/django-treebeard/blob/4.5.1/CHANGES.md
    
    MFH:            No (feature release, pytest.mk not present in 2022Q2)
---
 www/py-django-treebeard/Makefile | 12 +++++-------
 www/py-django-treebeard/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/www/py-django-treebeard/Makefile b/www/py-django-treebeard/Makefile
index cb6124a4f78f..323635f303e6 100644
--- a/www/py-django-treebeard/Makefile
+++ b/www/py-django-treebeard/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	django-treebeard
-DISTVERSION=	4.4
-PORTREVISION=	1
+DISTVERSION=	4.5.1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +11,13 @@ LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-django>=4.0:devel/py-pytest-django@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		pytest python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
+TEST_ENV=	DATABASE_ENGINE=sqlite
+
 NO_ARCH=	yes
 PORTDOCS=	*
 
@@ -32,7 +33,4 @@ post-install-DOCS-on:
 	${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
 		"! -name .buildinfo -and ! -name objects.inv")
 
-do-test:
-	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
-
 .include <bsd.port.mk>
diff --git a/www/py-django-treebeard/distinfo b/www/py-django-treebeard/distinfo
index 04d0e8cf8482..03ff55500d3d 100644
--- a/www/py-django-treebeard/distinfo
+++ b/www/py-django-treebeard/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1611419684
-SHA256 (django-treebeard-4.4.tar.gz) = f50e4eea146f7af6702decf7ef198ac1eee1fb9bb4af2c5dba276c3c48f76623
-SIZE (django-treebeard-4.4.tar.gz) = 310658
+TIMESTAMP = 1651651513
+SHA256 (django-treebeard-4.5.1.tar.gz) = 80150017725239702054e5fa64dc66e383dc13ac262c8d47ee5a82cb005969da
+SIZE (django-treebeard-4.5.1.tar.gz) = 784384