Skip to contentSkip to conversation

python-git: Add missing dependency

PATCH New Ricardo Ribalda Delgado 1 participant 1 message Nov 17, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-git: Add missing dependency

Python-git depends on getpass, which is part of python-unixadmin.

If it is missing:

root@qt5022:~# python
Python 2.7.9 (default, Nov 12 2015, 17:41:32)
[GCC 5.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Quoted 1 line
Quoted 1 line
Quoted 1 line

import git

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/git/__init__.py", line 35, in <module>
from git.config import GitConfigParser
File "/usr/lib/python2.7/site-packages/git/config.py", line 21, in <module>
from git.util import LockFile
File "/usr/lib/python2.7/site-packages/git/util.py", line 14, in <module>
import getpass
ImportError: No module named getpass

Quoted 1 line
Quoted 1 line
Quoted 1 line
---
 meta/recipes-devtools/python/python-git_1.0.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python-git_1.0.1.bb +1 -1
index a78d7c83c4f9..e1509e6c2076 100644
@@ -18,6 +18,6 @@ S = "${WORKDIR}/GitPython-${PV}"
 
 inherit setuptools
 
-RDEPENDS_${PN} += "python-gitdb python-lang python-io python-shell python-math python-re python-subprocess python-stringold"
+RDEPENDS_${PN} += "python-gitdb python-lang python-io python-shell python-math python-re python-subprocess python-stringold python-unixadmin"
 
 BBCLASSEXTEND = "nativesdk"
Signature · 1 line
2.6.2