Return-Path: Received: from mail-qt0-f196.google.com (mail-qt0-f196.google.com [209.85.216.196]) by mail.openembedded.org (Postfix) with ESMTP id 3D0FA78A60 for ; Mon, 5 Mar 2018 13:27:01 +0000 (UTC) Received: by mail-qt0-f196.google.com with SMTP id c7so20256254qtn.3 for ; Mon, 05 Mar 2018 05:27:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=TBCZX672hdFA7lrojFzp/vZ6vjRDNopFX7mytmCgZ/Y=; b=IjEtZY1W9Ds/kKD+L/GcpW/0WG2jKTZGZW9RG2Ui6tGVsJtlRMZrQq0VKGDQJPr/Yj 9puNAwFiWz1/X63DArpgoaak6TxDLvaF+jXwg0LlhbVW7i31e0CM760j35J4sR0w5r0c H3eGBtbmHnn5MLzQjGnilkJfngKmkfbGib40FETTKRo5/R03fr8ZdJhPDbSRIb4rngSO jc0OtKQtezMb39kL3ubQck21hTCXBnSCGISPCdlVhavNtfAfJj7OvtV0LrLLb09B9nTI MVwAC9vBn3X3+60xs8fud3bepe2nAedhspPvdhDu6yZJ/4qq/je9Hm5t/bDdR/fzvlz5 l/CQ== X-Gm-Message-State: AElRT7Eq0a1WSkNEQ2f4/+v7zz6QnnkIDm5Mw7gLtFFeaDkfxdfkO8Hm FDwoR3id0MwemFUwqQrgUDW/32ii X-Google-Smtp-Source: AG47ELuU7ctAcf4jEovHV7m7w9NJTJziF2lQrZ7IB3+9p5UfEFntlb6GCUANnJV0ObPSHzVICRl9Cg== X-Received: by 10.200.25.239 with SMTP id s44mr22144044qtk.57.1520256422941; Mon, 05 Mar 2018 05:27:02 -0800 (PST) Received: from sparta.ny.asterius.io ([68.132.72.199]) by smtp.gmail.com with ESMTPSA id c13sm293557qth.97.2018.03.05.05.27.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Mar 2018 05:27:02 -0800 (PST) From: Derek Straka To: openembedded-core@lists.openembedded.org Date: Mon, 5 Mar 2018 08:26:46 -0500 Message-Id: <1520256406-4603-1-git-send-email-derek@asterius.io> X-Mailer: git-send-email 2.7.4 Subject: [PATCHv2] python3-pycairo: update to 1.16.3 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2018 13:27:02 -0000 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 --- ...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