git: 54bc63f7e28c - main - devel/py-watchdog: Update to 2.2.0

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Mon, 05 Dec 2022 20:32:03 UTC
The branch main has been updated by nivit:

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

commit 54bc63f7e28c497a9a696626f159248ecf45b1f8
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2022-12-05 20:29:34 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2022-12-05 20:29:34 +0000

    devel/py-watchdog: Update to 2.2.0
    
    - Add pytest to USES, and therefore remove to-test target
    
    Changelog:      https://github.com/gorakhargosh/watchdog/releases/tag/v2.2.0
---
 devel/py-watchdog/Makefile | 11 +++--------
 devel/py-watchdog/distinfo |  6 +++---
 2 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/devel/py-watchdog/Makefile b/devel/py-watchdog/Makefile
index 3b6c5f88d013..7682f6fa54ec 100644
--- a/devel/py-watchdog/Makefile
+++ b/devel/py-watchdog/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	watchdog
-DISTVERSION=	2.1.9
-PORTREVISION=	1
+DISTVERSION=	2.2.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,10 +12,9 @@ LICENSE=	APACHE20
 
 LIB_DEPENDS=	libinotify.so:devel/libinotify
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yaml>=3.10:devel/py-yaml@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flaky>0:devel/py-flaky@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flaky>0:devel/py-flaky@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		python:3.7+ pytest
 USE_PYTHON=	autoplist concurrent distutils
 
 TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
@@ -39,7 +37,4 @@ post-install-DOCS-on:
 	(cd ${WRKSRC}/docs/build/html ; \
 	${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -name .buildinfo")
 
-do-test:
-	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= tests
-
 .include <bsd.port.mk>
diff --git a/devel/py-watchdog/distinfo b/devel/py-watchdog/distinfo
index a697ebe6dfa5..7e308ce4a7eb 100644
--- a/devel/py-watchdog/distinfo
+++ b/devel/py-watchdog/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1661769239
-SHA256 (watchdog-2.1.9.tar.gz) = 43ce20ebb36a51f21fa376f76d1d4692452b2527ccd601950d69ed36b9e21609
-SIZE (watchdog-2.1.9.tar.gz) = 119171
+TIMESTAMP = 1670270448
+SHA256 (watchdog-2.2.0.tar.gz) = 83cf8bc60d9c613b66a4c018051873d6273d9e45d040eed06d6a96241bd8ec01
+SIZE (watchdog-2.2.0.tar.gz) = 119214