[2/7] python-pygobject: upgrade 3.28.3 -> 3.32.1

Submitted by changqing.li@windriver.com on June 5, 2019, 3:03 a.m. | Patch ID: 161964

Details

Message ID 1559703841-263740-3-git-send-email-changqing.li@windriver.com
State Accepted
Commit 934d71cb1480bb8f84f85e8f7c6c63758c67b3b4
Headers show

Commit Message

changqing.li@windriver.com June 5, 2019, 3:03 a.m.
From: Changqing Li <changqing.li@windriver.com>

switch to meson build

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 ...thon-pygobject_3.28.3.bb => python-pygobject_3.32.1.bb} | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-devtools/python/{python-pygobject_3.28.3.bb => python-pygobject_3.32.1.bb} (64%)

Patch hide | download patch | download mbox

diff --git a/meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb b/meta-oe/recipes-devtools/python/python-pygobject_3.32.1.bb
similarity index 64%
rename from meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb
rename to meta-oe/recipes-devtools/python/python-pygobject_3.32.1.bb
index 348a039..c26b383 100644
--- a/meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb
+++ b/meta-oe/recipes-devtools/python/python-pygobject_3.32.1.bb
@@ -4,6 +4,7 @@  SECTION = "devel/python"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
 
+GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase gobject-introspection distutils-base upstream-version-is-even
 
 DEPENDS += "python glib-2.0"
@@ -13,16 +14,19 @@  SRC_URI = " \
     http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \
 "
 
-SRC_URI[md5sum] = "3bac63c86bb963aa401f97859464aa90"
-SRC_URI[sha256sum] = "3dd3e21015d06e00482ea665fc1733b77e754a6ab656a5db5d7f7bfaf31ad0b0"
+SRC_URI[md5sum] = "9d5dbca10162dd9b0d03fed0c6cf865d"
+SRC_URI[sha256sum] = "32c99def94b8dea5ce9e4bc99576ef87591ea779b4db77cfdca7af81b76d04d8"
 
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-BBCLASSEXTEND = "native"
+UNKNOWN_CONFIGURE_WHITELIST = "introspection"
+
+PACKAGECONFIG[cairo] = "-Dpycairo=true,-Dpycairo=false, cairo python-pycairo, python-pycairo"
+PACKAGECONFIG[tests] = "-Dtests=true, -Dtests=false, , "
 
-EXTRA_OECONF = "--disable-cairo"
 
-RDEPENDS_${PN} += "python-setuptools"
+BBCLASSEXTEND = "native"
+RDEPENDS_${PN} = "python-setuptools"
 RDEPENDS_${PN}_class-native = ""
 
 do_install_append() {

Comments

Tim Orling June 7, 2019, 7:12 a.m.
Please consider providing a python3 version as well. Python2 will be EOL
soon.

On Tue, Jun 4, 2019 at 8:04 PM <changqing.li@windriver.com> wrote:

> From: Changqing Li <changqing.li@windriver.com>
>
> switch to meson build
>
> Signed-off-by: Changqing Li <changqing.li@windriver.com>
> ---
>  ...thon-pygobject_3.28.3.bb => python-pygobject_3.32.1.bb} | 14
> +++++++++-----
>  1 file changed, 9 insertions(+), 5 deletions(-)
>  rename meta-oe/recipes-devtools/python/{python-pygobject_3.28.3.bb =>
> python-pygobject_3.32.1.bb} (64%)
>
> diff --git a/meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb
> b/meta-oe/recipes-devtools/python/python-pygobject_3.32.1.bb
> similarity index 64%
> rename from meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb
> rename to meta-oe/recipes-devtools/python/python-pygobject_3.32.1.bb
> index 348a039..c26b383 100644
> --- a/meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb
> +++ b/meta-oe/recipes-devtools/python/python-pygobject_3.32.1.bb
> @@ -4,6 +4,7 @@ SECTION = "devel/python"
>  LICENSE = "LGPLv2.1"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
>
> +GNOMEBASEBUILDCLASS = "meson"
>  inherit gnomebase gobject-introspection distutils-base
> upstream-version-is-even
>
>  DEPENDS += "python glib-2.0"
> @@ -13,16 +14,19 @@ SRC_URI = " \
>      http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz
> \
>  "
>
> -SRC_URI[md5sum] = "3bac63c86bb963aa401f97859464aa90"
> -SRC_URI[sha256sum] =
> "3dd3e21015d06e00482ea665fc1733b77e754a6ab656a5db5d7f7bfaf31ad0b0"
> +SRC_URI[md5sum] = "9d5dbca10162dd9b0d03fed0c6cf865d"
> +SRC_URI[sha256sum] =
> "32c99def94b8dea5ce9e4bc99576ef87591ea779b4db77cfdca7af81b76d04d8"
>
>  S = "${WORKDIR}/${SRCNAME}-${PV}"
>
> -BBCLASSEXTEND = "native"
> +UNKNOWN_CONFIGURE_WHITELIST = "introspection"
> +
> +PACKAGECONFIG[cairo] = "-Dpycairo=true,-Dpycairo=false, cairo
> python-pycairo, python-pycairo"
> +PACKAGECONFIG[tests] = "-Dtests=true, -Dtests=false, , "
>
> -EXTRA_OECONF = "--disable-cairo"
>
> -RDEPENDS_${PN} += "python-setuptools"
> +BBCLASSEXTEND = "native"
> +RDEPENDS_${PN} = "python-setuptools"
>  RDEPENDS_${PN}_class-native = ""
>
>  do_install_append() {
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
changqing.li@windriver.com June 10, 2019, 1:34 a.m.
On 6/7/19 3:12 PM, Tim Orling wrote:
> Please consider providing a python3 version as well. Python2 will be 
> EOL soon.
Already have one under oe-core layer
>
> On Tue, Jun 4, 2019 at 8:04 PM <changqing.li@windriver.com 
> <mailto:changqing.li@windriver.com>> wrote:
>
>     From: Changqing Li <changqing.li@windriver.com
>     <mailto:changqing.li@windriver.com>>
>
>     switch to meson build
>
>     Signed-off-by: Changqing Li <changqing.li@windriver.com
>     <mailto:changqing.li@windriver.com>>
>     ---
>      ...thon-pygobject_3.28.3.bb <http://thon-pygobject_3.28.3.bb> =>
>     python-pygobject_3.32.1.bb <http://python-pygobject_3.32.1.bb>} |
>     14 +++++++++-----
>      1 file changed, 9 insertions(+), 5 deletions(-)
>      rename
>     meta-oe/recipes-devtools/python/{python-pygobject_3.28.3.bb
>     <http://python-pygobject_3.28.3.bb> => python-pygobject_3.32.1.bb
>     <http://python-pygobject_3.32.1.bb>} (64%)
>
>     diff --git
>     a/meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb
>     <http://python-pygobject_3.28.3.bb>
>     b/meta-oe/recipes-devtools/python/python-pygobject_3.32.1.bb
>     <http://python-pygobject_3.32.1.bb>
>     similarity index 64%
>     rename from
>     meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb
>     <http://python-pygobject_3.28.3.bb>
>     rename to
>     meta-oe/recipes-devtools/python/python-pygobject_3.32.1.bb
>     <http://python-pygobject_3.32.1.bb>
>     index 348a039..c26b383 100644
>     --- a/meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb
>     <http://python-pygobject_3.28.3.bb>
>     +++ b/meta-oe/recipes-devtools/python/python-pygobject_3.32.1.bb
>     <http://python-pygobject_3.32.1.bb>
>     @@ -4,6 +4,7 @@ SECTION = "devel/python"
>      LICENSE = "LGPLv2.1"
>      LIC_FILES_CHKSUM =
>     "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
>
>     +GNOMEBASEBUILDCLASS = "meson"
>      inherit gnomebase gobject-introspection distutils-base
>     upstream-version-is-even
>
>      DEPENDS += "python glib-2.0"
>     @@ -13,16 +14,19 @@ SRC_URI = " \
>     http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir(
>     <http://ftp.gnome.org/pub/GNOME/sources/$%7BSRCNAME%7D/$%7B@gnome_verdir(>"${PV}")}/${SRCNAME}-${PV}.tar.xz
>     \
>      "
>
>     -SRC_URI[md5sum] = "3bac63c86bb963aa401f97859464aa90"
>     -SRC_URI[sha256sum] =
>     "3dd3e21015d06e00482ea665fc1733b77e754a6ab656a5db5d7f7bfaf31ad0b0"
>     +SRC_URI[md5sum] = "9d5dbca10162dd9b0d03fed0c6cf865d"
>     +SRC_URI[sha256sum] =
>     "32c99def94b8dea5ce9e4bc99576ef87591ea779b4db77cfdca7af81b76d04d8"
>
>      S = "${WORKDIR}/${SRCNAME}-${PV}"
>
>     -BBCLASSEXTEND = "native"
>     +UNKNOWN_CONFIGURE_WHITELIST = "introspection"
>     +
>     +PACKAGECONFIG[cairo] = "-Dpycairo=true,-Dpycairo=false, cairo
>     python-pycairo, python-pycairo"
>     +PACKAGECONFIG[tests] = "-Dtests=true, -Dtests=false, , "
>
>     -EXTRA_OECONF = "--disable-cairo"
>
>     -RDEPENDS_${PN} += "python-setuptools"
>     +BBCLASSEXTEND = "native"
>     +RDEPENDS_${PN} = "python-setuptools"
>      RDEPENDS_${PN}_class-native = ""
>
>      do_install_append() {
>     -- 
>     2.7.4
>
>     -- 
>     _______________________________________________
>     Openembedded-devel mailing list
>     Openembedded-devel@lists.openembedded.org
>     <mailto:Openembedded-devel@lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
Tim Orling June 10, 2019, 2:54 a.m.
Thanks!

On Sun, Jun 9, 2019 at 6:34 PM Changqing Li <changqing.li@windriver.com>
wrote:

> On 6/7/19 3:12 PM, Tim Orling wrote:
>
> Please consider providing a python3 version as well. Python2 will be EOL
> soon.
>
> Already have one under oe-core layer
>
>
> On Tue, Jun 4, 2019 at 8:04 PM <changqing.li@windriver.com> wrote:
>
>> From: Changqing Li <changqing.li@windriver.com>
>>
>> switch to meson build
>>
>> Signed-off-by: Changqing Li <changqing.li@windriver.com>
>> ---
>>  ...thon-pygobject_3.28.3.bb => python-pygobject_3.32.1.bb} | 14
>> +++++++++-----
>>  1 file changed, 9 insertions(+), 5 deletions(-)
>>  rename meta-oe/recipes-devtools/python/{python-pygobject_3.28.3.bb =>
>> python-pygobject_3.32.1.bb} (64%)
>>
>> diff --git a/meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb
>> b/meta-oe/recipes-devtools/python/python-pygobject_3.32.1.bb
>> similarity index 64%
>> rename from meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb
>> rename to meta-oe/recipes-devtools/python/python-pygobject_3.32.1.bb
>> index 348a039..c26b383 100644
>> --- a/meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb
>> +++ b/meta-oe/recipes-devtools/python/python-pygobject_3.32.1.bb
>> @@ -4,6 +4,7 @@ SECTION = "devel/python"
>>  LICENSE = "LGPLv2.1"
>>  LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
>>
>> +GNOMEBASEBUILDCLASS = "meson"
>>  inherit gnomebase gobject-introspection distutils-base
>> upstream-version-is-even
>>
>>  DEPENDS += "python glib-2.0"
>> @@ -13,16 +14,19 @@ SRC_URI = " \
>>      http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz
>> \
>>  "
>>
>> -SRC_URI[md5sum] = "3bac63c86bb963aa401f97859464aa90"
>> -SRC_URI[sha256sum] =
>> "3dd3e21015d06e00482ea665fc1733b77e754a6ab656a5db5d7f7bfaf31ad0b0"
>> +SRC_URI[md5sum] = "9d5dbca10162dd9b0d03fed0c6cf865d"
>> +SRC_URI[sha256sum] =
>> "32c99def94b8dea5ce9e4bc99576ef87591ea779b4db77cfdca7af81b76d04d8"
>>
>>  S = "${WORKDIR}/${SRCNAME}-${PV}"
>>
>> -BBCLASSEXTEND = "native"
>> +UNKNOWN_CONFIGURE_WHITELIST = "introspection"
>> +
>> +PACKAGECONFIG[cairo] = "-Dpycairo=true,-Dpycairo=false, cairo
>> python-pycairo, python-pycairo"
>> +PACKAGECONFIG[tests] = "-Dtests=true, -Dtests=false, , "
>>
>> -EXTRA_OECONF = "--disable-cairo"
>>
>> -RDEPENDS_${PN} += "python-setuptools"
>> +BBCLASSEXTEND = "native"
>> +RDEPENDS_${PN} = "python-setuptools"
>>  RDEPENDS_${PN}_class-native = ""
>>
>>  do_install_append() {
>> --
>> 2.7.4
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>
> --
> BRs
>
> Sandy(Li Changqing)
>
>