From 0694253b5e99de0d8e2e77bf186680b1f6479c27 Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Wed, 5 Aug 2015 16:29:48 -0400 Subject: 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 Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-psycopg2_2.6.1.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta-openstack/recipes-devtools/python/python-psycopg2_2.6.1.bb') 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" SRCNAME = "psycopg2" SRC_URI = "https://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ + file://remove-pg-config.patch \ " SRC_URI[md5sum] = "842b44f8c95517ed5b792081a2370da1" @@ -17,3 +18,7 @@ SRC_URI[sha256sum] = "6acf9abbbe757ef75dc2ecd9d91ba749547941abaffbe69ff2086a9e37 S = "${WORKDIR}/${SRCNAME}-${PV}" inherit distutils + +DEPENDS += " \ + postgresql \ +" -- cgit v1.2.3-54-g00ecf