* OpenChange/GNUmakefile: use version_info[{0,1}] instead of
version_info.{major,minor} when checking for legacy version of python since these named attributes where added in python2.7 Monotone-Parent: abd34c5936406914d038a38374b7414d4b8435f2 Monotone-Revision: 800eec672662916c1befcca1d44eb844a104ca97 Monotone-Author: jraby@inverse.ca Monotone-Date: 2012-08-14T16:32:53 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
55ac8077df
commit
9d6b1d47bb
|
@ -1,3 +1,9 @@
|
|||
2012-08-14 Jean Raby <jraby@inverse.ca>
|
||||
|
||||
* OpenChange/GNUmakefile: use version_info[{0,1}] instead of
|
||||
version_info.{major,minor} when checking for legacy version
|
||||
of python since these named attributes where added in python2.7
|
||||
|
||||
2012-08-13 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreSOGo.m (sogo_properties_get_uri): removed
|
||||
|
|
|
@ -27,7 +27,7 @@ BUNDLE_INSTALL_DIR = $(SOGO_LIBDIR)
|
|||
UNRTF_DIR = unrtf-$(UNRTF_VERSION)
|
||||
|
||||
PYTHON = /usr/bin/python
|
||||
PYTHON_IS_GOOD = $(shell $(PYTHON) -c 'from sys import version_info; a=version_info; print a.major == 2 and a.minor >= 6')
|
||||
PYTHON_IS_GOOD = $(shell $(PYTHON) -c 'from sys import version_info; a=version_info; print a[0] == 2 and a[1] >= 6')
|
||||
ifeq (${PYTHON_IS_GOOD},False)
|
||||
PYTHON = /usr/bin/python2.6
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue