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: Temporarily disable ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8530b37b24c8
branches:  trunk
changeset: 423232:8530b37b24c8
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Feb 13 13:48:38 2020 +0000

description:
py-watchdog: Temporarily disable fsevents on macOS.

The python27 incompatibility from pyobjc creates huge problems as now every
recursive dependency of this package would also need to manually handle this
only on Darwin.  That's too much work to fix for now when we just need bulk
builds to not be broken.

diffstat:

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

diffs (34 lines):

diff -r c6e21a42ace7 -r 8530b37b24c8 sysutils/py-watchdog/Makefile
--- a/sysutils/py-watchdog/Makefile     Thu Feb 13 13:46:33 2020 +0000
+++ b/sysutils/py-watchdog/Makefile     Thu Feb 13 13:48:38 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2020/02/12 22:26:30 jperkin Exp $
+# $NetBSD: Makefile,v 1.9 2020/02/13 13:48:38 jperkin Exp $
 
 DISTNAME=      watchdog-0.10.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -18,11 +18,13 @@
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=0.3:../../devel/py-test-timeout
 
-.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "Darwin"
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-DEPENDS+=      ${PYPKGPREFIX}-pyobjc-framework-FSEvents>=4.2.2:../../devel/py-pyobjc-framework-FSEvents
-.endif
+# This creates huge issues as every recursive dependency of this package would
+# also need a conditional exclusion of python27 on macOS.
+#.include "../../mk/bsd.prefs.mk"
+#.if ${OPSYS} == "Darwin"
+#PYTHON_VERSIONS_INCOMPATIBLE= 27
+#DEPENDS+=     ${PYPKGPREFIX}-pyobjc-framework-FSEvents>=4.2.2:../../devel/py-pyobjc-framework-FSEvents
+#.endif
 
 PYSETUPTESTTARGET=     pytest
 
diff -r c6e21a42ace7 -r 8530b37b24c8 sysutils/py-watchdog/PLIST.Darwin
--- a/sysutils/py-watchdog/PLIST.Darwin Thu Feb 13 13:46:33 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-@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