summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-psycopg2_2.6.1.bb
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2015-08-05 16:29:48 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2015-08-06 09:35:50 -0400
commit0694253b5e99de0d8e2e77bf186680b1f6479c27 (patch)
treefaa7411a5fb8c42bd70cc70a3b9b493ec1a4014a /meta-openstack/recipes-devtools/python/python-psycopg2_2.6.1.bb
parentb709c1405bc359f304f0dccd575e719f3336e9d6 (diff)
downloadmeta-cloud-services-0694253b5e99de0d8e2e77bf186680b1f6479c27.tar.gz
python-psycopg2: reinstate patch to avoid pg_config
When building we get an error: Error: pg_config executable not found. Previously there was a patch that removed references to pg_config. This patch was dropped during the version uprev for an unknown reason. Reinstate this patch with minor updates to allow it to patch the new version of python-psycopg2 and get the build working again. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-psycopg2_2.6.1.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-psycopg2_2.6.1.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-psycopg2_2.6.1.bb b/meta-openstack/recipes-devtools/python/python-psycopg2_2.6.1.bb
index 8882903..1d78afa 100644
--- a/meta-openstack/recipes-devtools/python/python-psycopg2_2.6.1.bb
+++ b/meta-openstack/recipes-devtools/python/python-psycopg2_2.6.1.bb
@@ -9,6 +9,7 @@ PR = "r0"
9SRCNAME = "psycopg2" 9SRCNAME = "psycopg2"
10 10
11SRC_URI = "https://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ 11SRC_URI = "https://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
12 file://remove-pg-config.patch \
12 " 13 "
13 14
14SRC_URI[md5sum] = "842b44f8c95517ed5b792081a2370da1" 15SRC_URI[md5sum] = "842b44f8c95517ed5b792081a2370da1"
@@ -17,3 +18,7 @@ SRC_URI[sha256sum] = "6acf9abbbe757ef75dc2ecd9d91ba749547941abaffbe69ff2086a9e37
17S = "${WORKDIR}/${SRCNAME}-${PV}" 18S = "${WORKDIR}/${SRCNAME}-${PV}"
18 19
19inherit distutils 20inherit distutils
21
22DEPENDS += " \
23 postgresql \
24"