Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323793 - app-arch/createrepo should depend on sys-apps/yum
Summary: app-arch/createrepo should depend on sys-apps/yum
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-13 16:26 UTC by Dani Church
Modified: 2010-06-16 20:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Church 2010-06-13 16:26:12 UTC
app-arch/createrepo has python dependencies on the yum package, which is installed with sys-apps/yum.

Reproducible: Always

Steps to Reproduce:
1. Install app-arch/createrepo, without sys-apps/yum installed
2. Run createrepo

Actual Results:  
Traceback (most recent call last):
  File "/usr/share/createrepo/genpkgmetadata.py", line 28, in <module>
    import createrepo
  File "/usr/lib64/python2.6/site-packages/createrepo/__init__.py", line 22, in <module>
    import yumbased
  File "/usr/lib64/python2.6/site-packages/createrepo/yumbased.py", line 22, in <module>
    from yum.packages import YumLocalPackage
ImportError: No module named yum.packages
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-06-13 21:54:45 UTC
Hello Mike,

can you please fix this bug and maybe grab this package? 

Thanks, Michael
Comment 2 Dani Church 2010-06-13 23:11:21 UTC
Incidentally, according to the homepage, createrepo 0.9.x requires yum >= 3.2.23.
Comment 3 Patrick Lauer gentoo-dev 2010-06-16 20:45:27 UTC
+  16 Jun 2010; Patrick Lauer <patrick@gentoo.org> createrepo-0.9.8.ebuild:
+  Fixing deps for #323793