[SyncEvolution] Detect python binary name in build time

Milan Crha mcrha at redhat.com
Mon Jul 16 20:31:56 UTC 2018


	Hello,
there is some effort to rename 'python' to 'python2' in the
distributions, but SyncEvolution still uses 'python' (without the
version number) in its scripts. I made a change for Fedora to detect
the installed python 2 binary name and use it in the scripts.

I know, an ideal solution would be to port to python3 at the same time,
but it's out of my knowledge, I do not speak pythonish and simple
change to /usr/bin/python3 makes the provided scripts not to run with a
runtime error about syntax and such, thus I decided to offer at least
this change to you. Maybe I'll convince someone with python knowledge
to port the scripts to python3, in which case I'd return back to you
with a follow up change, if you are interested.
	Bye,
	Milan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syncevolution-1.5.3-python2.patch
Type: text/x-patch
Size: 3331 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/syncevolution/attachments/20180716/52fb958e/attachment.bin>
-------------- next part --------------
_______________________________________________
SyncEvolution mailing list
SyncEvolution at syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution


More information about the SyncEvolution mailing list