Hi, On Monday 15 March 2010 Pavol Rusnak wrote:
On 03/15/2010 06:13 PM, Jan Matejek wrote:
Ideas, anyone?
Fedora already updated their Packaging documentation with info how to deal with Python 3: http://fedoraproject.org/wiki/Packaging:Python
I will try to summarize the main points:
* Python 2.6 is still default * python runtime packages provide python(abi) symbols (in versions 2.6 and 3.1 at the moment), modules require the respective symbols (via rpm auto-dependency-generator) * to build a package containing pythonX module you need to add pythonX-devel to BuildRequires (python2-devel/python3-devel or both when package provides module for both versions) * new macros: %__python3, %python3_sitelib, %python3_sitearch
More precise info is available from the wiki.
If it is possible and desired I think we could try to align to Fedora again.
Thanks Pavol for your information! :-) I've added a summary in http://en.opensuse.org/Packaging/Python about Python 3 module. Feel free to change or adapt it. :) -- Regards, Thomas Schraitle ---------------------------------------------------------------------- SUSE LINUX Products GmbH (o< Tel: +49-(0)911-740 53 131 Maxfeldstrasse 5 /\\ Documentation Specialist 90409 Nuernberg, Germany _\_v http://www.suse.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org