Bug 83150 - use PYTHON to test rdflib
Summary: use PYTHON to test rdflib
Alias: None
Product: Zeitgeist
Classification: Unclassified
Component: Engine (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: zeitgeist-bugs@lists.freedesktop.org
QA Contact: zeitgeist-bugs@lists.freedesktop.org
Depends on:
Reported: 2014-08-27 15:13 UTC by Rafael Fontenelle
Modified: 2018-05-31 09:12 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

patch changing python -> $PYTHON (737 bytes, text/plain)
2014-08-27 15:13 UTC, Rafael Fontenelle

Description Rafael Fontenelle 2014-08-27 15:13:38 UTC
Created attachment 105343 [details]
patch changing python -> $PYTHON

The check method for rdflib depends on a binary called 'python'. Arch Linux's python 2 is package with its executable renamed as 'python2', while python 3 is 'python'.
So, the current method of checking for rdflib doesn't work in Arch Linux with python 2 as 'configure' will call 'python' (version 3) expecting version 2 (correct: 'python2').

$PYTHON should be used to use the correct python's executable name.
Comment 1 Rafael Fontenelle 2014-08-29 05:12:07 UTC
Similiarly, fail 'data/ontology2code' calls for '/usr/bin/evn python', using different version.  Would be nice if this script use python binary name according to what was found.
Comment 2 GitLab Migration User 2018-05-31 09:12:07 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/zeitgeist/zeitgeist/issues/13.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.