On 05/23/2013 09:34 AM, James Antill wrote:
On Wed, 2013-05-22 at 16:55 -0600, Orion Poplawski wrote:
I'll get more specific then:
python-pyface can use two different graphics backends - either wxPython or
pyQt4. In no way do these two packages provide the same thing in any
meaningful way other than to pyface. So, while one could go the provides
route, it doesn't seem to make sense to me. I suppose I could ask for:
Provides: pyface-backend
in both PyQt4 and wxPython. Think that would make sense?
Add a layer, and it works perfectly:
python-pyface:
Requires: python-pyface-backend
python-pyface-backend-wxPython:
Provides: python-pyface-backend
Requires: wxPython
python-pyface-backend-pyQt4:
Provides: python-pyface-backend
Requires: pyQt4
Took me a little bit to realize that no actual code needed to be split out to
do this (Sandro's suggestion too much in my mind). But yes, this does the
trick nicely, at the expense of some extra dummy packages.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion@xxxxxxxx
Boulder, CO 80301 http://www.nwra.com
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel