On Thu, Mar 22, 2018 at 11:28 PM, Huang Qiyu
<[email protected]> wrote:
> 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 <[email protected]>
> ---
This one should be fine. Not sure if we actually have any direct
dependencies if were to cleanup some of our recipes, so possibly a
candidate to abandon to meta-python. At any rate, should be fine to
merge.
Mark
> .../recipes-devtools/python/python-psycopg2/remove-pg-config.patch | 7
> ++++---
> .../python/{python-psycopg2_2.6.2.bb => python-psycopg2_2.7.4.bb} | 4 ++--
> 2 files changed, 6 insertions(+), 5 deletions(-)
> rename meta-openstack/recipes-devtools/python/{python-psycopg2_2.6.2.bb =>
> python-psycopg2_2.7.4.bb} (71%)
>
> 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
> index d00ce92..4b45aac 100644
> --- a/setup.cfg
> +++ b/setup.cfg
> -@@ -1,5 +1,6 @@
> +@@ -1,6 +1,6 @@
> [build_ext]
> define =
> +-pg_config =
> +pg_config="/bin/true"
> use_pydatetime = 1
> + mx_include_dir =
> have_ssl = 0
> -
> diff --git a/setup.py b/setup.py
> index d71d489..b101696 100644
> --- a/setup.py
> @@ -42,7 +43,7 @@ index d71d489..b101696 100644
> + pgversion = "9.4.4"
>
> verre = re.compile(
> - r"(\d+)\.(\d+)(?:(?:\.(\d+))|(devel|(alpha|beta|rc)\d+))")
> +
> r"(\d+)(?:\.(\d+))?(?:(?:\.(\d+))|(devel|(?:alpha|beta|rc)\d+))?")
> --
> 2.7.4
>
> 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
> similarity index 71%
> rename from meta-openstack/recipes-devtools/python/python-psycopg2_2.6.2.bb
> rename to 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 += " \
> file://remove-pg-config.patch \
> "
>
> -SRC_URI[md5sum] = "4a392949ba31a378a18ed3e775a4693f"
> -SRC_URI[sha256sum] =
> "70490e12ed9c5c818ecd85d185d363335cc8a8cbf7212e3c185431c79ff8c05c"
> +SRC_URI[md5sum] = "70fc57072e084565a42689d416cf2c5c"
> +SRC_URI[sha256sum] =
> "8bf51191d60f6987482ef0cfe8511bbf4877a5aa7f313d7b488b53189cf26209"
>
> inherit distutils pypi
>
> --
> 2.7.4
>
>
>
> --
> _______________________________________________
> meta-virtualization mailing list
> [email protected]
> https://lists.yoctoproject.org/listinfo/meta-virtualization
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization