davemds pushed a commit to branch master. http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=9cee723e44e5562252d352eb357d00c101de782b
commit 9cee723e44e5562252d352eb357d00c101de782b Author: Dave Andreoli <[email protected]> Date: Sat Jan 17 20:29:09 2015 +0100 Use LooseVersion (instead of pkg-config) to check required version. This again to try fixing the build on jenkins --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 23fb586..a1272ca 100755 --- a/setup.py +++ b/setup.py @@ -74,8 +74,7 @@ def pkg_config(name, require, min_vers=None): ver = out.decode("utf-8").strip() if min_vers is not None: - assert 0 == subprocess.call(["pkg-config", "--atleast-version", - min_vers, require]) + assert (LooseVersion(ver) >= LooseVersion(min_vers)) is True call = subprocess.Popen(["pkg-config", "--cflags", require], stdout=subprocess.PIPE) --
