mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
update_classic_status: recognise pythonhosted.org as python
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
08c979ac58
commit
b05a24d41f
|
@ -139,7 +139,7 @@ def main():
|
||||||
else:
|
else:
|
||||||
if recipe.source_set.exists():
|
if recipe.source_set.exists():
|
||||||
source0 = recipe.source_set.first()
|
source0 = recipe.source_set.first()
|
||||||
if 'pypi.' in source0.url:
|
if 'pypi.' in source0.url or 'pythonhosted.org' in source0.url:
|
||||||
attempts = ['python3-%s' % sanepn, 'python-%s' % sanepn]
|
attempts = ['python3-%s' % sanepn, 'python-%s' % sanepn]
|
||||||
if sanepn.startswith('py'):
|
if sanepn.startswith('py'):
|
||||||
attempts.extend(['python3-%s' % sanepn[2:], 'python-%s' % sanepn[2:]])
|
attempts.extend(['python3-%s' % sanepn[2:], 'python-%s' % sanepn[2:]])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user