From a8c8d3bfaef25b0e6a369dfcedb16f7b95de730f Mon Sep 17 00:00:00 2001 From: Mihai Prica Date: Tue, 11 Jun 2013 14:40:18 +0300 Subject: python-psycopg2: added 2.5 Signed-off-by: Mihai Prica --- .../python/python-psycopg2/quick-fix.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-psycopg2/quick-fix.patch (limited to 'meta-openstack/recipes-devtools/python/python-psycopg2/quick-fix.patch') diff --git a/meta-openstack/recipes-devtools/python/python-psycopg2/quick-fix.patch b/meta-openstack/recipes-devtools/python/python-psycopg2/quick-fix.patch new file mode 100644 index 0000000..0fa6e5e --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-psycopg2/quick-fix.patch @@ -0,0 +1,17 @@ +Index: psycopg2-2.5/setup.py +=================================================================== +--- psycopg2-2.5.orig/setup.py ++++ psycopg2-2.5/setup.py +@@ -377,9 +377,9 @@ class psycopg_build_ext(build_ext): + self.libraries.append("pq") + + try: +- self.library_dirs.append(pg_config_helper.query("libdir")) +- self.include_dirs.append(pg_config_helper.query("includedir")) +- self.include_dirs.append(pg_config_helper.query("includedir-server")) ++ #self.library_dirs.append(pg_config_helper.query("libdir")) ++ #self.include_dirs.append(pg_config_helper.query("includedir")) ++ #self.include_dirs.append(pg_config_helper.query("includedir-server")) + try: + # Here we take a conservative approach: we suppose that + # *at least* PostgreSQL 7.4 is available (this is the only -- cgit v1.2.3-54-g00ecf