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
This commit is contained in:
Nicola Vitale 2012-09-12 09:06:06 +00:00
parent 7c95b0edba
commit 89ffb6c926
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=304140
6 changed files with 205 additions and 0 deletions

View file

@ -3493,6 +3493,7 @@
SUBDIR += py-virtualenv
SUBDIR += py-virtualenv-clone
SUBDIR += py-virtualenvwrapper
SUBDIR += py-watchdog
SUBDIR += py-wsgi_xmlrpc
SUBDIR += py-wsgitools
SUBDIR += py-wsgiutils

View file

@ -0,0 +1,54 @@
# $FreeBSD$
PORTNAME= watchdog
PORTVERSION= 0.6.0
#PORTREVISION= 0
CATEGORIES= devel
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Python API library to monitor file system events
LICENSE= AL2
RUN_DEPENDS= ${PKGNAMEPREFIX}argh>=0.15.1:${PORTSDIR}/devel/py-argh \
${PKGNAMEPREFIX}yaml>=3.10:${PORTSDIR}/devel/py-yaml \
${PKGNAMEPREFIX}pathtools>=0.1.2:${PORTSDIR}/devel/py-pathtools
GH_ACCOUNT= gorakhargosh
GH_COMMIT= 42b5dfe
GH_TAGNAME= v${PORTVERSION}
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
OPTIONS_DEFINE= DOCS
USE_GITHUB= yes
USE_PYDISTUTILS= easy_install
# Python3 ready (installation tested)
USE_PYTHON= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= ${PKGNAMEPREFIX}pathtools>=0.1.2:${PORTSDIR}/devel/py-pathtools \
${PKGNAMEPREFIX}sphinx>=1.1.3:${PORTSDIR}/textproc/py-sphinx
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
post-build:
(cd ${WRKSRC}/docs ; ${MAKE} html)
post-install:
(cd ${WRKSRC}/docs/build/html ; ${COPYTREE_SHARE} . ${DOCSDIR})
.endif
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 270 || ${PYTHON_SUFFIX} == 31
RUN_DEPENDS+= ${PKGNAMEPREFIX}argparse>=1.1:${PORTSDIR}/devel/py-argparse
.endif
.if ${PYTHON_REL} >= 320
.include "${.CURDIR}/../py-virtualenv/files/py3k-fix-pkg-plist.inc"
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1,2 @@
SHA256 (watchdog-0.6.0.tar.gz) = 1a445d20d71b06fd6f6bee8dcb9dc7426d5f7feab884e342af4ac02821f418be
SIZE (watchdog-0.6.0.tar.gz) = 85239

View file

@ -0,0 +1,13 @@
--- ./docs/source/conf.py.orig 2012-09-11 22:57:47.000000000 +0200
+++ ./docs/source/conf.py 2012-09-11 22:58:01.000000000 +0200
@@ -103,8 +103,8 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-#html_theme = 'default'
-html_theme = 'flask'
+html_theme = 'default'
+#html_theme = 'flask'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the

View file

@ -0,0 +1,8 @@
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

127
devel/py-watchdog/pkg-plist Normal file
View file

@ -0,0 +1,127 @@
@comment $FreeBSD$
bin/watchmedo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/events.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/events.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/events.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/api.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/api.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/api.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/fsevents.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/fsevents.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/fsevents.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/inotify.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/inotify.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/inotify.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/kqueue.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/kqueue.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/kqueue.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/polling.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/polling.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/polling.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/read_directory_changes.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/read_directory_changes.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/read_directory_changes.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/read_directory_changes_async.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/read_directory_changes_async.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/read_directory_changes_async.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/winapi.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/winapi.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/winapi.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/winapi_common.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/winapi_common.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers/winapi_common.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/tricks/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/tricks/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/tricks/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/__init__.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/bricks.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/bricks.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/bricks.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/decorators.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/decorators.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/decorators.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/dirsnapshot.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/dirsnapshot.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/dirsnapshot.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/echo.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/echo.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/echo.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/platform.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/platform.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils/platform.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/version.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/version.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/version.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/watchmedo.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/watchmedo.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/watchmedo.pyo
%%PORTDOCS%%%%DOCSDIR%%/.buildinfo
%%PORTDOCS%%%%DOCSDIR%%/_modules/index.html
%%PORTDOCS%%%%DOCSDIR%%/_modules/watchdog/events.html
%%PORTDOCS%%%%DOCSDIR%%/_modules/watchdog/observers.html
%%PORTDOCS%%%%DOCSDIR%%/_modules/watchdog/observers/api.html
%%PORTDOCS%%%%DOCSDIR%%/_modules/watchdog/utils.html
%%PORTDOCS%%%%DOCSDIR%%/_modules/watchdog/utils/dirsnapshot.html
%%PORTDOCS%%%%DOCSDIR%%/_sources/api.txt
%%PORTDOCS%%%%DOCSDIR%%/_sources/hacking.txt
%%PORTDOCS%%%%DOCSDIR%%/_sources/index.txt
%%PORTDOCS%%%%DOCSDIR%%/_sources/installation.txt
%%PORTDOCS%%%%DOCSDIR%%/_sources/quickstart.txt
%%PORTDOCS%%%%DOCSDIR%%/_static/ajax-loader.gif
%%PORTDOCS%%%%DOCSDIR%%/_static/basic.css
%%PORTDOCS%%%%DOCSDIR%%/_static/comment-bright.png
%%PORTDOCS%%%%DOCSDIR%%/_static/comment-close.png
%%PORTDOCS%%%%DOCSDIR%%/_static/comment.png
%%PORTDOCS%%%%DOCSDIR%%/_static/default.css
%%PORTDOCS%%%%DOCSDIR%%/_static/doctools.js
%%PORTDOCS%%%%DOCSDIR%%/_static/down-pressed.png
%%PORTDOCS%%%%DOCSDIR%%/_static/down.png
%%PORTDOCS%%%%DOCSDIR%%/_static/file.png
%%PORTDOCS%%%%DOCSDIR%%/_static/jquery.js
%%PORTDOCS%%%%DOCSDIR%%/_static/minus.png
%%PORTDOCS%%%%DOCSDIR%%/_static/plus.png
%%PORTDOCS%%%%DOCSDIR%%/_static/pygments.css
%%PORTDOCS%%%%DOCSDIR%%/_static/searchtools.js
%%PORTDOCS%%%%DOCSDIR%%/_static/sidebar.js
%%PORTDOCS%%%%DOCSDIR%%/_static/underscore.js
%%PORTDOCS%%%%DOCSDIR%%/_static/up-pressed.png
%%PORTDOCS%%%%DOCSDIR%%/_static/up.png
%%PORTDOCS%%%%DOCSDIR%%/_static/websupport.js
%%PORTDOCS%%%%DOCSDIR%%/api.html
%%PORTDOCS%%%%DOCSDIR%%/genindex.html
%%PORTDOCS%%%%DOCSDIR%%/hacking.html
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/installation.html
%%PORTDOCS%%%%DOCSDIR%%/objects.inv
%%PORTDOCS%%%%DOCSDIR%%/py-modindex.html
%%PORTDOCS%%%%DOCSDIR%%/quickstart.html
%%PORTDOCS%%%%DOCSDIR%%/search.html
%%PORTDOCS%%%%DOCSDIR%%/searchindex.js
%%PORTDOCS%%@dirrm %%DOCSDIR%%/_static
%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources
%%PORTDOCS%%@dirrm %%DOCSDIR%%/_modules/watchdog/utils
%%PORTDOCS%%@dirrm %%DOCSDIR%%/_modules/watchdog/observers
%%PORTDOCS%%@dirrm %%DOCSDIR%%/_modules/watchdog
%%PORTDOCS%%@dirrm %%DOCSDIR%%/_modules
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/utils
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/tricks
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog/observers
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/watchdog
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%