On 09/13/2012 08:14 AM, Toshio Kuratomi wrote:
All that said.... you can probably sidestep some of these issues by
python packages contain explicit virtual Provides. These might be manually
added or automatically generated by a tool like pypi2rpm with the
maintainer editting them afterwards to make sure they didn't hit any of the
Yeah, explicit virtual provides is definitely the path I was thinking of
heading down, along the lines of automating the simple cases (where
"python(pypi-dist-name)" does the right thing when there's a one-to-one
mapping from the PyPI distribution to the Fedora RPM, even if the RPM
name is different), and permitting manual workarounds for the "two RPMs"
case (e.g. by setting things up so that depending on
"python(pypi-dist-name)" install both of them) and being able to declare
explicit conflicts for the non-pypi items.
There's some prior work done by other people:
(Despite my having written that email, the hard parts were all dmalcolm :-)
Thanks for the references.
Red Hat Infrastructure Engineering & Development, Brisbane