Date: Wed, 6 Dec 2017 19:46:53 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455676 - head/math/py-matplotlib Message-ID: <201712061946.vB6JkrT8081045@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Wed Dec 6 19:46:53 2017 New Revision: 455676 URL: https://svnweb.freebsd.org/changeset/ports/455676 Log: math/py-matplotlib: Allow build for Python 3.x - x11-toolkits/{py-gtk2,py-wxPython28} do not support Python 3.x, so exclude the GTKBACKEND, GTKAGGBACKEND, and WXAGGBACKEND in that case. PR: 213636 Reported by: lbartoletti@tuxfamily.org Submitted by: rsmith@xs4all.nl (based on) Reviewed by: mat Approved by: maintainer timeout Differential Revision: https://reviews.freebsd.org/D13377 Modified: head/math/py-matplotlib/Makefile Modified: head/math/py-matplotlib/Makefile ============================================================================== --- head/math/py-matplotlib/Makefile Wed Dec 6 19:26:04 2017 (r455675) +++ head/math/py-matplotlib/Makefile Wed Dec 6 19:46:53 2017 (r455676) @@ -27,7 +27,7 @@ RUN_DEPENDS= ${PYNUMPY} \ USE_GITHUB= yes -USES= compiler:c++11-lib gettext pkgconfig python:2.7 shebangfix uniquefiles:dirs +USES= compiler:c++11-lib gettext pkgconfig python shebangfix uniquefiles:dirs USE_PYTHON= autoplist distutils CFLAGS+= -I${LOCALBASE}/include @@ -35,6 +35,11 @@ OPTIONS_DEFINE= EXAMPLES GTKBACKEND GTKAGGBACKEND QT4 QT5AGGBACKEND TKAGGBACKEND WXAGGBACKEND OPTIONS_DEFAULT= GTKBACKEND GTKAGGBACKEND TKAGGBACKEND OPTIONS_SUB= yes +.if ${FLAVOR:U:Mpy3*} +# x11-toolkits/py-gtk2, x11-toolkits/py-wxPython28 do not support Python 3 +OPTIONS_EXCLUDE= GTKBACKEND GTKAGGBACKEND WXAGGBACKEND +.endif + GTKBACKEND_DESC= GTK backend support GTKBACKEND_VARS= GTK_BACKEND=True GTKBACKEND_VARS_OFF= GTK_BACKEND=False
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712061946.vB6JkrT8081045>