git: 5e9e57d74912 - main - www/py-livereload: Update to 2.7.1

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sun, 13 Apr 2025 13:57:20 UTC
The branch main has been updated by kai:

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

commit 5e9e57d749128a7ddf4d673ecd5fd427ab04d538
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2025-04-13 13:52:54 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2025-04-13 13:52:54 +0000

    www/py-livereload: Update to 2.7.1
    
    * Switch to the PEP517 build framework.
    * Hook up the testsuite as well to make future QA easier.
    
    Changelog since 2.6.1:
    
    https://github.com/lepture/python-livereload/blob/v2.7.1/CHANGES.rst
---
 www/py-livereload/Makefile | 12 +++++++-----
 www/py-livereload/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/www/py-livereload/Makefile b/www/py-livereload/Makefile
index 8431cf3910b9..7ab3798a5806 100644
--- a/www/py-livereload/Makefile
+++ b/www/py-livereload/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	livereload
-DISTVERSION=	2.6.1
-PORTREVISION=	1
+DISTVERSION=	2.7.1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +11,14 @@ WWW=		https://github.com/lepture/python-livereload
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado@${PY_FLAVOR}
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils concurrent autoplist
+USE_PYTHON=	autoplist concurrent pep517 pytest
+
+TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 NO_ARCH=	yes
 
diff --git a/www/py-livereload/distinfo b/www/py-livereload/distinfo
index d4bcb5936cd0..fc20046d81bf 100644
--- a/www/py-livereload/distinfo
+++ b/www/py-livereload/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1557667071
-SHA256 (livereload-2.6.1.tar.gz) = 89254f78d7529d7ea0a3417d224c34287ebfe266b05e67e51facaf82c27f0f66
-SIZE (livereload-2.6.1.tar.gz) = 23226
+TIMESTAMP = 1744549224
+SHA256 (livereload-2.7.1.tar.gz) = 3d9bf7c05673df06e32bea23b494b8d36ca6d10f7d5c3c8a6989608c09c986a9
+SIZE (livereload-2.7.1.tar.gz) = 22255