pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/py-appnope



Module Name:    pkgsrc
Committed By:   minskim
Date:           Mon Oct 28 15:34:22 UTC 2019

Modified Files:
        pkgsrc/sysutils/py-appnope: Makefile

Log Message:
sysutils/py-appnope: Fix build on Darwin

This package requires py-expat to build, because setup.py uses
platform, which in turn uses pyexpat in parsing SystemVersion.plist on
Darwin.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/py-appnope/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/py-appnope/Makefile
diff -u pkgsrc/sysutils/py-appnope/Makefile:1.1 pkgsrc/sysutils/py-appnope/Makefile:1.2
--- pkgsrc/sysutils/py-appnope/Makefile:1.1     Mon Oct 21 19:15:52 2019
+++ pkgsrc/sysutils/py-appnope/Makefile Mon Oct 28 15:34:22 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2019/10/21 19:15:52 adam Exp $
+# $NetBSD: Makefile,v 1.2 2019/10/28 15:34:22 minskim Exp $
 
 DISTNAME=      appnope-0.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,6 +12,10 @@ LICENSE=     modified-bsd
 
 ONLY_FOR_PLATFORM=     Darwin-*-*
 
+# setup.py uses platform, which in turn uses pyexpat in parsing
+# SystemVersion.plist on Darwin.
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+
 USE_LANGUAGES= # none
 
 .include "../../lang/python/distutils.mk"



Home | Main Index | Thread Index | Old Index