Mailinglist Archive: opensuse-packaging (130 mails)

< Previous Next >
Re: [opensuse-packaging] Re: How to Build and Package Python 3 Packages?
  • From: Thomas Schraitle <toms@xxxxxxx>
  • Date: Tue, 16 Mar 2010 09:20:45 +0100
  • Message-id: <201003160920.45784.toms@xxxxxxx>

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:

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

Thanks Pavol for your information! :-)

I've added a summary in about Python 3
module. Feel free to change or adapt it. :)

Thomas Schraitle

SUSE LINUX Products GmbH (o< Tel: +49-(0)911-740 53 131
Maxfeldstrasse 5 /\\ Documentation Specialist
90409 Nuernberg, Germany _\_v
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG N├╝rnberg)
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >