Here is updated patch which remove py-argh from DEP as per upstream change.

________________________________________
发件人: Daniel Dickman <didick...@gmail.com>
发送时间: 2024年2月20日 2:31
收件人: wen heping
抄送: ports@openbsd.org
主题: Re: sysutils/py-watchdog: Update to 4.0.0



On Mon, 19 Feb 2024, wen heping wrote:

> Hi, ports@:
>
>      Here is patch for sysutils/py-watchdog to update to 4.0.0.

Thanks for the update.

I went through the changelog and they mentioned dropping the DEP on
py-argh. Can we remove it?

>      It build well and run well on amd64-current system. 7 tests
> failed in all 100+ tests, while 10 tests failed in current version.
>
>     Only 1 port depends on it: devel/spyder/spyder, upstream require
> watchdog>=0.10.3. And it build well and run well with this update.

Again, looking through the changelog it seems like this release has python
3.8 to 3.12 support which is good, so I think it's a useful update just
curious what you tested already? Just launching spyder? Or did you do more
extensive tests as well?

>
>
> Cheers !
> wen
Index: sysutils/py-watchdog/Makefile
===================================================================
RCS file: /cvs/ports/sysutils/py-watchdog/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- sysutils/py-watchdog/Makefile       21 Nov 2023 11:34:30 -0000      1.2
+++ sysutils/py-watchdog/Makefile       20 Feb 2024 11:10:06 -0000
@@ -1,7 +1,6 @@
 COMMENT =              filesystem event monitoring
 
-# XXX restrictive version spec in spyder3
-MODPY_EGG_VERSION =    1.0.2
+MODPY_EGG_VERSION =    4.0.0
 DISTNAME =             watchdog-${MODPY_EGG_VERSION}
 PKGNAME =              py-${DISTNAME}
 
@@ -19,7 +18,6 @@ MODPY_PI =            Yes
 MODPY_PYBUILD =                setuptools
 
 TEST_DEPENDS =         devel/py-test-cov${MODPY_FLAVOR} \
-                       devel/py-argh${MODPY_FLAVOR} \
                        devel/py-flaky${MODPY_FLAVOR} \
                        textproc/py-yaml${MODPY_FLAVOR}
 
Index: sysutils/py-watchdog/distinfo
===================================================================
RCS file: /cvs/ports/sysutils/py-watchdog/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- sysutils/py-watchdog/distinfo       16 Sep 2023 18:19:57 -0000      1.1.1.1
+++ sysutils/py-watchdog/distinfo       20 Feb 2024 11:10:06 -0000
@@ -1,2 +1,2 @@
-SHA256 (watchdog-1.0.2.tar.gz) = N2y8KjXAOSsP5/8W+8GzA/2Z1N2ZEatVge6daa3IiYI=
-SIZE (watchdog-1.0.2.tar.gz) = 98483
+SHA256 (watchdog-4.0.0.tar.gz) = 4+cGXL2r5hg6uCGZ16T2s7oKQ4xaUSpoVZhGzLdqeOw=
+SIZE (watchdog-4.0.0.tar.gz) = 126415
Index: sysutils/py-watchdog/pkg/PLIST
===================================================================
RCS file: /cvs/ports/sysutils/py-watchdog/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- sysutils/py-watchdog/pkg/PLIST      16 Sep 2023 18:19:57 -0000      1.1.1.1
+++ sysutils/py-watchdog/pkg/PLIST      20 Feb 2024 11:10:06 -0000
@@ -55,6 +55,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/watchdog/observers/polling.py
 
lib/python${MODPY_VERSION}/site-packages/watchdog/observers/read_directory_changes.py
 lib/python${MODPY_VERSION}/site-packages/watchdog/observers/winapi.py
+lib/python${MODPY_VERSION}/site-packages/watchdog/py.typed
 lib/python${MODPY_VERSION}/site-packages/watchdog/tricks/
 lib/python${MODPY_VERSION}/site-packages/watchdog/tricks/__init__.py
 
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/watchdog/tricks/${MODPY_PYCACHE}/
@@ -73,15 +74,21 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/watchdog/utils/${MODPY_PYCACHE}dirsnapshot.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/watchdog/utils/${MODPY_PYCACHE}echo.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
 
lib/python${MODPY_VERSION}/site-packages/watchdog/utils/${MODPY_PYCACHE}echo.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/watchdog/utils/${MODPY_PYCACHE}event_debouncer.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
+lib/python${MODPY_VERSION}/site-packages/watchdog/utils/${MODPY_PYCACHE}event_debouncer.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/watchdog/utils/${MODPY_PYCACHE}patterns.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
 
lib/python${MODPY_VERSION}/site-packages/watchdog/utils/${MODPY_PYCACHE}patterns.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/watchdog/utils/${MODPY_PYCACHE}platform.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
 
lib/python${MODPY_VERSION}/site-packages/watchdog/utils/${MODPY_PYCACHE}platform.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/watchdog/utils/${MODPY_PYCACHE}process_watcher.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
+lib/python${MODPY_VERSION}/site-packages/watchdog/utils/${MODPY_PYCACHE}process_watcher.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/watchdog/utils/bricks.py
 lib/python${MODPY_VERSION}/site-packages/watchdog/utils/delayed_queue.py
 lib/python${MODPY_VERSION}/site-packages/watchdog/utils/dirsnapshot.py
 lib/python${MODPY_VERSION}/site-packages/watchdog/utils/echo.py
+lib/python${MODPY_VERSION}/site-packages/watchdog/utils/event_debouncer.py
 lib/python${MODPY_VERSION}/site-packages/watchdog/utils/patterns.py
 lib/python${MODPY_VERSION}/site-packages/watchdog/utils/platform.py
+lib/python${MODPY_VERSION}/site-packages/watchdog/utils/process_watcher.py
 lib/python${MODPY_VERSION}/site-packages/watchdog/version.py
 lib/python${MODPY_VERSION}/site-packages/watchdog/watchmedo.py

Reply via email to