summaryrefslogtreecommitdiff
path: root/math/py-matplotlib
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2017-02-04 13:37:15 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2017-02-04 13:37:15 +0000
commit4c7d30bb708caa0cb93b401f96679728a9f52974 (patch)
treed3572a824910587e038d1100b5972b19f37005aa /math/py-matplotlib
parentRevert deprecation/broken. It turned out that an old configuration setting on my (diff)
Switch ports to use USE_PYQT=<foo> instead of using RUN_- and BUILD_DEPENDS
pyqt.mk provides USE_PYQT=<list> to depend on its components. Convert the ports not yet using it to it. Reviewed by: rakuco, mat Approved by: rakuco (mentor) Differential Revision: https://reviews.freebsd.org/D9261
Notes
Notes: svn path=/head/; revision=433310
Diffstat (limited to 'math/py-matplotlib')
-rw-r--r--math/py-matplotlib/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/math/py-matplotlib/Makefile b/math/py-matplotlib/Makefile
index 7db6095a1e7c..c36733f250be 100644
--- a/math/py-matplotlib/Makefile
+++ b/math/py-matplotlib/Makefile
@@ -44,13 +44,13 @@ GTKAGGBACKEND_USE= GNOME=gtk20,pygtk2,cairo,gdkpixbuf2
GTKAGGBACKEND_VARS= GTKAGG_BACKEND=True
GTKAGGBACKEND_VARS_OFF= GTKAGG_BACKEND=False
QT4AGGBACKEND_DESC= Qt4Agg backend support
-QT4AGGBACKEND_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=4.8.5:x11-toolkits/py-qt4-gui
-QT4AGGBACKEND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=4.8.5:x11-toolkits/py-qt4-gui
+QT4AGGBACKEND_USES= pyqt:4
+QT4AGGBACKEND_USE= PYQT=gui
QT4AGGBACKEND_VARS= QT4AGG_BACKEND=True
QT4AGGBACKEND_VARS_OFF= QT4AGG_BACKEND=False
QT5AGGBACKEND_DESC= Qt5Agg backend support
-QT5AGGBACKEND_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sip>=${SIP_VERSION}:devel/py-sip ${PYTHON_PKGNAMEPREFIX}qt5-widgets>=5.5.1:x11-toolkits/py-qt5-widgets
-QT5AGGBACKEND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sip>=${SIP_VERSION}:devel/py-sip ${PYTHON_PKGNAMEPREFIX}qt5-widgets>=5.5.1:x11-toolkits/py-qt5-widgets
+QT5AGGBACKEND_USES= pyqt:5
+QT5AGGBACKEND_USE= PYQT=sip,widgets
QT5AGGBACKEND_VARS= QT5AGG_BACKEND=True
QT5AGGBACKEND_VARS_OFF= QT5AGG_BACKEND=False
TKAGGBACKEND_DESC= TKAgg backend support