pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/py-qt5



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Tue Apr 28 05:47:25 UTC 2020

Modified Files:
        pkgsrc/x11/py-qt5: Makefile PLIST

Log Message:
x11/py-qt5: add dbus option


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 pkgsrc/x11/py-qt5/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/x11/py-qt5/PLIST

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

Modified files:

Index: pkgsrc/x11/py-qt5/Makefile
diff -u pkgsrc/x11/py-qt5/Makefile:1.56 pkgsrc/x11/py-qt5/Makefile:1.57
--- pkgsrc/x11/py-qt5/Makefile:1.56     Sun Apr 12 06:24:30 2020
+++ pkgsrc/x11/py-qt5/Makefile  Tue Apr 28 05:47:25 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2020/04/12 06:24:30 adam Exp $
+# $NetBSD: Makefile,v 1.57 2020/04/28 05:47:25 riastradh Exp $
 
 DISTNAME=      PyQt5-5.14.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/PyQt5/qt5/}
@@ -71,6 +71,17 @@ post-install:
        ${MV} pyrcc5 pyrcc5-${PYVERSSUFFIX} && \
        ${MV} pyuic5 pyuic5-${PYVERSSUFFIX} || ${TRUE}
 
+PKG_OPTIONS_VAR=       PKG_OPTIONS.py-qt5
+PKG_SUPPORTED_OPTIONS+=        dbus
+PKG_SUGGESTED_OPTIONS+=        dbus
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=   dbus
+.if !empty(PKG_OPTIONS:Mdbus)
+PLIST.dbus=    yes
+.endif
+
 .include "../../lang/python/extension.mk"
 .include "../../sysutils/dbus-python-common/buildlink3.mk"
 .include "../../sysutils/py-dbus/buildlink3.mk"

Index: pkgsrc/x11/py-qt5/PLIST
diff -u pkgsrc/x11/py-qt5/PLIST:1.15 pkgsrc/x11/py-qt5/PLIST:1.16
--- pkgsrc/x11/py-qt5/PLIST:1.15        Sun Apr 12 06:24:30 2020
+++ pkgsrc/x11/py-qt5/PLIST     Tue Apr 28 05:47:25 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2020/04/12 06:24:30 adam Exp $
+@comment $NetBSD: PLIST,v 1.16 2020/04/28 05:47:25 riastradh Exp $
 bin/pylupdate5-${PYVERSSUFFIX}
 bin/pyrcc5-${PYVERSSUFFIX}
 bin/pyuic5-${PYVERSSUFFIX}
@@ -8,8 +8,8 @@ ${PYSITELIB}/PyQt5-${PKGVERSION}.dist-in
 ${PYSITELIB}/PyQt5/Qt.so
 ${PLIST.py3x}${PYSITELIB}/PyQt5/QtCore.pyi
 ${PYSITELIB}/PyQt5/QtCore.so
-${PLIST.py3x}${PYSITELIB}/PyQt5/QtDBus.pyi
-${PYSITELIB}/PyQt5/QtDBus.so
+${PLIST.dbus}${PLIST.py3x}${PYSITELIB}/PyQt5/QtDBus.pyi
+${PLIST.dbus}${PYSITELIB}/PyQt5/QtDBus.so
 ${PLIST.py3x}${PYSITELIB}/PyQt5/QtDesigner.pyi
 ${PYSITELIB}/PyQt5/QtDesigner.so
 ${PLIST.py3x}${PYSITELIB}/PyQt5/QtGui.pyi



Home | Main Index | Thread Index | Old Index