commit: d2b59c7384255f91d4cc850aaff3b8d65ee39d80
Author: Christian Affolter <christian.affolter <AT> stepping-stone <DOT> ch>
AuthorDate: Mon Nov 16 22:19:00 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Nov 16 22:19:00 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2b59c73
app-emulation/spice: Added dev-python/six build dependency
Spice requires Six, the Python 2 and 3 compatibility library, otherwise
the build will fail with the following error:
[...]
make[4]: Entering directory
'/var/tmp/portage/app-emulation/spice-0.12.6/work/spice-0.12.6/spice-common/common'
/usr/bin/python2.7 /usr/lib64/spice-protocol/spice_codegen.py
--generate-demarshallers --client --include common/messages.h
/usr/lib64/spice-protocol/spice.proto generated_client_demarshallers.c
>/dev/null
Traceback (most recent call last):
File "/usr/lib64/spice-protocol/spice_codegen.py", line 7, in <module>
from python_modules import spice_parser
File "/usr/lib64/spice-protocol/python_modules/spice_parser.py", line 1, in
<module>
import six
ImportError: No module named six
Makefile:794: recipe for target 'generated_client_demarshallers.c' failed
make[4]: *** [generated_client_demarshallers.c] Error 1
make[4]: Leaving directory
'/var/tmp/portage/app-emulation/spice-0.12.6/work/spice-0.12.6/spice-common/common'
Makefile:445: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
app-emulation/spice/spice-0.12.6.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/app-emulation/spice/spice-0.12.6.ebuild
b/app-emulation/spice/spice-0.12.6.ebuild
index e108c83..02b6211 100644
--- a/app-emulation/spice/spice-0.12.6.ebuild
+++ b/app-emulation/spice/spice-0.12.6.ebuild
@@ -43,13 +43,16 @@ RDEPEND="
DEPEND="
>=app-emulation/spice-protocol-0.12.10
virtual/pkgconfig
- $(python_gen_any_dep \
- '>=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]')
+ $(python_gen_any_dep '
+ >=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ ')
smartcard? ( app-emulation/qemu[smartcard] )
${RDEPEND}"
python_check_deps() {
has_version ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
+ has_version "dev-python/six[${PYTHON_USEDEP}]"
}
pkg_setup() {