Package: python-pygraphviz
Version: 0.99-2
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:

 python-pygraphviz:drwxr-xr-x root/root         0 2009-11-13 10:05 ./usr/local/
 python-pygraphviz:drwxr-xr-x root/root         0 2009-11-13 10:05 
./usr/local/share/
 python-pygraphviz:drwxr-xr-x root/root         0 2009-11-13 10:05 
./usr/local/share/doc/
 python-pygraphviz:drwxr-xr-x root/root         0 2009-11-13 10:05 
./usr/local/share/doc/pygraphviz-0.99/
 python-pygraphviz:-rw-r--r-- root/root      2865 2008-11-18 22:40 
./usr/local/share/doc/pygraphviz-0.99/INSTALL.txt
 python-pygraphviz:-rw-r--r-- root/root       527 2008-11-18 22:40 
./usr/local/share/doc/pygraphviz-0.99/README.txt
 python-pygraphviz:drwxr-xr-x root/root         0 2009-11-13 10:05 
./usr/local/share/doc/pygraphviz-0.99/examples/
 python-pygraphviz:-rw-r--r-- root/root      1231 2008-11-18 22:40 
./usr/local/share/doc/pygraphviz-0.99/examples/django_simple.py
 python-pygraphviz:-rw-r--r-- root/root     20236 2008-11-18 22:40 
./usr/local/share/doc/pygraphviz-0.99/examples/miles_dat.txt.gz
 python-pygraphviz:-rwxr-xr-x root/root       999 2008-11-18 22:40 
./usr/local/share/doc/pygraphviz-0.99/examples/star.py
 python-pygraphviz:-rwxr-xr-x root/root       760 2008-11-18 22:40 
./usr/local/share/doc/pygraphviz-0.99/examples/simple.py
 python-pygraphviz:-rw-r--r-- root/root       348 2009-11-13 10:05 
./usr/local/share/doc/pygraphviz-0.99/examples/subgraph.py
 python-pygraphviz:-rw-r--r-- root/root       573 2009-11-13 10:05 
./usr/local/share/doc/pygraphviz-0.99/examples/attributes.py
 python-pygraphviz:-rw-r--r-- root/root      3398 2008-11-18 22:40 
./usr/local/share/doc/pygraphviz-0.99/examples/miles.py

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