diff options
| author | Mihai Prica <prica.mihai@gmail.com> | 2013-06-27 14:15:51 +0300 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-08-28 18:41:57 -0400 |
| commit | 64c6a7a41e53b288b5cf5fcc0097421228261f07 (patch) | |
| tree | b6f85ad86ad2bc6c84302d5edde7d4622156cfaf /meta-openstack/recipes-devtools/python/python-psycopg2/remove-pg-config.patch | |
| parent | 1510c871a8e7291cd49b056db3af756c5ff296b4 (diff) | |
| download | meta-cloud-services-64c6a7a41e53b288b5cf5fcc0097421228261f07.tar.gz | |
python-psycopg2: Renamed patch
Added the reason for why it is necessary and the UpstreamStatus
to the patch.
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-psycopg2/remove-pg-config.patch')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-psycopg2/remove-pg-config.patch | 20 |
1 files changed, 20 insertions, 0 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 new file mode 100644 index 0000000..104d692 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-psycopg2/remove-pg-config.patch | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | Upstream-status: Inappropriate [embedded specific] | ||
| 2 | |||
| 3 | The package uses the pg_config command to detect the libdir and includedir path. | ||
| 4 | Commented the lines because the command is not available at buildtime and the | ||
| 5 | package succesfully build without them. | ||
| 6 | |||
| 7 | Index: psycopg2-2.5/setup.py | ||
| 8 | =================================================================== | ||
| 9 | --- psycopg2-2.5.orig/setup.py | ||
| 10 | +++ psycopg2-2.5/setup.py | ||
| 11 | @@ -377,9 +377,6 @@ class psycopg_build_ext(build_ext): | ||
| 12 | self.libraries.append("pq") | ||
| 13 | |||
| 14 | try: | ||
| 15 | - self.library_dirs.append(pg_config_helper.query("libdir")) | ||
| 16 | - self.include_dirs.append(pg_config_helper.query("includedir")) | ||
| 17 | - self.include_dirs.append(pg_config_helper.query("includedir-server")) | ||
| 18 | try: | ||
| 19 | # Here we take a conservative approach: we suppose that | ||
| 20 | # *at least* PostgreSQL 7.4 is available (this is the only | ||
