0.10.4 - Add ``logger`` parameter for the ``LoggingEventHandler`` - Replace mutable default arguments with ``if None`` implementation - Expand tests to Python 2.7 and 3.5-3.10 for GNU/Linux, macOS and Windows - [mac] Performance improvements for the ``fsevents`` module - [mac] Prevent compilation of ``watchdog_fsevents.c`` on non-macOS machines - [watchmedo] Handle shutdown events from ``SIGTERM`` and ``SIGINT`` more reliably
28 lines
1,012 B
Makefile
28 lines
1,012 B
Makefile
# $NetBSD: Makefile,v 1.11 2020/11/26 10:45:15 adam Exp $
|
|
|
|
DISTNAME= watchdog-0.10.4
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= sysutils python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=w/watchdog/}
|
|
|
|
MAINTAINER= kamelderouiche@yahoo.com
|
|
HOMEPAGE= https://github.com/gorakhargosh/watchdog
|
|
COMMENT= Filesystem events monitoring
|
|
LICENSE= apache-2.0
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-argh>=0.24.1:../../devel/py-argh
|
|
DEPENDS+= ${PYPKGPREFIX}-pathtools>=0.1.1:../../sysutils/py-pathtools
|
|
DEPENDS+= ${PYPKGPREFIX}-yaml>=3.10:../../textproc/py-yaml
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=0.3:../../devel/py-test-timeout
|
|
|
|
PYSETUPTESTTARGET= pytest
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} watchmedo watchmedo-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|