From 4bec6c1c17f805e6e19bde6f1685f347c0b8e9d6 Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Mon, 26 Feb 2018 16:27:22 +0000 Subject: [PATCH] rpio: Use pypi.bbclass This should resolve recent issues with the non-https URL in SRC_URI. Signed-off-by: Paul Barker --- recipes-devtools/python/rpio_0.10.0.bb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/recipes-devtools/python/rpio_0.10.0.bb b/recipes-devtools/python/rpio_0.10.0.bb index 998fdb3..c3254bc 100644 --- a/recipes-devtools/python/rpio_0.10.0.bb +++ b/recipes-devtools/python/rpio_0.10.0.bb @@ -5,12 +5,10 @@ SECTION = "devel/python" LICENSE = "LGPLv3+" LIC_FILES_CHKSUM = "file://README.rst;beginline=41;endline=53;md5=d5d95d7486a4d98c999675c23196b25a" -SRCNAME = "RPIO" +PYPI_PACKAGE = "RPIO" +inherit pypi -SRC_URI = "http://pypi.python.org/packages/source/R/RPIO/${SRCNAME}-${PV}.tar.gz \ - file://0001-include-sys-types.h-explicitly-for-getting-caddr_t-d.patch \ - " -S = "${WORKDIR}/${SRCNAME}-${PV}" +SRC_URI += "file://0001-include-sys-types.h-explicitly-for-getting-caddr_t-d.patch" inherit setuptools