I've been experimenting with adding python3 subpackages to the build of PyQt4.
I'm attaching a patch to devel/PyQt4.spec which adds python3-PyQt4 and python3-PyQt4-devel subpackages.
It uses the python3-sip subpackage from bug 545124, building the sources twice within one rpm-build. Unfortunately this doubles the time taken to build the src.rpm
Unfortunately my laptop is having lockup issues and I haven't managed to do a full build of this yet, so I haven't been able to fully test this (alternatively, if you build sip with python3 into devel in Koji I can do scratch buld of this).
Created attachment 409348 [details]
Work-in-progress patch to devel/PyQt4.spec to add python3 subpackages
Created attachment 409509 [details]
Revised version of patch
I managed to get this one to successfully scratch build in Koji:
I haven't yet tested the results
I did some simple testing of the scratch build: I worked through some of the examples at:
All of the examples I tried worked, with both Python 2 and Python 3 (using my scratch build of PyQt4).
OK if I go ahead and commit and build this into "devel"?
cool, yeah, go ahead. thanks!
(I slightly modified things to keep the reference to the package review at the very top of the file, and added this bug number to the %changelog entry)
Built into devel as: