pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/py-watchdog py-watchdog: updated to 0.10.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c938428e1611
branches:  trunk
changeset: 422930:c938428e1611
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Feb 06 20:56:54 2020 +0000

description:
py-watchdog: updated to 0.10.1

0.10.1
Fixed Python 2.7 to 3.6 installation when the OS locale is set to POSIX
Fixed the build_ext command on macOS
Moved requirements to setup.cfg
[mac] Removed old C code for Python 2.5 in the fsevents C implementation
[snapshot] Added EmptyDirectorySnapshot

0.10.0
Breaking Changes
Dropped support for Python 2.6, 3.2 and 3.3
Emitters that failed to start are now removed
[snapshot] Removed the deprecated walker_callback argument, use stat instead
[watchmedo] The utility is no more installed by default but via the extra watchdog[watchmedo]

Other Changes
Fixed several Python 3 warnings
Identify synthesized events with is_synthetic attribute
Use os.scandir() to improve memory usage
[bsd] Fixed flavors of FreeBSD detection
[bsd] Skip unprocessable socket files
[inotify] Fixed events containing non-ASCII characters
[inotify] Fixed the way OSError are re-raised
[inotify] Fixed wrong source path after renaming a top level folder
[inotify] Removed delay from non-move events
[mac] Fixed a bug when calling FSEventsEmitter.stop() twice
[mac] Support for unscheduling deleted watch
[mac] Fixed missing field initializers and unused parameters in watchdog_fsevents.c
[snapshot] Don't walk directories without read permissions
[snapshot] Fixed a race condition crash when a directory is swapped for a file
[snasphot] Fixed an AttributeError about forgotten path_for_inode attr
[snasphot] Added the ignore_device=False parameter to the ctor (597)
[watchmedo] Fixed the path separator used
[watchmedo] Fixed the use of yaml.load() for yaml.safe_load()
[watchmedo] Handle all available signals
[watchmedo] Added the --debug-force-polling argument
[windows] Fixed issues when the observed directory is deleted
[windows] WindowsApiEmitter made easier to subclass
[windows] Use separate ctypes DLL instances
[windows] Generate sub created events only if recursive=True

diffstat:

 sysutils/py-watchdog/Makefile |  12 ++++++++++--
 sysutils/py-watchdog/PLIST    |  11 +----------
 sysutils/py-watchdog/distinfo |  10 +++++-----
 3 files changed, 16 insertions(+), 17 deletions(-)

diffs (74 lines):

diff -r 96cbb403c38f -r c938428e1611 sysutils/py-watchdog/Makefile
--- a/sysutils/py-watchdog/Makefile     Thu Feb 06 20:41:42 2020 +0000
+++ b/sysutils/py-watchdog/Makefile     Thu Feb 06 20:56:54 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2018/09/12 10:43:39 adam Exp $
+# $NetBSD: Makefile,v 1.6 2020/02/06 20:56:54 adam Exp $
 
-DISTNAME=      watchdog-0.9.0
+DISTNAME=      watchdog-0.10.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    sysutils python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=w/watchdog/}
@@ -17,6 +17,14 @@
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=0.3:../../devel/py-test-timeout
 
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Darwin"
+DEPENDS+=      ${PYPKGPREFIX}-pyobjc-framework-Cocoa>=4.2.2:../../devel/py-pyobjc-framework-Cocoa
+DEPENDS+=      ${PYPKGPREFIX}-pyobjc-framework-FSEvents>=4.2.2:../../devel/py-pyobjc-framework-FSEvents
+.endif
+
+PYSETUPTESTTARGET=     pytest
+
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && ${MV} watchmedo watchmedo-${PYVERSSUFFIX} || ${TRUE}
 
diff -r 96cbb403c38f -r c938428e1611 sysutils/py-watchdog/PLIST
--- a/sysutils/py-watchdog/PLIST        Thu Feb 06 20:41:42 2020 +0000
+++ b/sysutils/py-watchdog/PLIST        Thu Feb 06 20:56:54 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2018/05/23 07:43:54 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/02/06 20:56:54 adam Exp $
 bin/watchmedo-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -58,9 +58,6 @@
 ${PYSITELIB}/watchdog/utils/compat.py
 ${PYSITELIB}/watchdog/utils/compat.pyc
 ${PYSITELIB}/watchdog/utils/compat.pyo
-${PYSITELIB}/watchdog/utils/decorators.py
-${PYSITELIB}/watchdog/utils/decorators.pyc
-${PYSITELIB}/watchdog/utils/decorators.pyo
 ${PYSITELIB}/watchdog/utils/delayed_queue.py
 ${PYSITELIB}/watchdog/utils/delayed_queue.pyc
 ${PYSITELIB}/watchdog/utils/delayed_queue.pyo
@@ -70,12 +67,6 @@
 ${PYSITELIB}/watchdog/utils/echo.py
 ${PYSITELIB}/watchdog/utils/echo.pyc
 ${PYSITELIB}/watchdog/utils/echo.pyo
-${PYSITELIB}/watchdog/utils/event_backport.py
-${PYSITELIB}/watchdog/utils/event_backport.pyc
-${PYSITELIB}/watchdog/utils/event_backport.pyo
-${PYSITELIB}/watchdog/utils/importlib2.py
-${PYSITELIB}/watchdog/utils/importlib2.pyc
-${PYSITELIB}/watchdog/utils/importlib2.pyo
 ${PYSITELIB}/watchdog/utils/platform.py
 ${PYSITELIB}/watchdog/utils/platform.pyc
 ${PYSITELIB}/watchdog/utils/platform.pyo
diff -r 96cbb403c38f -r c938428e1611 sysutils/py-watchdog/distinfo
--- a/sysutils/py-watchdog/distinfo     Thu Feb 06 20:41:42 2020 +0000
+++ b/sysutils/py-watchdog/distinfo     Thu Feb 06 20:56:54 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2018/09/12 10:43:39 adam Exp $
+$NetBSD: distinfo,v 1.3 2020/02/06 20:56:54 adam Exp $
 
-SHA1 (watchdog-0.9.0.tar.gz) = 4ce8da6473992074374659898e97b4ab1a4c4575
-RMD160 (watchdog-0.9.0.tar.gz) = 7a6cea352e1077d76ca71c240281dcd08ce25f09
-SHA512 (watchdog-0.9.0.tar.gz) = 7e7e6ffd292ef39f06fe3648024b8cce55c343802415b13fdac881838d78b33139264ba329d95b97ab74e85cd9c8da102e1985de1622b09d436d273195f3187c
-Size (watchdog-0.9.0.tar.gz) = 85549 bytes
+SHA1 (watchdog-0.10.1.tar.gz) = 74626926346e99615ad4de5ad63fa51937354ec3
+RMD160 (watchdog-0.10.1.tar.gz) = 79d694b53127f3fe3d64ededc250679f56e71a90
+SHA512 (watchdog-0.10.1.tar.gz) = 2bca00bfa59c904400126b7ffda915c9c9a7f2d2790993ebcb2987c3b1890bd417e8f3a19b148acd0dde43e3af12a94a3a97d7c3a03d4f967d37b3caf3295f3c
+Size (watchdog-0.10.1.tar.gz) = 94879 bytes



Home | Main Index | Thread Index | Old Index