py-watchdog: update to 3.0.0. 3.0.0 ~~~~~ - Drop support for Python 3.6. - ``watchdog`` is now PEP 561 compatible, and tested with ``mypy`` - Fix missing ``>`` in ``FileSystemEvent.__repr__()`` (`#980 <https://github.com/gorakhargosh/watchdog/pull/980>`__) - [ci] Lots of improvements - [inotify] Return from ``InotifyEmitter.queue_events()`` if not launched when thread is inactive (`#963 <https://github.com/gorakhargosh/watchdog/pull/963>`__) - [tests] Stability improvements - [utils] Remove handling of ``threading.Event.isSet`` spelling (`#962 <https://github.com/gorakhargosh/watchdog/pull/962>`__) - [watchmedo] Fixed tricks YAML generation (`#965 <https://github.com/gorakhargosh/watchdog/pull/965>`__) - Thanks to our beloved contributors: @kurtmckee, @altendky, @agroszer, @BoboTiG 2.3.1 ~~~~~ - Run ``black`` on the entire source code - Bundle the ``requirements-tests.txt`` file in the source distribution (`#939 <https://github.com/gorakhargosh/watchdog/pull/939>`__) - [watchmedo] Exclude ``FileOpenedEvent`` events from ``AutoRestartTrick``, and ``ShellCommandTrick``, to restore watchdog < 2.3.0 behavior. A better solution should be found in the future. (`#949 <https://github.com/gorakhargosh/watchdog/pull/949>`__) - [watchmedo] Log ``FileOpenedEvent``, and ``FileClosedEvent``, events in ``LoggerTrick`` - Thanks to our beloved contributors: @BoboTiG 2.3.0 ~~~~~ - [inotify] Add support for ``IN_OPEN`` events: a ``FileOpenedEvent`` event will be fired (`#941 <https://github.com/gorakhargosh/watchdog/pull/941>`__) - [watchmedo] Add optional event debouncing for ``auto-restart``, only restarting once if many events happen in quick succession (``--debounce-interval``) (`#940 <https://github.com/gorakhargosh/watchdog/pull/940>`__) - [watchmedo] Exit gracefully on ``KeyboardInterrupt`` exception (Ctrl+C) (`#945 <https://github.com/gorakhargosh/watchdog/pull/945>`__) - [watchmedo] Add option to not auto-restart the command after it exits (``--no-restart-on-command-exit``) (`#946 <https://github.com/gorakhargosh/watchdog/pull/946>`__) - Thanks to our beloved contributors: @BoboTiG, @dstaple, @taleinat, @cernekj 2.2.1 ~~~~~ - Enable ``mypy`` to discover type hints as specified in PEP 561 (`#933 <https://github.com/gorakhargosh/watchdog/pull/933>`__) - [ci] Set the expected Python version when building release files - [ci] Update actions versions in use - [watchmedo] [regression] Fix usage of missing ``signal.SIGHUP`` attribute on non-Unix OSes (`#935 <https://github.com/gorakhargosh/watchdog/pull/935>`__) - Thanks to our beloved contributors: @BoboTiG, @simon04, @piotrpdev 2.2.0 ~~~~~ - [build] Wheels are now available for Python 3.11 (`#932 <https://github.com/gorakhargosh/watchdog/pull/932>`__) - [documentation] HTML documentation builds are now tested for errors (`#902 <https://github.com/gorakhargosh/watchdog/pull/902>`__) - [documentation] Fix typos here, and there (`#910 <https://github.com/gorakhargosh/watchdog/pull/910>`__) - [fsevents2] The ``fsevents2`` observer is now deprecated (`#909 <https://github.com/gorakhargosh/watchdog/pull/909>`__) - [tests] The error message returned by musl libc for error code ``-1`` is now allowed (`#923 <https://github.com/gorakhargosh/watchdog/pull/923>`__) - [utils] Remove unnecessary code in ``dirsnapshot.py`` (`#930 <https://github.com/gorakhargosh/watchdog/pull/930>`__) - [watchmedo] Handle shutdown events from ``SIGHUP`` (`#912 <https://github.com/gorakhargosh/watchdog/pull/912>`__) - Thanks to our beloved contributors: @kurtmckee, @babymastodon, @QuantumEnergyE, @timgates42, @BoboTiGdiff -r1.15 -r1.16 pkgsrc/sysutils/py-watchdog/Makefile
(wiz)
@@ -1,30 +1,34 @@ | @@ -1,30 +1,34 @@ | |||
1 | # $NetBSD: Makefile,v 1.15 2022/11/14 17:24:37 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.16 2023/05/05 11:39:41 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= watchdog-2.1.9 | 3 | DISTNAME= watchdog-3.0.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= sysutils python | 5 | CATEGORIES= sysutils python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=w/watchdog/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=w/watchdog/} | |
7 | 7 | |||
8 | MAINTAINER= kamelderouiche@yahoo.com | 8 | MAINTAINER= kamelderouiche@yahoo.com | |
9 | HOMEPAGE= https://github.com/gorakhargosh/watchdog | 9 | HOMEPAGE= https://github.com/gorakhargosh/watchdog | |
10 | COMMENT= Filesystem events monitoring | 10 | COMMENT= Filesystem events monitoring | |
11 | LICENSE= apache-2.0 | 11 | LICENSE= apache-2.0 | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-yaml>=3.10:../../textproc/py-yaml | 13 | DEPENDS+= ${PYPKGPREFIX}-yaml>=3.10:../../textproc/py-yaml | |
14 | TEST_DEPENDS+= ${PYPKGPREFIX}-mypy-[0-9]*:../../lang/py-mypy | |||
14 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | 15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | |
15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov | 16 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov | |
16 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=0.3:../../devel/py-test-timeout | 17 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=0.3:../../devel/py-test-timeout | |
17 | 18 | |||
18 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 19 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
19 | 20 | |||
20 | # 3 failed, 135 passed, 13 skipped, 20 warnings | |||
21 | PYSETUPTESTTARGET= pytest | |||
22 | ||||
23 | USE_PKG_RESOURCES= yes | 21 | USE_PKG_RESOURCES= yes | |
24 | 22 | |||
23 | TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib | |||
24 | # as of 3.0.0 | |||
25 | # 3 failed, 141 passed, 13 skipped, 20 warnings, 1 error | |||
26 | do-test: | |||
27 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} | |||
28 | ||||
25 | post-install: | 29 | post-install: | |
26 | cd ${DESTDIR}${PREFIX}/bin && \ | 30 | cd ${DESTDIR}${PREFIX}/bin && \ | |
27 | ${MV} watchmedo watchmedo-${PYVERSSUFFIX} || ${TRUE} | 31 | ${MV} watchmedo watchmedo-${PYVERSSUFFIX} || ${TRUE} | |
28 | 32 | |||
29 | .include "../../lang/python/egg.mk" | 33 | .include "../../lang/python/egg.mk" | |
30 | .include "../../mk/bsd.pkg.mk" | 34 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2022/11/14 17:24:37 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2023/05/05 11:39:41 wiz Exp $ | |
2 | bin/watchmedo-${PYVERSSUFFIX} | 2 | bin/watchmedo-${PYVERSSUFFIX} | |
3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | 6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | 7 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | |
8 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 8 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |
9 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 9 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
10 | ${PYSITELIB}/watchdog/__init__.py | 10 | ${PYSITELIB}/watchdog/__init__.py | |
11 | ${PYSITELIB}/watchdog/__init__.pyc | 11 | ${PYSITELIB}/watchdog/__init__.pyc | |
12 | ${PYSITELIB}/watchdog/__init__.pyo | 12 | ${PYSITELIB}/watchdog/__init__.pyo | |
13 | ${PYSITELIB}/watchdog/events.py | 13 | ${PYSITELIB}/watchdog/events.py | |
14 | ${PYSITELIB}/watchdog/events.pyc | 14 | ${PYSITELIB}/watchdog/events.pyc | |
@@ -36,44 +36,48 @@ ${PYSITELIB}/watchdog/observers/inotify_ | @@ -36,44 +36,48 @@ ${PYSITELIB}/watchdog/observers/inotify_ | |||
36 | ${PYSITELIB}/watchdog/observers/inotify_c.pyo | 36 | ${PYSITELIB}/watchdog/observers/inotify_c.pyo | |
37 | ${PYSITELIB}/watchdog/observers/kqueue.py | 37 | ${PYSITELIB}/watchdog/observers/kqueue.py | |
38 | ${PYSITELIB}/watchdog/observers/kqueue.pyc | 38 | ${PYSITELIB}/watchdog/observers/kqueue.pyc | |
39 | ${PYSITELIB}/watchdog/observers/kqueue.pyo | 39 | ${PYSITELIB}/watchdog/observers/kqueue.pyo | |
40 | ${PYSITELIB}/watchdog/observers/polling.py | 40 | ${PYSITELIB}/watchdog/observers/polling.py | |
41 | ${PYSITELIB}/watchdog/observers/polling.pyc | 41 | ${PYSITELIB}/watchdog/observers/polling.pyc | |
42 | ${PYSITELIB}/watchdog/observers/polling.pyo | 42 | ${PYSITELIB}/watchdog/observers/polling.pyo | |
43 | ${PYSITELIB}/watchdog/observers/read_directory_changes.py | 43 | ${PYSITELIB}/watchdog/observers/read_directory_changes.py | |
44 | ${PYSITELIB}/watchdog/observers/read_directory_changes.pyc | 44 | ${PYSITELIB}/watchdog/observers/read_directory_changes.pyc | |
45 | ${PYSITELIB}/watchdog/observers/read_directory_changes.pyo | 45 | ${PYSITELIB}/watchdog/observers/read_directory_changes.pyo | |
46 | ${PYSITELIB}/watchdog/observers/winapi.py | 46 | ${PYSITELIB}/watchdog/observers/winapi.py | |
47 | ${PYSITELIB}/watchdog/observers/winapi.pyc | 47 | ${PYSITELIB}/watchdog/observers/winapi.pyc | |
48 | ${PYSITELIB}/watchdog/observers/winapi.pyo | 48 | ${PYSITELIB}/watchdog/observers/winapi.pyo | |
49 | ${PYSITELIB}/watchdog/py.typed | |||
49 | ${PYSITELIB}/watchdog/tricks/__init__.py | 50 | ${PYSITELIB}/watchdog/tricks/__init__.py | |
50 | ${PYSITELIB}/watchdog/tricks/__init__.pyc | 51 | ${PYSITELIB}/watchdog/tricks/__init__.pyc | |
51 | ${PYSITELIB}/watchdog/tricks/__init__.pyo | 52 | ${PYSITELIB}/watchdog/tricks/__init__.pyo | |
52 | ${PYSITELIB}/watchdog/utils/__init__.py | 53 | ${PYSITELIB}/watchdog/utils/__init__.py | |
53 | ${PYSITELIB}/watchdog/utils/__init__.pyc | 54 | ${PYSITELIB}/watchdog/utils/__init__.pyc | |
54 | ${PYSITELIB}/watchdog/utils/__init__.pyo | 55 | ${PYSITELIB}/watchdog/utils/__init__.pyo | |
55 | ${PYSITELIB}/watchdog/utils/bricks.py | 56 | ${PYSITELIB}/watchdog/utils/bricks.py | |
56 | ${PYSITELIB}/watchdog/utils/bricks.pyc | 57 | ${PYSITELIB}/watchdog/utils/bricks.pyc | |
57 | ${PYSITELIB}/watchdog/utils/bricks.pyo | 58 | ${PYSITELIB}/watchdog/utils/bricks.pyo | |
58 | ${PYSITELIB}/watchdog/utils/delayed_queue.py | 59 | ${PYSITELIB}/watchdog/utils/delayed_queue.py | |
59 | ${PYSITELIB}/watchdog/utils/delayed_queue.pyc | 60 | ${PYSITELIB}/watchdog/utils/delayed_queue.pyc | |
60 | ${PYSITELIB}/watchdog/utils/delayed_queue.pyo | 61 | ${PYSITELIB}/watchdog/utils/delayed_queue.pyo | |
61 | ${PYSITELIB}/watchdog/utils/dirsnapshot.py | 62 | ${PYSITELIB}/watchdog/utils/dirsnapshot.py | |
62 | ${PYSITELIB}/watchdog/utils/dirsnapshot.pyc | 63 | ${PYSITELIB}/watchdog/utils/dirsnapshot.pyc | |
63 | ${PYSITELIB}/watchdog/utils/dirsnapshot.pyo | 64 | ${PYSITELIB}/watchdog/utils/dirsnapshot.pyo | |
64 | ${PYSITELIB}/watchdog/utils/echo.py | 65 | ${PYSITELIB}/watchdog/utils/echo.py | |
65 | ${PYSITELIB}/watchdog/utils/echo.pyc | 66 | ${PYSITELIB}/watchdog/utils/echo.pyc | |
66 | ${PYSITELIB}/watchdog/utils/echo.pyo | 67 | ${PYSITELIB}/watchdog/utils/echo.pyo | |
68 | ${PYSITELIB}/watchdog/utils/event_debouncer.py | |||
69 | ${PYSITELIB}/watchdog/utils/event_debouncer.pyc | |||
70 | ${PYSITELIB}/watchdog/utils/event_debouncer.pyo | |||
67 | ${PYSITELIB}/watchdog/utils/patterns.py | 71 | ${PYSITELIB}/watchdog/utils/patterns.py | |
68 | ${PYSITELIB}/watchdog/utils/patterns.pyc | 72 | ${PYSITELIB}/watchdog/utils/patterns.pyc | |
69 | ${PYSITELIB}/watchdog/utils/patterns.pyo | 73 | ${PYSITELIB}/watchdog/utils/patterns.pyo | |
70 | ${PYSITELIB}/watchdog/utils/platform.py | 74 | ${PYSITELIB}/watchdog/utils/platform.py | |
71 | ${PYSITELIB}/watchdog/utils/platform.pyc | 75 | ${PYSITELIB}/watchdog/utils/platform.pyc | |
72 | ${PYSITELIB}/watchdog/utils/platform.pyo | 76 | ${PYSITELIB}/watchdog/utils/platform.pyo | |
73 | ${PYSITELIB}/watchdog/utils/process_watcher.py | 77 | ${PYSITELIB}/watchdog/utils/process_watcher.py | |
74 | ${PYSITELIB}/watchdog/utils/process_watcher.pyc | 78 | ${PYSITELIB}/watchdog/utils/process_watcher.pyc | |
75 | ${PYSITELIB}/watchdog/utils/process_watcher.pyo | 79 | ${PYSITELIB}/watchdog/utils/process_watcher.pyo | |
76 | ${PYSITELIB}/watchdog/version.py | 80 | ${PYSITELIB}/watchdog/version.py | |
77 | ${PYSITELIB}/watchdog/version.pyc | 81 | ${PYSITELIB}/watchdog/version.pyc | |
78 | ${PYSITELIB}/watchdog/version.pyo | 82 | ${PYSITELIB}/watchdog/version.pyo | |
79 | ${PYSITELIB}/watchdog/watchmedo.py | 83 | ${PYSITELIB}/watchdog/watchmedo.py |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.9 2022/11/14 17:24:37 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.10 2023/05/05 11:39:41 wiz Exp $ | |
2 | 2 | |||
3 | BLAKE2s (watchdog-2.1.9.tar.gz) = 4dae6dac7cefa2ddc701867c180bd0b3f9b945258554fb2eb39b9859533b93d9 | 3 | BLAKE2s (watchdog-3.0.0.tar.gz) = ee9358f8c6cb50cc5d94a233219901bf15de8cbcc4abe3ddd6453708e670abb8 | |
4 | SHA512 (watchdog-2.1.9.tar.gz) = 677aa6d066d7fc6b68ed4a78811aeb0340f02133a64e4f4923996dcdbcae99ef7d1acc224604bcbc6f374d1843ac0faf8f8bce797b68d44ed178cf35dfc3e4c7 | 4 | SHA512 (watchdog-3.0.0.tar.gz) = fa1421b01af99d7fa676c9077b2330ead17c004d9bb9e9edd78d4bbf87cf41624ecd669ca48613d99be2109373bbab4e004b69665d2ca42e082573e4740c13d0 | |
5 | Size (watchdog-2.1.9.tar.gz) = 119171 bytes | 5 | Size (watchdog-3.0.0.tar.gz) = 124593 bytes |