Matching package names across distributions

Toshio Kuratomi a.badger at gmail.com
Wed Feb 2 15:16:46 PST 2011


On Wed, Feb 02, 2011 at 06:56:52PM +0100, Tarek Ziadé wrote:
> On Wed, Feb 2, 2011 at 6:47 PM, Michael Scherer <misc at zarb.org> wrote:
> ..
> >> Now, if a package does not follow the convention, does each packaging
> >> system keep the original name of the Python project somewhere ?
> >
> > You can get the name of the tarball from the src.rpm.
> > And the url from the src.rpm and the binary one.
> 
> Cool, so I guess it means it would be possible to find out what's the
> name of that PyPI project in Fedora for example, by doing a request on
> the RPM repository
> 
Yes.  With one caveat here -- for the tarball name, you have to query the
srpm repository.  For the package name you need to query the normal binary
package repository.

Set Vidal likely has some python code to do this sort of thing if you decide
it's data you could use.

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/distributions/attachments/20110202/d7c4709f/attachment.pgp>


More information about the Distributions mailing list