Python API library and shell utilities to monitor file system events.
Directory monitoring is made easy with
* A cross-platform API.
* A shell tool to run commands in response to directory changes.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-watchdog listed in the above command, you can pick from the names under the Packages section.
===> The following configuration options are available for py311-watchdog-6.0.0:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
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>
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
devel/py-watchdog: add a patch to enable inotify
- The port does not currently work with the inotify observer
as the inotify functions are no longer in the base system/libc.
The patch adds a lib_depend on devel/libinotify and patches
the appropriate file in the port.
- Bump PORTREVISION
PR: 260939
Reported by: Robert Kruss <rob.kruus@gmail.com>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Update Sphinx
- Repocopy textproc/py-sphinx to textproc/py-sphinx18
Update it to 1.8.5 (latest version from 1.8.X).
This version supports Python 2 and 3.
Add test target.
- textproc/py-sphinx: Update to 3.0.2
Python 3 only (3.5+).
Add test target.
- Mk/Uses/python.mk: Add PY_SPHINX
(Only the first 15 lines of the commit message are shown above )
Use the correct variable for dependency lines.
PKGNAMEPREFIX the name of the current package prefix, it is not correct
to use it for other package names.
Sponsored by: Absolight
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.
Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.
Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)
Reviewed by: antoine, bapt
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3336
devel/py-watchdog: support staging and do general clean-up
- do not use easy_install for installation and convert to auto-generated packing
list
- add staging support
- remove inclusion of devel/py-virtualenv/files/py3k-fix-pkg-plist.inc - it's
implemented in bsd.python.mk
- install docs into staging area uncoditionally
- add slash to pkg-descr:WWW
- bump PORTREVISION because of package change
Approved by: nivit (maintainer, explicitly for such changes in his ports)
Python API library and shell utilities to monitor file system events.
Directory monitoring is made easy with
* A cross-platform API.
* A shell tool to run commands in response to directory changes.
WWW: http://github.com/gorakhargosh/watchdog