Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/psycopg/files: psycopg-2.0.12-setup.py.patch
Date: Mon, 31 Oct 2011 03:58:42
Message-Id: E1Mfy5O-0004Fm-Sc@stork.gentoo.org
1 arfrever 09/08/25 15:37:26
2
3 Added: psycopg-2.0.12-setup.py.patch
4 Log:
5 Fix automagic dependency on dev-python/egenix-mx-base.
6 (Portage version: 14155-svn/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-python/psycopg/files/psycopg-2.0.12-setup.py.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/files/psycopg-2.0.12-setup.py.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/files/psycopg-2.0.12-setup.py.patch?rev=1.1&content-type=text/plain
13
14 Index: psycopg-2.0.12-setup.py.patch
15 ===================================================================
16 --- setup.py
17 +++ setup.py
18 @@ -344,7 +344,7 @@
19 mxincludedir = parser.get('build_ext', 'mx_include_dir')
20 else:
21 mxincludedir = os.path.join(get_python_inc(plat_specific=1), "mx")
22 -if os.path.exists(mxincludedir):
23 +if not use_pydatetime and os.path.exists(mxincludedir):
24 include_dirs.append(mxincludedir)
25 define_macros.append(('HAVE_MXDATETIME','1'))
26 sources.append('adapter_mxdatetime.c')