FreeBSD Bugzilla – Attachment 185389 Details for
Bug 213636
math/py-matplotlib: Fails to build with python3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch; pet portlint
python2and3.patch (text/plain), 1.33 KB, created by
rsmith
on 2017-08-14 05:13:23 UTC
(
hide
)
Description:
Updated patch; pet portlint
Filename:
MIME Type:
Creator:
rsmith
Created:
2017-08-14 05:13:23 UTC
Size:
1.33 KB
patch
obsolete
>--- Makefile.orig 2017-08-06 22:49:38.580647000 +0200 >+++ Makefile 2017-08-14 07:06:19.725407000 +0200 >@@ -1,10 +1,9 @@ >-# Created by: ijliao > # $FreeBSD$ > > PORTNAME= matplotlib > PORTVERSION= 1.5.3 >-PORTREVISION= 2 > DISTVERSIONPREFIX= v >+PORTREVISION= 3 > CATEGORIES= math python > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > >@@ -25,15 +24,14 @@ > ${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing \ > ${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado > >+USES= compiler:c++11-lib gettext pkgconfig python shebangfix uniquefiles:dirs > USE_GITHUB= yes >- >-USES= compiler:c++11-lib gettext pkgconfig python:2.7 shebangfix uniquefiles:dirs > USE_PYTHON= autoplist distutils > CFLAGS+= -I${LOCALBASE}/include > > OPTIONS_DEFINE= EXAMPLES GTKBACKEND GTKAGGBACKEND QT4AGGBACKEND \ > QT5AGGBACKEND TKAGGBACKEND WXAGGBACKEND >-OPTIONS_DEFAULT= GTKBACKEND GTKAGGBACKEND TKAGGBACKEND >+OPTIONS_DEFAULT= TKAGGBACKEND > OPTIONS_SUB= yes > GTKBACKEND_DESC= GTK backend support > GTKBACKEND_VARS= GTK_BACKEND=True >@@ -104,4 +102,11 @@ > @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} > ${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR} > >-.include <bsd.port.mk> >+.include <bsd.port.pre.mk> >+ >+.if ${PYTHON_MAJOR_VER} == 3 >+GTKBACKEND_BROKEN= GTK backend does not work with Python 3 >+GTKAGGBACKEND_BROKEN= GTKAgg backend does not work with Python 3 >+.endif >+ >+.include <bsd.port.post.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213636
:
178422
|
185105
|
185337
| 185389