Bug#466392: python-scipy: adding zvode to scipy.integrate

2008-02-21 Thread silva

Quoting Ondrej Certik [EMAIL PROTECTED]:

$ apt-get source python-scipy
$ cd python-scipy-0.6.0/
$ head -n 15 debian/control
[...]
Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/scipy/trunk
Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/scipy/trunk/

In some other directory:
$ svn co svn://svn.debian.org/svn/python-modules/packages/scipy/trunk scipy

Also read upstream mailinglist, the author of this patch is rebasing
it against the upstream svn right now. If you prepare a patch
against the current debian package (as a file in debian/patches), I
will upload it.
Please ask if you have more questions.
Ondrej


One thing I've missed is why 'apt-get source python-scipy' dowloads  
files that are not in the .deb package (same version number 0.6.0-5.1  
for instance). In fact all the files in scipy/integrate/mach/ for  
example were not in my installation so that applying the patch failed.


How explain this difference ? I though sources and deb were similar  
packaging of the same stuff, one being as a tarball, the other one as  
a binary...



This message was sent using IMP, the Internet Messaging Program.






Bug#466392: python-scipy: adding zvode to scipy.integrate

2008-02-21 Thread Ondrej Certik
On Thu, Feb 21, 2008 at 11:16 AM,  [EMAIL PROTECTED] wrote:
 Quoting Ondrej Certik [EMAIL PROTECTED]:
   $ apt-get source python-scipy
   $ cd python-scipy-0.6.0/
   $ head -n 15 debian/control
   [...]
   Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/scipy/trunk
   Vcs-Browser: 
 http://svn.debian.org/wsvn/python-modules/packages/scipy/trunk/
  
   In some other directory:
   $ svn co svn://svn.debian.org/svn/python-modules/packages/scipy/trunk scipy
  
   Also read upstream mailinglist, the author of this patch is rebasing
   it against the upstream svn right now. If you prepare a patch
   against the current debian package (as a file in debian/patches), I
   will upload it.
   Please ask if you have more questions.
   Ondrej

  One thing I've missed is why 'apt-get source python-scipy' dowloads
  files that are not in the .deb package (same version number 0.6.0-5.1
  for instance). In fact all the files in scipy/integrate/mach/ for
  example were not in my installation so that applying the patch failed.

  How explain this difference ? I though sources and deb were similar
  packaging of the same stuff, one being as a tarball, the other one as
  a binary...

Thanks for trying it out. I don't understand the problem though. Below
is how you can find out exactly what is happening:

This is when I do apt-get source python-scipy:

$ ls scipy/integrate/mach/
d1mach.f  i1mach.f  r1mach.f  xerror.f

The package is build using those sources, you can (and you need to
when testing your patch) compile it with dpkg-buildpackage, which
builds the binary.

Here are build logs from the Debian build daemons:

http://buildd.debian.org/fetch.cgi?pkg=python-scipy;ver=0.6.0-5.1;arch=powerpc;stamp=1199115265

Search for mach in there. Here are the relevant lines:

building 'mach' library
using additional config_fc from setup script for fortran compiler:
{'noopt': ('scipy/integrate/setup.py', 1)}
customize GnuFCompiler
gnu: no Fortran 90 compiler found
compiling Fortran sources
Fortran f77 compiler: /usr/bin/g77 -g -Wall -fno-second-underscore -fPIC
creating build/temp.linux-ppc-2.4/scipy/integrate/mach
compile options: '-c'
g77:f77: scipy/integrate/mach/d1mach.f
g77:f77: scipy/integrate/mach/xerror.f
g77:f77: scipy/integrate/mach/r1mach.f
g77:f77: scipy/integrate/mach/i1mach.f
ar: adding 4 object files to build/temp.linux-ppc-2.4/libmach.a

So the mach sources are compiled in the libmach.a and this library is
then statically linked into _quadpack.so:

/usr/bin/g77 -g -Wall -g -Wall -shared
build/temp.linux-ppc-2.5/scipy/integrate/_quadpackmodule.o
-Lbuild/temp.linux-ppc-2.5 -lquadpack -llinpack_lite -lmach -lg2c -o
build/lib.linux-ppc-2.5/scipy/integrate/_quadpack.so

And this file is in the binary package:

$ wajig list-files python-scipy | grep _quadpack.so
/usr/lib/python2.4/site-packages/scipy/integrate/_quadpack.so
/usr/lib/python2.5/site-packages/scipy/integrate/_quadpack.so

Could you please ellaborate on what kind of differences there are?

Ondrej



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#466392: python-scipy: adding zvode to scipy.integrate

2008-02-19 Thread Fabrice Silva
Le lundi 18 février 2008 à 18:06 +0100, Ondrej Certik a écrit :
  Is it possible to add zvode to scipy.integrate according to
  http://www.scipy.org/scipy/scipy/ticket/334 I've tried to apply the
  patches but the following message still appears when setting the
  integrator to zvode :
  No integrator name match with 'zvode' or is not available.
 
 Sure, if someone sends a patch, that applies, we'll upload a new package.
 Otherwise we can wait for the scipy 0.7 upstream release.
 Ondrej

I would like to help, but can you tell me where I can found the current
version of the files against which the patch should apply ?
Because the files provided in the python-scipy unstable package are not
exactly the same as the ones in the scipy svn.
-- 
Fabrice Silva [EMAIL PROTECTED]
LMA UPR CNRS 7051 - équipe S2M





Bug#466392: python-scipy: adding zvode to scipy.integrate

2008-02-19 Thread Ondrej Certik
On Feb 19, 2008 2:04 PM, Fabrice Silva [EMAIL PROTECTED] wrote:
 Le lundi 18 février 2008 à 18:06 +0100, Ondrej Certik a écrit :
   Is it possible to add zvode to scipy.integrate according to
   http://www.scipy.org/scipy/scipy/ticket/334 I've tried to apply the
   patches but the following message still appears when setting the
   integrator to zvode :
   No integrator name match with 'zvode' or is not available.
 
  Sure, if someone sends a patch, that applies, we'll upload a new package.
  Otherwise we can wait for the scipy 0.7 upstream release.
  Ondrej

 I would like to help, but can you tell me where I can found the current
 version of the files against which the patch should apply ?
 Because the files provided in the python-scipy unstable package are not
 exactly the same as the ones in the scipy svn.

$ apt-get source python-scipy
$ cd python-scipy-0.6.0/
$ head -n 15 debian/control
[...]
Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/scipy/trunk
Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/scipy/trunk/

In some other directory:

$ svn co svn://svn.debian.org/svn/python-modules/packages/scipy/trunk scipy

Also read upstream mailinglist, the author of this patch is rebasing
it against the upstream svn right now. If you prepare a patch
against the current debian package (as a file in debian/patches), I
will upload it.

Please ask if you have more questions.

Ondrej


Bug#466392: python-scipy: adding zvode to scipy.integrate

2008-02-18 Thread Ondrej Certik
On Feb 18, 2008 3:28 PM, Fabrice Silva [EMAIL PROTECTED] wrote:
 Package: python-scipy
 Version: 0.6.0-5.1
 Severity: wishlist

 Is it possible to add zvode to scipy.integrate according to
 http://www.scipy.org/scipy/scipy/ticket/334 I've tried to apply the
 patches but the following message still appears when setting the
 integrator to zvode :

 No integrator name match with 'zvode' or is not available.

Sure, if someone sends a patch, that applies, we'll upload a new package.

Otherwise we can wait for the scipy 0.7 upstream release.

Ondrej



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]