On Wed, Jul 1, 2015 at 8:59 PM, Predrag Punosevac <[email protected]> wrote:
> Thanks Antoine! Manually installing py-gobject3 did the trick for me. I
> already had gtk+3 on my system. I just got an e-mail from David Coppa
> and it looks like he could not reproduce my problem. I would sware that
Ops :)
My phone sent that message by itself from my pocket.
The body was just a single "N".
ciao!
David
> I have pristine non-broken python27 environment where I used pip install
> only for youtube-dl but I might have done something stupid. It would not
> have being the first time.
>
>> OK?
>>
>>
>>
>> Index: Makefile
>> ===================================================================
>> RCS file: /cvs/ports/graphics/py-matplotlib/Makefile,v
>> retrieving revision 1.54
>> diff -u -p -u -p -r1.54 Makefile
>> --- Makefile 4 May 2015 22:03:20 -0000 1.54
>> +++ Makefile 1 Jul 2015 07:18:16 -0000
>> @@ -3,7 +3,7 @@
>> COMMENT= Python charting and plotting API
>>
>> MODPY_EGG_VERSION = 1.4.2
>> -REVISION = 2
>> +REVISION = 3
>> DISTNAME = matplotlib-${MODPY_EGG_VERSION}
>> PKGNAME = py-${DISTNAME}
>> CATEGORIES = graphics devel math
>> @@ -15,15 +15,12 @@ MAINTAINER = Daniel Dickman <daniel@open
>> # BSD-like
>> PERMIT_PACKAGE_CDROM= Yes
>>
>> -WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
>> -WANTLIB += Xi Xinerama Xrandr Xrender ffi fontconfig freetype
>> -WANTLIB += m pixman-1 png pthread pthread-stubs ${MODPY_WANTLIB}
>> -WANTLIB += stdc++ tcl85 tk85 xcb xcb-render xcb-shm z
>> +WANTLIB += ${MODPY_WANTLIB} ${MODTK_WANTLIB}
>> +WANTLIB += freetype m png stdc++ z
>>
>> MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=matplotlib/}
>>
>> MODULES= lang/python \
>> - devel/gettext \
>> x11/tk
>>
>> FLAVORS= python3
>> @@ -31,7 +28,7 @@ FLAVOR?=
>>
>> MODPY_SETUPTOOLS = Yes
>>
>> -RUN_DEPENDS= devel/py-tz${MODPY_FLAVOR} \
>> +COMMON_DEPENDS= devel/py-tz${MODPY_FLAVOR} \
>> devel/py-dateutil${MODPY_FLAVOR} \
>> devel/py-parsing${MODPY_FLAVOR} \
>> devel/py-six${MODPY_FLAVOR} \
>> @@ -39,16 +36,19 @@ RUN_DEPENDS= devel/py-tz${MODPY_FLAVOR}
>> graphics/py-Pillow${MODPY_FLAVOR} \
>> ${MODPY_TKINTER_DEPENDS}
>>
>> -.if ! ${FLAVOR:Mpython3}
>> -WANTLIB += atk-1.0 cairo gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
>> -WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gtk-x11-2.0 harfbuzz
>> -WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre
>> -LIB_DEPENDS += x11/gtk+2
>> -RUN_DEPENDS += x11/py-gtk2
>> +BUILD_DEPENDS= ${COMMON_DEPENDS}
>> +RUN_DEPENDS= ${COMMON_DEPENDS}
>> +
>> +.if ${FLAVOR:Mpython3}
>> +RUN_DEPENDS += devel/py-gobject3${MODPY_FLAVOR}
>> +# pygobject GTK3 introspection (not provided by indirect dependencies)
>> +RUN_DEPENDS += x11/gtk+3
>> +.else
>> +RUN_DEPENDS += x11/py-gtk2
>> .endif
>>
>> -BUILD_DEPENDS= ${RUN_DEPENDS}
>> -LIB_DEPENDS+= graphics/png
>> +LIB_DEPENDS= ${MODTK_LIB_DEPENDS} \
>> + graphics/png
>> TEST_DEPENDS = ${RUN_DEPENDS} \
>> devel/py-nose${MODPY_FLAVOR}
>>
>>
>> --
>> Antoine
>
--
"If you try a few times and give up, you'll never get there. But if
you keep at it... There's a lot of problems in the world which can
really be solved by applying two or three times the persistence that
other people will."
-- Stewart Nelson