diff options
author | William Hubbs <william.hubbs@sony.com> | 2019-07-15 16:18:45 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2019-07-15 16:30:20 -0500 |
commit | f04ac4dfe14c5cab939614ca9d07897c824d06e8 (patch) | |
tree | 1e98fd59d11a7539057c112f2827c0aa79e7bccb /dev-python/psycopg/files | |
parent | app-admin/vault: Bump to version 1.1.3 (diff) | |
download | gentoo-f04ac4dfe14c5cab939614ca9d07897c824d06e8.tar.gz gentoo-f04ac4dfe14c5cab939614ca9d07897c824d06e8.tar.bz2 gentoo-f04ac4dfe14c5cab939614ca9d07897c824d06e8.zip |
dev-python/psycopg: 2.8.3 bump
Closes: https://bugs.gentoo.org/683412
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-python/psycopg/files')
-rw-r--r-- | dev-python/psycopg/files/psycopg-2.8.3-avoid-mxdatetime.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/psycopg/files/psycopg-2.8.3-avoid-mxdatetime.patch b/dev-python/psycopg/files/psycopg-2.8.3-avoid-mxdatetime.patch new file mode 100644 index 000000000000..3475bf31795e --- /dev/null +++ b/dev-python/psycopg/files/psycopg-2.8.3-avoid-mxdatetime.patch @@ -0,0 +1,24 @@ +diff --git a/setup.py b/setup.py +index c1f319a..c44fc69 100644 +--- a/setup.py ++++ b/setup.py +@@ -525,19 +525,6 @@ parser.read('setup.cfg') + + # check for mx package + have_mxdatetime = False +-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') + + # generate a nice version string to avoid confusion when users report bugs + version_flags.append('pq3') # no more a choice |