pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/py-appnope sysutils/py-appnope: Fix build on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/77deab6cc991
branches:  trunk
changeset: 416674:77deab6cc991
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Oct 28 15:34:22 2019 +0000

description:
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.

diffstat:

 sysutils/py-appnope/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 957c9883680a -r 77deab6cc991 sysutils/py-appnope/Makefile
--- a/sysutils/py-appnope/Makefile      Mon Oct 28 15:32:24 2019 +0000
+++ b/sysutils/py-appnope/Makefile      Mon Oct 28 15:34:22 2019 +0000
@@ -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 @@
 
 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