Package: pygame
Version: 1.8.1release-1
Severity: important
User: [email protected]
Usertags: python2.6 usr-local

Hi,

Starting from Python 2.6, the installation paths for distutils have
changed. /usr/local is now used by default.

When rebuilt against python-all{,-dev,-dbg} (and thus python2.6) from Debian
experimental, your package contained these files:

 pygame:drwxr-xr-x root/root         0 2009-11-13 07:43 ./usr/local/
 pygame:drwxr-xr-x root/root         0 2009-11-13 07:43 ./usr/local/include/
 pygame:drwxr-xr-x root/root         0 2009-11-13 07:43 
./usr/local/include/python2.6/
 pygame:drwxr-xr-x root/root         0 2009-11-13 07:43 
./usr/local/include/python2.6/pygame/
 pygame:-rwxr-xr-x root/root     31308 2008-07-07 07:57 
./usr/local/include/python2.6/pygame/pygame.h
 pygame:-rwxr-xr-x root/root      1671 2008-07-07 07:57 
./usr/local/include/python2.6/pygame/fastevents.h
 pygame:-rwxr-xr-x root/root      4486 2008-07-07 07:57 
./usr/local/include/python2.6/pygame/scrap.h
 pygame:-rwxr-xr-x root/root     50187 2008-07-17 23:27 
./usr/local/include/python2.6/pygame/pygamedocs.h
 pygame:-rwxr-xr-x root/root      1998 2008-07-07 07:57 
./usr/local/include/python2.6/pygame/font.h
 pygame:-rwxr-xr-x root/root      2562 2008-07-07 07:57 
./usr/local/include/python2.6/pygame/mixer.h
 pygame:-rwxr-xr-x root/root       395 2008-07-07 07:57 
./usr/local/include/python2.6/pygame/pgopengl.h
 pygame:-rwxr-xr-x root/root      9814 2008-07-07 07:57 
./usr/local/include/python2.6/pygame/surface.h
 pygame:-rwxr-xr-x root/root      4022 2008-07-07 07:57 
./usr/local/include/python2.6/pygame/bitmask.h
 pygame:-rwxr-xr-x root/root      3211 2008-07-07 07:57 
./usr/local/include/python2.6/pygame/ffmovie.h

How to fix it?
===============
* try to pass "--prefix=/usr" to setup.py call, check if it's enough,
* if your package is using python-central:
  - 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, check if it's enough,
  - try to convert to python-support[1], check if it's enough,
* add --install-layout=deb to setup.py call and bump minimum required
  python{,-all,all-dev} build dependency to 2.5.4-1~, check if it's enough
* ask for help on #debian-python or [email protected]

[1] http://wiki.debian.org/DebianPython/central2support



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

Reply via email to