Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 491154 Details for
Bug 629430
dev-python/psycopg-2.7.3 fail in src_prepare
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch psycopg-2.7.3-setup.py.patch
psycopg-2.7.3-setup.py.patch (text/plain), 1.79 KB, created by
Bernd Feige
on 2017-08-31 13:37:13 UTC
(
hide
)
Description:
Updated patch psycopg-2.7.3-setup.py.patch
Filename:
MIME Type:
Creator:
Bernd Feige
Created:
2017-08-31 13:37:13 UTC
Size:
1.79 KB
patch
obsolete
>Index: psycopg2-2.7.3/setup.py >=================================================================== >--- psycopg2-2.7.3.orig/setup.py >+++ psycopg2-2.7.3/setup.py >@@ -527,20 +527,21 @@ have_pydatetime = True > have_mxdatetime = False > use_pydatetime = int(parser.get('build_ext', 'use_pydatetime')) > >-# check for mx package >-mxincludedir = '' >-if parser.has_option('build_ext', 'mx_include_dir'): >- mxincludedir = parser.get('build_ext', 'mx_include_dir') >-if not mxincludedir: >- mxincludedir = os.path.join(get_python_inc(plat_specific=1), "mx") >-if mxincludedir.strip() and os.path.exists(mxincludedir): >- # Build the support for mx: we will check at runtime if it can be imported >- include_dirs.append(mxincludedir) >- define_macros.append(('HAVE_MXDATETIME', '1')) >- sources.append('adapter_mxdatetime.c') >- depends.extend(['adapter_mxdatetime.h', 'typecast_mxdatetime.c']) >- have_mxdatetime = True >- version_flags.append('mx') >+if not use_pydatetime: >+ # check for mx package >+ mxincludedir = '' >+ if parser.has_option('build_ext', 'mx_include_dir'): >+ mxincludedir = parser.get('build_ext', 'mx_include_dir') >+ if not mxincludedir: >+ mxincludedir = os.path.join(get_python_inc(plat_specific=1), "mx") >+ if mxincludedir.strip() and os.path.exists(mxincludedir): >+ # Build the support for mx: we will check at runtime if it can be imported >+ include_dirs.append(mxincludedir) >+ define_macros.append(('HAVE_MXDATETIME', '1')) >+ sources.append('adapter_mxdatetime.c') >+ depends.extend(['adapter_mxdatetime.h', 'typecast_mxdatetime.c']) >+ have_mxdatetime = True >+ version_flags.append('mx') > > # now decide which package will be the default for date/time typecasts > if have_pydatetime and (use_pydatetime or not have_mxdatetime):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 629430
:
491142
|
491152
| 491154