Bug 587005

Summary: RFE: add python3 subpackage to build of kdebindings
Product: [Fedora] Fedora Reporter: Dave Malcolm <dmalcolm>
Component: kdebindingsAssignee: Ngo Than <than>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: jreznik, kevin, ltinkl, mathstuf, rdieter, smparrish, than
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-23 14:09:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
Not-yet-ready patch to devel/kdebindings.spec to add python3 subpackages none

Description Dave Malcolm 2010-04-28 16:42:28 UTC
kdebindings emits PyKDE4 and PyKDE4-devel subpackages as part of its build

Recently in devel (for F-14) sip and PyQt4 gained python3 subpackages (the RFEs were bug 545124 and bug 586196 respectively).

I started looking at trying to adapt kdebindings.spec so that it emits both Python 2 and Python 3 builds of the KDE python bindings.

I'll attach what I've got so far.  It doesn't work yet.

I'm not yet familiar with cmake, so I'm not yet able to suggest a good way to set things up so that it builds the python stuff twice.

Comment 1 Dave Malcolm 2010-04-28 16:48:32 UTC
Created attachment 409901 [details]
Not-yet-ready patch to devel/kdebindings.spec to add python3 subpackages

This is what I've got so far.  It isn't ready yet; I've tried to indicate the areas where I'm unclear of what to do with "FIXME" comments.

Comment 2 Rex Dieter 2010-04-28 16:51:43 UTC
ah, this one might be a good candidate for separate python3-PyKDE4 packaging, though we might be able to pull it off here.

Comment 3 Rex Dieter 2011-04-13 15:43:04 UTC
got this mostly implemented, except for one last FIXME wrt kpluginfactory

I've mailed Simon Edwards (pykde4 upstream) for advice.

Comment 4 Rex Dieter 2014-09-23 14:09:18 UTC
we've python3- support everywhere now (sans kpluginfactory issues)