[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#28217: python-ldap: non-maintainer upload (alpha) diffs



[The current default Makefile.pre.in from /usr/lib/python1.5/config
has the problem that for it uses a plain mkdir to create the
DESTSHARED directory. In general, this works fine since DESTSHARED's
parent (e.g. /usr/lib/python1.5/site-packages) already exists, but
with Debian, `pwd`/debian/tmp/$DESTSHARED doesn't exist yet.]

It's a pity, but Guido is eager to fix this problem upstream by using
mkdir -p or a more recent install-sh. He doesn't want to introduce
potential incompatibilities and wants to stick with the most simple
tools.

My first thought was to change Debian's Makefile.pre.in to cope with
this, but I don't like the idea of fixing this problem by introducing
incompatible differences between the upstream Makefile.pre.in and
Debian's Makefile.pre.in: It may happen very well that a Python
developer running Debian distributes the Debian Makefile.pre.in to the
Python community and that it won't work outside Debian's Python.

I'm afraid we'll have to work around this problem within the limits of 
debian/rules.

That mean, Python packages using Makefile.pre.in should create the
directory `pwd`/debian/tmp/usr/lib/python1.5/site-packages
resp. DESTSHARED in debian/rules before running the "make install
prefix=`pwd`/debian/tmp/usr".

The upcoming Python package 1.5.1-6 contains a README.maintainers with
a few hints for Python package maintainers.

	Gregor


Reply to: