From 13312e07349cbd3ef67e50e6bce8b1002bab4566 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Sat, 10 Aug 2013 00:41:54 -0400 Subject: python-psycopg2: remove references to pg-config pg-config is not provided as a native tool, so if called, the host version will be found. Since the values that are typically returned by pg-config can be determined in our build environment, we can safely remove the calls completely. Signed-off-by: Bruce Ashfield --- .../python/python-psycopg2/remove-pg-config.patch | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'meta-openstack/recipes-devtools/python') 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 104d692..6b72ef7 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 @@ -8,7 +8,7 @@ Index: psycopg2-2.5/setup.py =================================================================== --- psycopg2-2.5.orig/setup.py +++ psycopg2-2.5/setup.py -@@ -377,9 +377,6 @@ class psycopg_build_ext(build_ext): +@@ -377,9 +377,6 @@ self.libraries.append("pq") try: @@ -18,3 +18,16 @@ Index: psycopg2-2.5/setup.py try: # Here we take a conservative approach: we suppose that # *at least* PostgreSQL 7.4 is available (this is the only +Index: psycopg2-2.5/setup.cfg +=================================================================== +--- psycopg2-2.5.orig/setup.cfg ++++ psycopg2-2.5/setup.cfg +@@ -11,7 +11,7 @@ + # build psycopg2. If pg_config is not in the path or is installed under a + # different name uncomment the following option and set it to the pg_config + # full path. +-#pg_config= ++pg_config="/bin/true" + + # Set to 1 to use Python datetime objects for default date/time representation. + use_pydatetime=1 -- cgit v1.2.3-54-g00ecf