git: 65f029aa5db7 - main - devel/py-watchdog: Update to 4.0.2

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Sun, 11 Aug 2024 08:28:53 UTC
The branch main has been updated by nivit:

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

commit 65f029aa5db729e0c31ce6bcfccb2cc20d310d63
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2024-08-11 08:21:01 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2024-08-11 08:28:34 +0000

    devel/py-watchdog: Update to 4.0.2
    
    - Mark a couple of tests as broken/ignored due to the following errors:
    
      * test_eventlet_monkey_patching (ignored):
        NotImplementedError: unsupported platform
        site-packages/trio/_core/_run.py:2843: NotImplementedError
      * test_observers_polling (broken):
        FileNotFoundError: [Errno 2] No such file or directory: /tmp/tmp*
        src/watchdog/utils/dirsnapshot.py:318: FileNotFoundError
    
    Release changes:        https://github.com/gorakhargosh/watchdog/releases/tag/v4.0.2
    Reported by:    Mickaƫl Schoentgen <notifications@github.com>
---
 devel/py-watchdog/Makefile | 10 ++++++++--
 devel/py-watchdog/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/devel/py-watchdog/Makefile b/devel/py-watchdog/Makefile
index e1eada080feb..316451fd39f5 100644
--- a/devel/py-watchdog/Makefile
+++ b/devel/py-watchdog/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	watchdog
-DISTVERSION=	4.0.1
-PORTREVISION=	1
+DISTVERSION=	4.0.2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -28,6 +27,13 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}eventlet>0:net/py-eventlet@${PY_FLAVOR} \
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517 pytest
 
+# NotImplementedError: unsupported platform
+# site-packages/trio/_core/_run.py:2843: NotImplementedError
+PYTEST_IGNORED_TESTS=	test_eventlet_monkey_patching
+# FileNotFoundError: [Errno 2] No such file or directory: /tmp/tmp*
+# src/watchdog/utils/dirsnapshot.py:318: FileNotFoundError
+PYTEST_BROKEN_TESTS=	test_observers_polling
+# tests: 144 passed, 11 skipped, 3 deselected
 TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
diff --git a/devel/py-watchdog/distinfo b/devel/py-watchdog/distinfo
index 407d8e4ed6a2..55281d81b43e 100644
--- a/devel/py-watchdog/distinfo
+++ b/devel/py-watchdog/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1716567546
-SHA256 (watchdog-4.0.1.tar.gz) = eebaacf674fa25511e8867028d281e602ee6500045b57f43b08778082f7f8b44
-SIZE (watchdog-4.0.1.tar.gz) = 126583
+TIMESTAMP = 1723362630
+SHA256 (watchdog-4.0.2.tar.gz) = b4dfbb6c49221be4535623ea4474a4d6ee0a9cef4a80b20c28db4d858b64e270
+SIZE (watchdog-4.0.2.tar.gz) = 126587