domenkozar / g-pypi

g-pypi manages ebuilds for Gentoo Linux using information in PyPi (Python Package Index)
Other
17 stars 2 forks source link

Set <upstream><remote-id> tag in metadata.xml #7

Open iksaif opened 12 years ago

iksaif commented 12 years ago

Pypi ebuilds should have the tag correctly set in metadata.xml

ref: http://www.gentoo.org/proj/en/glep/glep-0046.html

domenkozar commented 12 years ago

How would g-pypi guess the id and type?

iksaif commented 12 years ago

If pypi.python.org is in SRC_URI or HOMEPAGE, then a package can easilly be added.

Then you can use https://github.com/iksaif/portage-janitor/blob/master/remoteids.py to add other (sourceforge, github). But adding pypi is probably enought for g-pypi.