summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-psycopg2
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-psycopg2')
-rw-r--r--meta-openstack/recipes-devtools/python/python-psycopg2/remove-pg-config.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-psycopg2/remove-pg-config.patch b/meta-openstack/recipes-devtools/python/python-psycopg2/remove-pg-config.patch
index 37acc30..8f426f5 100644
--- a/meta-openstack/recipes-devtools/python/python-psycopg2/remove-pg-config.patch
+++ b/meta-openstack/recipes-devtools/python/python-psycopg2/remove-pg-config.patch
@@ -14,13 +14,14 @@ diff --git a/setup.cfg b/setup.cfg
14index d00ce92..4b45aac 100644 14index d00ce92..4b45aac 100644
15--- a/setup.cfg 15--- a/setup.cfg
16+++ b/setup.cfg 16+++ b/setup.cfg
17@@ -1,5 +1,6 @@ 17@@ -1,6 +1,6 @@
18 [build_ext] 18 [build_ext]
19 define = 19 define =
20-pg_config =
20+pg_config="/bin/true" 21+pg_config="/bin/true"
21 use_pydatetime = 1 22 use_pydatetime = 1
23 mx_include_dir =
22 have_ssl = 0 24 have_ssl = 0
23
24diff --git a/setup.py b/setup.py 25diff --git a/setup.py b/setup.py
25index d71d489..b101696 100644 26index d71d489..b101696 100644
26--- a/setup.py 27--- a/setup.py
@@ -42,7 +43,7 @@ index d71d489..b101696 100644
42+ pgversion = "9.4.4" 43+ pgversion = "9.4.4"
43 44
44 verre = re.compile( 45 verre = re.compile(
45 r"(\d+)\.(\d+)(?:(?:\.(\d+))|(devel|(alpha|beta|rc)\d+))") 46 r"(\d+)(?:\.(\d+))?(?:(?:\.(\d+))|(devel|(?:alpha|beta|rc)\d+))?")
46-- 47--
472.7.4 482.7.4
48 49