[SCM] Samba Shared Repository - branch master updated
Jelmer Vernooij
jelmer at samba.org
Mon Apr 9 15:17:03 MDT 2012
The branch, master has been updated
via 7cf7890 wafsamba: Parse Python versions as integers separated by dots.
from 5701a4d Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with platforms that don't have these.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 7cf78902dc63ec0db1f2310aa0e32d884ca96491
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Apr 9 20:05:06 2012 +0200
wafsamba: Parse Python versions as integers separated by dots.
This causes tdb "1.2.10" to no longer be considered older than "1.2.9".
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Mon Apr 9 23:16:17 CEST 2012 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
buildtools/wafsamba/samba_bundled.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/buildtools/wafsamba/samba_bundled.py b/buildtools/wafsamba/samba_bundled.py
index 7fc0fb9..6df7454 100644
--- a/buildtools/wafsamba/samba_bundled.py
+++ b/buildtools/wafsamba/samba_bundled.py
@@ -209,6 +209,9 @@ def CHECK_BUNDLED_SYSTEM(conf, libname, minversion='0.0.0',
return False
+def tuplize_version(version_string):
+ return tuple([int(x) for x in version.split(".")])
+
@runonce
@conf
def CHECK_BUNDLED_SYSTEM_PYTHON(conf, libname, modulename, minversion='0.0.0'):
@@ -233,7 +236,7 @@ def CHECK_BUNDLED_SYSTEM_PYTHON(conf, libname, modulename, minversion='0.0.0'):
except AttributeError:
found = False
else:
- found = tuple(version.split(".")) >= tuple(minversion.split("."))
+ found = tuplize_version(version) >= tuplize_version(minversion)
if not found and not conf.LIB_MAY_BE_BUNDLED(libname):
Logs.error('ERROR: Python module %s of version %s not found, and bundling disabled' % (libname, minversion))
sys.exit(1)
--
Samba Shared Repository
More information about the samba-cvs
mailing list