Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2013 00:10:47 +0400
From:      Ruslan Makhmatkhanov <cvs-src@yandex.ru>
To:        Dmitry Sivachenko <trtrmitya@gmail.com>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, naylor.b.david@gmail.com, ports-committers@freebsd.org
Subject:   Re: svn commit: r310199 - in head/math/py-matplotlib: . files
Message-ID:  <50F071C7.1070608@yandex.ru>
In-Reply-To: <53A273AD-0671-4F36-80DB-1905CCF71911@gmail.com>
References:  <201301101905.r0AJ5hgL099192@svn.freebsd.org> <8DEDA0A7-D7F0-46FA-BA01-B3C3A991961E@FreeBSD.org> <50EFBD34.6000109@yandex.ru> <21600455-B9B5-47B5-A8D9-CFC6CCFF2BEA@gmail.com> <50EFED14.4050802@yandex.ru> <53A273AD-0671-4F36-80DB-1905CCF71911@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dmitry Sivachenko wrote on 11.01.2013 15:36:
>
> On 11.01.2013, at 14:44, Ruslan Makhmatkhanov <cvs-src@yandex.ru> wrote:
>
>> Dmitry Sivachenko wrote on 11.01.2013 11:43:
>>>
>>> On 11.01.2013, at 11:20, Ruslan Makhmatkhanov <cvs-src@yandex.ru> wrote:
>>>
>>>> Dmitry Sivachenko wrote on 11.01.2013 00:53:
>>>>>
>>>>>
>>>>>
>>>>> Hello,
>>>>>
>>>>> According to changelog, version 1.2.0 of matplotlib supports python-3.X.
>>>>>
>>>>> So why USE_PYTHON=-2.7?
>>>>
>>>> Hi, I wasn't aware about this. Will check soon. But I believe it will fail at dependencies that not 3.x-aware.
>>>>
>>>
>>>
>>> How could developers support python3 in matplotlib if it's dependencies are not python3-aware? :)
>>> The only significant dependency is py-numpy which does work with python3.
>>
>> I consider this from ports tree point of view. If any of the deps need python2.7, this breaks the python3 build. As bare minimum, I see two problems with dependencies:
>> - current devel/py-dateutils doesn't supports python3
>
>
> dateutils version 2.0 with python3 support is out for almost 2 years now.
>
>
>> - matplotlib depends on pygtk2 (read: python2 only) by default
>>
>
>
> I would rather insist for python-2.X only if pygtk2 is selected.
> I think it is rather common usage for matplotlib without GUI at all or at least without pygtk2.

Changes like this are up to maintainer, so PR submission with patch is 
needed.

>
> So no need to prevent all others to build it with python3.

Just committed. And yes, tinderbox build failed at py-dateutil (on 
pkg-plist). I just added to my todo: create py-dateutil2 port, add 
${PYDATEUTIL} variable in bsd.python.mk, make it conditionally expand to 
py-dateutil or py-dateutil2 according to used python version.

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50F071C7.1070608>