On Wed, May 4, 2011 at 15:18, Nikolaus Rath <[email protected]> wrote:
> On 05/04/2011 03:12 AM, Sandro Tosi wrote:
>> On Tue, May 3, 2011 at 20:33, Nikolaus Rath <[email protected]> wrote:
>>> Hello,
>>>
>>> Can you tell me what needs to happen for matplotlib 1.0 from
>>> experimental to enter unstable and (eventually) testing? Are there any
>>> critical showstoppers?
>>
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625150 - patches are welcome
>
> I'd like to help, but I don't quite understand the problem yet. This bug
> is against matplotlib 0.99, so wouldn't it be enough to just upload
> matplotlib 1.0 to unstable to fix this?

nope, it's something related to the packaging and/or other
dependencies (sphinx?)

> I also tried to build matplotlib 1.0 myself, to see if that still has
> the bug. I checked out the most recent debian/ dir from
> svn://svn.debian.org/svn/python-modules/packages/matplotlib/trunk/ and
> extracted the most recent matplotlib-1.0.0.tar.gz available from
> upstream. However:

$ svn cat 
svn://svn.debian.org/svn/python-modules/packages/matplotlib/trunk/debian/changelog
| head -n1
matplotlib (1.0.1-2) UNRELEASED; urgency=low

so you have to use 1.0.1

>
> $ dpkg-buildpackage -us -uc
> [...]
>  dpkg-source --before-build matplotlib-1.0.0
> dpkg-source: warning: patches have not been applied, applying them now
> (use --no-preparation to override)
> dpkg-source: info: applying 10_build_fix.patch
> dpkg-source: info: applying 20_matplotlibrc_path_search_fix.patch
> dpkg-source: info: applying 30_disable_sample_downloads.patch
> patching file matplotlibrc.template
> Hunk #1 FAILED at 377.
> 1 out of 1 hunk FAILED -- saving rejects to file matplotlibrc.template.rej
> dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -g0 -E -b
> -B .pc/30_disable_sample_downloads.patch/ <
> matplotlib-1.0.0/debian/patches/30_disable_sample_downloads.patch gave
> error exit status 1

of course, patches sometimes only apply on a specific version, 1.0.1
in this case.

> Where do I get the matplotlib source that's supposed to go along with
> this debian/ directory?

>From upstream, but you have to use the matching version of the
packaging. if you have an experimental src in your sources.list you
can:

apt-get -t experimental source matplotlib

to get 1.0.1 as packaged for experimental.

-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to