[Barry Warsaw, 2010-11-22]
> What specifically does dh need to do better now, after you cdbs patch?

it needs someone who likes to program in "you can do it in 1000+1 ways"
(aka Perl) ;-), see bugs 596807 and 597105.

dh doesn't recognize python3-foo packages and thus doesn't do magic to
build/install Python 3 modules/extensions.

With my CDBS patch, all you have to do to support Python 3 is adding
this line to debian/rules:

 include /usr/share/cdbs/1/class/python3-distutils.mk

you can use it with:

 include /usr/share/cdbs/1/class/python-distutils.mk

if source pacakge supports both Python 2 and 3; if there's a separate
setup.py file for Python 3.X, you can set it in DEB_PYTHON3_SETUP_CMD,
etc. 
-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101122232832.ge30...@piotro.eu

Reply via email to