Skip to contentSkip to conversation

python3-pycairo: update to 1.16.3

PATCH Superseded Derek Straka 2 participants 4 messages Mar 5, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-pycairo: update to 1.16.3

Update to the latest stable release
Add the .pc file to the list of FILES

Tested in qemux86-64 running core-image-minimal

---
 .../{python3-pycairo_1.15.6.bb => python3-pycairo_1.16.3.bb}     | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/python/{python3-pycairo_1.15.6.bb => python3-pycairo_1.16.3.bb} (78%)
meta/recipes-devtools/python/python3-pycairo_1.16.3.bb renamed from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb +6 -3
similarity index 78%
rename from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb
rename to meta/recipes-devtools/python/python3-pycairo_1.16.3.bb
index 5c3e1e6..b648852 100644
@@ -13,8 +13,8 @@ DEPENDS = "cairo"
 SRC_URI = "https://github.com/pygobject/pycairo/releases/download/v${PV}/pycairo-${PV}.tar.gz"
 UPSTREAM_CHECK_URI = "https://github.com/pygobject/pycairo/releases/"
 
-SRC_URI[md5sum] = "3ff210c34e7b052590e15fd0fb147766"
-SRC_URI[sha256sum] = "ad150ea637860836b66705e0513b8e59494538f0b80497ad3462051368755016"
+SRC_URI[md5sum] = "d2a115037ccd128219f43d5ed3df7926"
+SRC_URI[sha256sum] = "5bb321e5d4f8b3a51f56fc6a35c143f1b72ce0d748b43d8b623596e8215f01f7"
 
 S = "${WORKDIR}/pycairo-${PV}"
 
@@ -28,4 +28,7 @@ do_install_append() {
     install -d ${D}${includedir}/pycairo/
     install -m 0644 ${D}${datadir}/include/pycairo/py3cairo.h ${D}${includedir}/pycairo/
 }
-FILES_${PN} += "${datadir}/include/pycairo/py3cairo.h"
+FILES_${PN} += " \
+    ${datadir}/include/pycairo/py3cairo.h \
+    ${datadir}/lib/pkgconfig/py3cairo.pc \
+"
Signature · 1 line
2.7.4
#1 lore raw

Shouldn't the .h and .pc be in PN-dev?

Quoted 54 lines · Derek Straka

Update to the latest stable release
Add the .pc file to the list of FILES

Tested in qemux86-64 running core-image-minimal

---
 .../{python3-pycairo_1.15.6.bb => python3-pycairo_1.16.3.bb}     | 9
++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/python/{python3-pycairo_1.15.6.bb =>

python3-pycairo_1.16.3.bb} (78%)

meta/recipes-devtools/python/python3-pycairo_1.16.3.bb renamed from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb +0 -0
similarity index 78%
rename from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb
rename to meta/recipes-devtools/python/python3-pycairo_1.16.3.bb
index 5c3e1e6..b648852 100644
@@ -13,8 +13,8 @@ DEPENDS = "cairo"
 SRC_URI = "https://github.com/pygobject/pycairo/releases/download/v${

PV}/pycairo-${PV}.tar.gz"
UPSTREAM_CHECK_URI = "https://github.com/pygobject/pycairo/releases/"

meta/recipes-devtools/python/python3-pycairo_1.16.3.bb renamed from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb +0 -2
-SRC_URI[md5sum] = "3ff210c34e7b052590e15fd0fb147766"
-SRC_URI[sha256sum] = "ad150ea637860836b66705e0513b8e

59494538f0b80497ad3462051368755016"

meta/recipes-devtools/python/python3-pycairo_1.16.3.bb renamed from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb +2 -0
+SRC_URI[md5sum] = "d2a115037ccd128219f43d5ed3df7926"
+SRC_URI[sha256sum] = "5bb321e5d4f8b3a51f56fc6a35c143

f1b72ce0d748b43d8b623596e8215f01f7"

S = "${WORKDIR}/pycairo-${PV}"

meta/recipes-devtools/python/python3-pycairo_1.16.3.bb renamed from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb +0 -0
@@ -28,4 +28,7 @@ do_install_append() {
     install -d ${D}${includedir}/pycairo/
     install -m 0644 ${D}${datadir}/include/pycairo/py3cairo.h

${D}${includedir}/pycairo/
}

meta/recipes-devtools/python/python3-pycairo_1.16.3.bb renamed from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb +4 -2
-FILES_${PN} += "${datadir}/include/pycairo/py3cairo.h"
+FILES_${PN} += " \
+    ${datadir}/include/pycairo/py3cairo.h \
+    ${datadir}/lib/pkgconfig/py3cairo.pc \
+"
--

2.7.4

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#2 lore raw

Probably. I didn't even notice that it wasn't. v2 coming once I verify.

Quoted 60 lines · Ross

Shouldn't the .h and .pc be in PN-dev?

Quoted 54 lines · Derek Straka

Update to the latest stable release
Add the .pc file to the list of FILES

Tested in qemux86-64 running core-image-minimal

---
 .../{python3-pycairo_1.15.6.bb => python3-pycairo_1.16.3.bb}     | 9
++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/python/{python3-pycairo_1.15.6.bb =>

python3-pycairo_1.16.3.bb} (78%)

meta/recipes-devtools/python/python3-pycairo_1.16.3.bb renamed from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb +0 -0
similarity index 78%
rename from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb
rename to meta/recipes-devtools/python/python3-pycairo_1.16.3.bb
index 5c3e1e6..b648852 100644
@@ -13,8 +13,8 @@ DEPENDS = "cairo"
 SRC_URI = "https://github.com/pygobject/pycairo/releases/download/v${P

V}/pycairo-${PV}.tar.gz"
UPSTREAM_CHECK_URI = "https://github.com/pygobject/pycairo/releases/"

meta/recipes-devtools/python/python3-pycairo_1.16.3.bb renamed from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb +0 -2
-SRC_URI[md5sum] = "3ff210c34e7b052590e15fd0fb147766"
-SRC_URI[sha256sum] = "ad150ea637860836b66705e0513b8

e59494538f0b80497ad3462051368755016"

meta/recipes-devtools/python/python3-pycairo_1.16.3.bb renamed from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb +2 -0
+SRC_URI[md5sum] = "d2a115037ccd128219f43d5ed3df7926"
+SRC_URI[sha256sum] = "5bb321e5d4f8b3a51f56fc6a35c14

3f1b72ce0d748b43d8b623596e8215f01f7"

S = "${WORKDIR}/pycairo-${PV}"

meta/recipes-devtools/python/python3-pycairo_1.16.3.bb renamed from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb +0 -0
@@ -28,4 +28,7 @@ do_install_append() {
     install -d ${D}${includedir}/pycairo/
     install -m 0644 ${D}${datadir}/include/pycairo/py3cairo.h

${D}${includedir}/pycairo/
}

meta/recipes-devtools/python/python3-pycairo_1.16.3.bb renamed from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb +4 -2
-FILES_${PN} += "${datadir}/include/pycairo/py3cairo.h"
+FILES_${PN} += " \
+    ${datadir}/include/pycairo/py3cairo.h \
+    ${datadir}/lib/pkgconfig/py3cairo.pc \
+"
--

2.7.4

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#3 lore raw

Not sure that it is the correct solution, but I sent a v2. Is it better to override --install-data directory in this instance rather than touching up the locations in the do_install_append?

Quoted 66 lines · Derek Straka

Probably. I didn't even notice that it wasn't. v2 coming once I verify.

Quoted 60 lines · Ross

Shouldn't the .h and .pc be in PN-dev?

Quoted 54 lines · Derek Straka

Update to the latest stable release
Add the .pc file to the list of FILES

Tested in qemux86-64 running core-image-minimal

---
 .../{python3-pycairo_1.15.6.bb => python3-pycairo_1.16.3.bb}     | 9
++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/python/{python3-pycairo_1.15.6.bb =>

python3-pycairo_1.16.3.bb} (78%)

meta/recipes-devtools/python/python3-pycairo_1.16.3.bb renamed from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb +0 -0
similarity index 78%
rename from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb
rename to meta/recipes-devtools/python/python3-pycairo_1.16.3.bb
index 5c3e1e6..b648852 100644
@@ -13,8 +13,8 @@ DEPENDS = "cairo"
 SRC_URI = "https://github.com/pygobject/pycairo/releases/download/v${P

V}/pycairo-${PV}.tar.gz"
UPSTREAM_CHECK_URI = "https://github.com/pygobject/pycairo/releases/"

meta/recipes-devtools/python/python3-pycairo_1.16.3.bb renamed from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb +0 -2
-SRC_URI[md5sum] = "3ff210c34e7b052590e15fd0fb147766"
-SRC_URI[sha256sum] = "ad150ea637860836b66705e0513b8

e59494538f0b80497ad3462051368755016"

meta/recipes-devtools/python/python3-pycairo_1.16.3.bb renamed from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb +2 -0
+SRC_URI[md5sum] = "d2a115037ccd128219f43d5ed3df7926"
+SRC_URI[sha256sum] = "5bb321e5d4f8b3a51f56fc6a35c14

3f1b72ce0d748b43d8b623596e8215f01f7"

S = "${WORKDIR}/pycairo-${PV}"

meta/recipes-devtools/python/python3-pycairo_1.16.3.bb renamed from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb +0 -0
@@ -28,4 +28,7 @@ do_install_append() {
     install -d ${D}${includedir}/pycairo/
     install -m 0644 ${D}${datadir}/include/pycairo/py3cairo.h

${D}${includedir}/pycairo/
}

meta/recipes-devtools/python/python3-pycairo_1.16.3.bb renamed from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb +4 -2
-FILES_${PN} += "${datadir}/include/pycairo/py3cairo.h"
+FILES_${PN} += " \
+    ${datadir}/include/pycairo/py3cairo.h \
+    ${datadir}/lib/pkgconfig/py3cairo.pc \
+"
--

2.7.4

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core