Your message dated Tue, 10 Nov 2009 19:02:12 +0000
with message-id <e1n7vym-0000nx...@ries.debian.org>
and subject line Bug#555208: fixed in file 5.03-3
has caused the Debian Bug report #555208,
regarding installs files to /usr/local for Python >= 2.6
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
555208: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555208
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: file
Version: 5.03-2
Severity: important
User: debian-pyt...@lists.debian.org
Usertags: python2.6 python-version

Hi,

Starting from Python 2.6, the installation paths for distutils have
changed. Instead of /usr/lib/pythonX.Y/site-packages, the default has
now changed to /usr/local.

python-support and python-central (since 0.6.11+nmu1) will recognize it
and move the files to the right location. Unfortunately python-central does
that only for packages which declare Python-Version header and python-magic-dbg
binary package doesn't do that.

You can either add "XB-Python-Version: ${python:Versions}" to all binary
packages that ship Python modules (.py files) or extensions (.so, including
*_d.so) in debian/control or convert your package to python-support (which I
strongly recommend).

converting package to to python-support
=======================================

Note: all packages that use the same namespace have to use also the same helper
tool so f.e. if your package provides foo/bar/baz.{py,so} files (i.e.
foo.bar.baz module) - all other packages that use "foo" namespace[1] have to
use the same helper tool. If at least one package stops you from converting to
python-support or you'll have problems with the conversion, feel free to ask
for help on debian-python mailing list or #debian-python IRC channel.

  a) replace python-central with python-support in debian/control
  b) sed -i -e 's/DEB_PYTHON_SYSTEM=pycentral/DEB_PYTHON_SYSTEM=pysupport/' 
debian/rules
  c) sed -i -e 's/dh_pycentral/dh_pysupport/' debian/rules
  d) Lenny's python-central doesn't remove old files at upgrades, so if your
     package is already in Lenny, you'll need to remove them in preinst 
maintainer
     script. Example:

        #!/bin/sh
        # TODO: remove this file after releasing Squeeze
        set -e
        if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 5.03-3
        then
                pycentral pkgremove python-magic-dbg
        fi
        #DEBHELPER#

      Note that sometimes[2] `pycentral pkgremove` is not enough and you'll also
      have to use:
                rm -rf /usr/lib/python2.4/site-packages/foo
                rm -rf /usr/lib/python2.5/site-packages/foo
      Please make sure no other package is using this namespace before you do 
that, though
      (if your package is the only one using foo namespace, and you're not sure
      if you need these rm commands, I recommend to add them)

  z) by using /usr/share/doc/debhelper/examples/rules.tiny you can skip b) and 
c)
     (you'll need to build depend on debhelper >=7.4.3, though)

[1] you can check that with: `apt-file search -x '(packages|pyshared)/foo' -l`
[2] f.e. if list of files provided by your package is not stable




--- End Message ---
--- Begin Message ---
Source: file
Source-Version: 5.03-3

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

file_5.03-3.diff.gz
  to main/f/file/file_5.03-3.diff.gz
file_5.03-3.dsc
  to main/f/file/file_5.03-3.dsc
file_5.03-3_i386.deb
  to main/f/file/file_5.03-3_i386.deb
libmagic-dev_5.03-3_i386.deb
  to main/f/file/libmagic-dev_5.03-3_i386.deb
libmagic1_5.03-3_i386.deb
  to main/f/file/libmagic1_5.03-3_i386.deb
python-magic-dbg_5.03-3_i386.deb
  to main/f/file/python-magic-dbg_5.03-3_i386.deb
python-magic_5.03-3_i386.deb
  to main/f/file/python-magic_5.03-3_i386.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 555...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <dan...@debian.org> (supplier of updated file 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 ftpmas...@debian.org)


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

Format: 1.8
Date: Tue, 10 Nov 2009 19:46:51 +0100
Source: file
Binary: file libmagic1 libmagic-dev python-magic python-magic-dbg
Architecture: source i386
Version: 5.03-3
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <dan...@lists.debian-maintainers.org>
Changed-By: Daniel Baumann <dan...@debian.org>
Description: 
 file       - Determines file type using "magic" numbers
 libmagic-dev - File type determination library using "magic" numbers 
(developmen
 libmagic1  - File type determination library using "magic" numbers
 python-magic - File type determination library using "magic" numbers (Python 
bin
 python-magic-dbg - File type determination library using "magic" numbers 
(Python bin
Closes: 549601 555208
Changes: 
 file (5.03-3) unstable; urgency=low
 .
   * Updating tgif magic, thanks to Hugo Graumann <graum...@ucalgary.ca>
     (Closes: #549601).
   * Enabling nut magic patch.
   * Correcting wrong vcs-browser field.
   * Updating setup.py calls in rules for python2.6, thanks to Piotr
     Ozarowski <pi...@debian.org> (Closes: #555208).
Checksums-Sha1: 
 7315db6a7cddc157e4d6c0da60141ed813a7754b 1299 file_5.03-3.dsc
 bfd1544dce1971e57db0e33cef1f5bac784d8581 47898 file_5.03-3.diff.gz
 d31a6d17a0013d8e0d081c235614744c6e4978f4 46592 file_5.03-3_i386.deb
 68e2b7215f7c4405f8f5aad7515a0a1958ffc937 387272 libmagic1_5.03-3_i386.deb
 a5131cc0868376133221192c027e7a31de945e89 97060 libmagic-dev_5.03-3_i386.deb
 47e53739e93c74f38e99a5abb6036ac8a723d99f 35820 python-magic_5.03-3_i386.deb
 1ceb89cb288f4110b2449e980c6ebf0b992b30b2 25740 python-magic-dbg_5.03-3_i386.deb
Checksums-Sha256: 
 3f7e7f53c18b8c8dd64d53a1ba513aacb4ce815c3a3a06209898439678db7eae 1299 
file_5.03-3.dsc
 6f911fdda769087dff1fd5346da153279b16ebb8123a50ac826b4d7e1df5ab2e 47898 
file_5.03-3.diff.gz
 974cb17368bb7e22b376a89422467c161ee5722eaba160a0c93036917ae797e8 46592 
file_5.03-3_i386.deb
 1aff8257f8df6887836125a60e0ee3b9fd097ddbedb05977af8dc28dd1105cb7 387272 
libmagic1_5.03-3_i386.deb
 c978b5f213a9b12a0f2a519fb0ad33d52138a90adfc23de0783739f5751b81de 97060 
libmagic-dev_5.03-3_i386.deb
 bc143aa7bd5e934fb7718f9074f7c9daf07521abe767d7b0486c8a2a3a93d98a 35820 
python-magic_5.03-3_i386.deb
 3b3bf9da77af1b90fdbe49a1ce20c155ef91b877514da0e1878b2ddfe918eb12 25740 
python-magic-dbg_5.03-3_i386.deb
Files: 
 9afe854868ae6959772685c2adaf1e16 1299 utils standard file_5.03-3.dsc
 639a3f1c0435c3f31dd5dbdcb6c4f15e 47898 utils standard file_5.03-3.diff.gz
 cf620f3199f8cf13d19eb2e50c4c5083 46592 utils standard file_5.03-3_i386.deb
 31b50a1d43ae7d0f44e6c29795672ff5 387272 libs standard libmagic1_5.03-3_i386.deb
 978ae36a268243bc29f2dedddf164a45 97060 libdevel optional 
libmagic-dev_5.03-3_i386.deb
 d034fdc680dc5b5964972e8026b65538 35820 python extra 
python-magic_5.03-3_i386.deb
 ea033312b6bb4c1957eaa7a579883ac5 25740 debug extra 
python-magic-dbg_5.03-3_i386.deb

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

iEYEARECAAYFAkr5tXcACgkQ+C5cwEsrK56AZwCgun5jbpJgbzwcqj1KZmG4OYBs
NLkAoIMrBrmJ7EZMLHPwtzme+rm1OqBr
=wJAt
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to