rpio: Use pypi.bbclass
This should resolve recent issues with the non-https URL in SRC_URI.
@@ -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
