Created attachment 354386 [details, diff] evolution-data-server-3.8.4.ebuild.diff gnome-extra/evolution-data-server/evolution-data-server-3.8.4.ebuild: 4 5 EAPI="5" 6 GCONF_DEBUG="no" 7 PYTHON_COMPAT=( python{2_7,3,3} ) 8 VALA_MIN_API_VERSION="0.18" 9 VALA_USE_DEPEND="vapigen" 10 # echo python{2_7,3,3} python2_7 python3 python3 ...
@python herd ...can we get checks for this? Maybe both repoman and eclass error. It only seems fatal for this ebuild if python:2.7 is not installed.
(In reply to Julian Ospald (hasufell) from comment #1) > @python herd ...can we get checks for this? Maybe both repoman and eclass > error. It only seems fatal for this ebuild if python:2.7 is not installed. Well, the main reason for lack of this check is that we're iterating over 'all implementation' list rather than PYTHON_COMPAT, so it's filtered silently. I see two possibilities: 1. add additional sanity check with PYTHON_COMPAT iteration, 2. iterate over PYTHON_COMPAT and respect the order in which impls are provided there. (2) is a behavior change and I'm not really convinced if it's wanted. Most people list implementations like 'python2* python3* ...' which means that python3 would be preferred when it's not :). On the other hand, this will allow us to make pypy ebuilds actually prefer pypy like upstream suggests. (1) should be simple enough to implement without thinking.
+ 28 Jul 2013; Pacho Ramos <pacho@gentoo.org> + evolution-data-server-3.8.4.ebuild: + Fix PYTHON_COMPAT (#478442 by Alphat-PC) +
(In reply to Pacho Ramos from comment #3) > + 28 Jul 2013; Pacho Ramos <pacho@gentoo.org> > + evolution-data-server-3.8.4.ebuild: > + Fix PYTHON_COMPAT (#478442 by Alphat-PC) > + # unpack evolution-data-server-3.8.4.tar.xz # cd evolution-data-server-3.8.4/addressbook/libebook-contacts # python3 ./gen-western-table.py < e-name-western-tables.h.in File "./gen-western-table.py", line 26 print "static const gchar %s_table[] = {" % var ^ SyntaxError: invalid syntax
https://bugzilla.gnome.org/show_bug.cgi?id=705028
*** Bug 478782 has been marked as a duplicate of this bug. ***