Your message dated Sat, 29 Apr 2006 14:47:10 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#365111: fixed in python-support 0.2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: python-support
Version: 0.1.1
Severity: grave
Tags: patch


Coin,

The update-python-modules is unsuitable for release and as this package
is already quite advertised in Python Teams papers, it MUST be fixed as
soon as possible before too many packages are broken, thus the severity.

Symlinks for .py files were missing, resulting in import
failures. Cleanup was fixed as well. The following patch as been tested
with the editobj+py2play+soya+slune suite and the
editobj+cerealizer+tofu+soya+balazarbrother suite with success (some of
them are to be uploaded soon n the archive).

Thanks.

--- /usr/sbin/update-python-modules.orig	2006-04-27 21:40:50.629211816 +0200
+++ /usr/sbin/update-python-modules	2006-04-27 21:51:04.288921360 +0200
@@ -64,16 +64,16 @@
       except OSError:
         pass
       if file.endswith('.py'):
-        destpath+='c'
-        debug("compile "+destpath)
+        destpath2=destpath+'c'
+        debug("compile "+destpath2)
         if py == "python"+sys.version[:3]:
-          compile(fullpath,destpath)
+          compile(fullpath,destpath2)
         else:
         # D'uh, this one stinks, but it's the only way for non-default
         # versions
-          command = 'import py_compile; py_compile.compile("%s","%s")'%(fullpath,destpath)
+          command = 'import py_compile; py_compile.compile("%s","%s")'%(fullpath,destpath2)
           os.spawnl(os.P_WAIT, '/usr/bin/'+py, py, '-c', command)
-      elif not file.endswith('.pyc'):
+      if not file.endswith('.pyc'):
         debug("link "+destpath)
         if os.path.exists(destpath):
           os.remove(destpath)
@@ -85,7 +85,12 @@
   for py in py_installed:
     destpath=os.path.join(basepath,py,dir,file)
     if file.endswith('.py'):
-      destpath+='c'
+      destpath2=destpath+'c'
+      debug("remove "+destpath2)
+      try:
+        os.remove(destpath2)
+      except OSError:
+        pass
     if os.path.exists(destpath):
       debug("remove "+destpath)
       os.remove(destpath)
-- 
Marc Dequènes (Duck)

Attachment: pgpMI3zhRSyhb.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: python-support
Source-Version: 0.2

We believe that the bug you reported is fixed in the latest version of
python-support, which is due to be installed in the Debian FTP archive:

python-support_0.2.dsc
  to pool/main/p/python-support/python-support_0.2.dsc
python-support_0.2.tar.gz
  to pool/main/p/python-support/python-support_0.2.tar.gz
python-support_0.2_all.deb
  to pool/main/p/python-support/python-support_0.2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Josselin Mouette <[EMAIL PROTECTED]> (supplier of updated python-support 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 29 Apr 2006 23:29:40 +0200
Source: python-support
Binary: python-support
Architecture: source all
Version: 0.2
Distribution: unstable
Urgency: low
Maintainer: Josselin Mouette <[EMAIL PROTECTED]>
Changed-By: Josselin Mouette <[EMAIL PROTECTED]>
Description: 
 python-support - automated rebuilding support for python modules
Closes: 348596 363505 365111
Changes: 
 python-support (0.2) unstable; urgency=low
 .
   * Link the .py files (closes: #365111, #348596, #363505).
   * Support /usr/share/python-support/foo/.version to list the python
     versions for which the package is known to work.
   * Make python-support entirely stateless. We now rely on
     /usr/share/python-support/*/ for directories to install and on
     /usr/share/python-support/*.dirs for directories to bytecompile in
     situ.
   * Improve performance by byte-compiling for non-default python
     versions in a single run.
   * Treat relative paths in arguments as belonging to
     /usr/share/python-support.
   * Support python 2.5.
Files: 
 973f0f6e909d4d28daf61768b9d94fbd 512 python optional python-support_0.2.dsc
 0daea60664f317db359818b2a2cee636 14228 python optional 
python-support_0.2.tar.gz
 39dae6b519dec0907b0cac0d11af2605 6456 python optional 
python-support_0.2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEU9u5rSla4ddfhTMRAnoOAJ9J6HQHfGcatMH6cKoPV/hOQ1FYhwCg42w4
cCqHnq5nCndWrDQphOLCU7E=
=HK7b
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to