From 525981124be70e314db8dd5df570ddeaf4fc5517 Mon Sep 17 00:00:00 2001 From: Huang Qiyu Date: Mon, 23 Jan 2017 16:25:25 +0800 Subject: python-psycopg2: 2.6.1 -> 2.6.2 1) Upgrade python-psycopg2 from 2.6.1 to 2.6.2. 2) Modify remove-pg-config.patch, since the data has been changed. Signed-off-by: Huang Qiyu Signed-off-by: Bruce Ashfield --- .../python/python-psycopg2/remove-pg-config.patch | 34 +++++++++------------- 1 file changed, 14 insertions(+), 20 deletions(-) (limited to 'meta-openstack/recipes-devtools/python/python-psycopg2/remove-pg-config.patch') 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 b2f94dd..37acc30 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 @@ -1,37 +1,31 @@ -From 392c4581da49f133938e70f6215bfebba28ecc56 Mon Sep 17 00:00:00 2001 +From 92d42775735d1555449b860c214ca7265d7ad75b Mon Sep 17 00:00:00 2001 From: Mark Asselstine -Date: Tue, 4 Aug 2015 20:59:18 -0400 +Date: Tue, 24 Jan 2017 00:43:35 +0900 Subject: [PATCH] setup: don't use pg_config -The package uses the pg_config command to detect the libdir and -includedir path. Commented the lines because the command is not -available at buildtime and the package succesfully build without them. - -Signed-off-by: Mark Asselstine Signed-off-by: Mark Asselstine +Signed-off-by: Huang Qiyu --- - setup.cfg | 2 +- + setup.cfg | 1 + setup.py | 5 +---- - 2 files changed, 2 insertions(+), 5 deletions(-) + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/setup.cfg b/setup.cfg -index 90a47dd..986871b 100644 +index d00ce92..4b45aac 100644 --- a/setup.cfg +++ b/setup.cfg -@@ -9,7 +9,7 @@ define= - # 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= +@@ -1,5 +1,6 @@ + [build_ext] + define = +pg_config="/bin/true" + use_pydatetime = 1 + have_ssl = 0 - # Set to 1 to use Python datetime objects for default date/time representation. - use_pydatetime=1 diff --git a/setup.py b/setup.py -index 975fe10..85502ca 100644 +index d71d489..b101696 100644 --- a/setup.py +++ b/setup.py -@@ -389,16 +389,13 @@ class psycopg_build_ext(build_ext): +@@ -398,16 +398,13 @@ class psycopg_build_ext(build_ext): self.libraries.append("pq") try: @@ -50,5 +44,5 @@ index 975fe10..85502ca 100644 verre = re.compile( r"(\d+)\.(\d+)(?:(?:\.(\d+))|(devel|(alpha|beta|rc)\d+))") -- -2.1.4 +2.7.4 -- cgit v1.2.3-54-g00ecf