From: Derek Straka <derek@asterius.io>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] python3-pycairo: update to version 1.16.3
Date: Sat, 24 Mar 2018 13:26:53 -0400 [thread overview]
Message-ID: <1521912413-6148-1-git-send-email-derek@asterius.io> (raw)
Update to the latest stable release
Changes in this update:
Add the .pc file to the list of -dev files
Move py3cairo header to -dev package
Added a comment for why the .pc and .h file are re-installed
Verified native build and dependency builds (python3-pygobject and bootchart2)
Tested in qemux86-64 running core-image-minimal
Signed-off-by: Derek Straka <derek@asterius.io>
---
...ython3-pycairo_1.15.6.bb => python3-pycairo_1.16.3.bb} | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
rename meta/recipes-devtools/python/{python3-pycairo_1.15.6.bb => python3-pycairo_1.16.3.bb} (58%)
diff --git a/meta/recipes-devtools/python/python3-pycairo_1.15.6.bb b/meta/recipes-devtools/python/python3-pycairo_1.16.3.bb
similarity index 58%
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..85f3752 100644
--- a/meta/recipes-devtools/python/python3-pycairo_1.15.6.bb
+++ b/meta/recipes-devtools/python/python3-pycairo_1.16.3.bb
@@ -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}"
@@ -25,7 +25,14 @@ CFLAGS += "-fPIC"
BBCLASSEXTEND = "native"
do_install_append() {
- install -d ${D}${includedir}/pycairo/
+ # setup.py uses --install-data which points to a non-standard datadir to install the header and .pc files
+ # Fix the paths here to install in the standard locations as well
+ install -d ${D}${includedir}/pycairo/ -d ${D}${nonarch_libdir}/pkgconfig
install -m 0644 ${D}${datadir}/include/pycairo/py3cairo.h ${D}${includedir}/pycairo/
+ install -m 0644 ${D}${datadir}/lib/pkgconfig/py3cairo.pc ${D}${nonarch_libdir}/pkgconfig/
}
-FILES_${PN} += "${datadir}/include/pycairo/py3cairo.h"
+
+FILES_${PN}-dev += " \
+ ${datadir}/include/pycairo/py3cairo.h \
+ ${datadir}/lib/pkgconfig/py3cairo.pc \
+"
--
2.7.4
next reply other threads:[~2018-03-24 17:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-24 17:26 Derek Straka [this message]
2018-03-26 19:19 ` [PATCH] python3-pycairo: update to version 1.16.3 Burton, Ross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1521912413-6148-1-git-send-email-derek@asterius.io \
--to=derek@asterius.io \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox