diff options
author | Huang Qiyu <huangqy.fnst@cn.fujitsu.com> | 2018-03-23 11:28:54 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2018-03-29 08:02:19 -0400 |
commit | cd57621be047996376be1b08212b0a7795c66174 (patch) | |
tree | 22dfea1aa348bc685ff78dc8bfc5a835c41070ee /meta-openstack | |
parent | 8ee05d95b70da7e7b62eb03aae05068947c298a1 (diff) | |
download | meta-cloud-services-cd57621be047996376be1b08212b0a7795c66174.tar.gz |
python-psycopg2: 2.6.2 -> 2.7.4
1.Upgrade python-psycopg2 from 2.6.2 to 2.7.4.
2.Modify remove-pg-config.patch, since the data has been changed.
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack')
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-psycopg2/remove-pg-config.patch | 7 | ||||
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-psycopg2_2.7.4.bb (renamed from meta-openstack/recipes-devtools/python/python-psycopg2_2.6.2.bb) | 4 |
2 files changed, 6 insertions, 5 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 index 37acc30..8f426f5 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 | |||
@@ -14,13 +14,14 @@ diff --git a/setup.cfg b/setup.cfg | |||
14 | index d00ce92..4b45aac 100644 | 14 | index d00ce92..4b45aac 100644 |
15 | --- a/setup.cfg | 15 | --- a/setup.cfg |
16 | +++ b/setup.cfg | 16 | +++ b/setup.cfg |
17 | @@ -1,5 +1,6 @@ | 17 | @@ -1,6 +1,6 @@ |
18 | [build_ext] | 18 | [build_ext] |
19 | define = | 19 | define = |
20 | -pg_config = | ||
20 | +pg_config="/bin/true" | 21 | +pg_config="/bin/true" |
21 | use_pydatetime = 1 | 22 | use_pydatetime = 1 |
23 | mx_include_dir = | ||
22 | have_ssl = 0 | 24 | have_ssl = 0 |
23 | |||
24 | diff --git a/setup.py b/setup.py | 25 | diff --git a/setup.py b/setup.py |
25 | index d71d489..b101696 100644 | 26 | index d71d489..b101696 100644 |
26 | --- a/setup.py | 27 | --- a/setup.py |
@@ -42,7 +43,7 @@ index d71d489..b101696 100644 | |||
42 | + pgversion = "9.4.4" | 43 | + pgversion = "9.4.4" |
43 | 44 | ||
44 | verre = re.compile( | 45 | verre = re.compile( |
45 | r"(\d+)\.(\d+)(?:(?:\.(\d+))|(devel|(alpha|beta|rc)\d+))") | 46 | r"(\d+)(?:\.(\d+))?(?:(?:\.(\d+))|(devel|(?:alpha|beta|rc)\d+))?") |
46 | -- | 47 | -- |
47 | 2.7.4 | 48 | 2.7.4 |
48 | 49 | ||
diff --git a/meta-openstack/recipes-devtools/python/python-psycopg2_2.6.2.bb b/meta-openstack/recipes-devtools/python/python-psycopg2_2.7.4.bb index 37a4bdd..674322d 100644 --- a/meta-openstack/recipes-devtools/python/python-psycopg2_2.6.2.bb +++ b/meta-openstack/recipes-devtools/python/python-psycopg2_2.7.4.bb | |||
@@ -9,8 +9,8 @@ SRC_URI += " \ | |||
9 | file://remove-pg-config.patch \ | 9 | file://remove-pg-config.patch \ |
10 | " | 10 | " |
11 | 11 | ||
12 | SRC_URI[md5sum] = "4a392949ba31a378a18ed3e775a4693f" | 12 | SRC_URI[md5sum] = "70fc57072e084565a42689d416cf2c5c" |
13 | SRC_URI[sha256sum] = "70490e12ed9c5c818ecd85d185d363335cc8a8cbf7212e3c185431c79ff8c05c" | 13 | SRC_URI[sha256sum] = "8bf51191d60f6987482ef0cfe8511bbf4877a5aa7f313d7b488b53189cf26209" |
14 | 14 | ||
15 | inherit distutils pypi | 15 | inherit distutils pypi |
16 | 16 | ||