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: added PLIST.Darwin, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9cba08299faa
branches:  trunk
changeset: 380843:9cba08299faa
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed May 23 07:43:54 2018 +0000

description:
py-watchdog: added PLIST.Darwin, TEST_DEPENDS, ALTERNATIVES

diffstat:

 sysutils/py-watchdog/ALTERNATIVES |   1 +
 sysutils/py-watchdog/Makefile     |  11 +++++++++--
 sysutils/py-watchdog/PLIST        |   4 ++--
 sysutils/py-watchdog/PLIST.Darwin |   2 ++
 4 files changed, 14 insertions(+), 4 deletions(-)

diffs (51 lines):

diff -r 617d7d269a2e -r 9cba08299faa sysutils/py-watchdog/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-watchdog/ALTERNATIVES Wed May 23 07:43:54 2018 +0000
@@ -0,0 +1,1 @@
+bin/watchmedo @PREFIX@/bin/watchmedo-@PYVERSSUFFIX@
diff -r 617d7d269a2e -r 9cba08299faa sysutils/py-watchdog/Makefile
--- a/sysutils/py-watchdog/Makefile     Wed May 23 06:20:03 2018 +0000
+++ b/sysutils/py-watchdog/Makefile     Wed May 23 07:43:54 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2017/07/30 22:32:22 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2018/05/23 07:43:54 adam Exp $
 
 DISTNAME=      watchdog-0.8.3
+PKGREVISION=   1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    sysutils python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=w/watchdog/}
@@ -10,9 +11,15 @@
 COMMENT=       Filesystem events monitoring
 LICENSE=       apache-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-yaml>=3.10:../../textproc/py-yaml
 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-timeout>=0.3:../../devel/py-test-timeout
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} watchmedo watchmedo-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 617d7d269a2e -r 9cba08299faa sysutils/py-watchdog/PLIST
--- a/sysutils/py-watchdog/PLIST        Wed May 23 06:20:03 2018 +0000
+++ b/sysutils/py-watchdog/PLIST        Wed May 23 07:43:54 2018 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2015/12/30 14:22:34 leot Exp $
-bin/watchmedo
+@comment $NetBSD: PLIST,v 1.2 2018/05/23 07:43:54 adam Exp $
+bin/watchmedo-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
diff -r 617d7d269a2e -r 9cba08299faa sysutils/py-watchdog/PLIST.Darwin
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-watchdog/PLIST.Darwin Wed May 23 07:43:54 2018 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.Darwin,v 1.1 2018/05/23 07:43:54 adam Exp $
+${PYSITELIB}/_watchdog_fsevents.so



Home | Main Index | Thread Index | Old Index