[Build-common-hackers] Bug#604721: Bug#604721: Bug#604721: please add support for Python 3

Jonas Smedegaard dr at jones.dk
Wed Apr 13 11:15:10 UTC 2011

Hi Piotr,

On 11-04-13 at 12:20pm, Piotr Ożarowski wrote:
> [Jonas Smedegaard, 2011-04-09]
> > On 10-11-23 at 08:54pm, Piotr Ożarowski wrote:
> > > Attached patch adds new classes (based on the ones for Python 2) 
> > > that add support for Python 3. We want to keep Python 2 and Python 
> > > 3 stack separate hence different namespace.
> > 
> > Patch was applied (and extensively reworked) at cdbs 0.4.90.
> could you explain how to use it? Python 3 part wasn't applied and I 
> don't really see how can one use Python 3 with CDBS now...

Include python-distutils.mk and declare binary packages with leading 
"python3-" in addition to the "python-" one, and the included snippet 
automagically invokes the correct Python binary and helper tool.

See sleekxmpp as an example.

> Anyway, python-multibuild GSoC project will hopefully change that (CDBS
> will no longer have to care about building Python extensions)

Interesting.  I suspect, however, that it is still relevant to keep the 
snippets for the various build systems.  But will be great if they can 
be greatly simplified (over time - better not break backwards 
compatibility too hastily even if freuently broken in python packages 

 - Jonas

 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20110413/a11a3fbb/attachment.pgp>

More information about the Build-common-hackers mailing list