[oe] [meta-python][PATCH 4/6] python-tornado-redis: update the recipe to use the common pypi

Derek Straka derek at asterius.io
Wed Mar 23 20:01:59 UTC 2016


Signed-off-by: Derek Straka <derek at asterius.io>
---
 .../recipes-devtools/python/python-tornado-redis_2.4.18.bb       | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-tornado-redis_2.4.18.bb b/meta-python/recipes-devtools/python/python-tornado-redis_2.4.18.bb
index daec25e..46a20a5 100644
--- a/meta-python/recipes-devtools/python/python-tornado-redis_2.4.18.bb
+++ b/meta-python/recipes-devtools/python/python-tornado-redis_2.4.18.bb
@@ -8,18 +8,11 @@ HOMEPAGE = "https://github.com/leporo/tornado-redis"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=ca307e8f37b5fa7f8dbbec033f7db7de"
 
-SRCNAME = "tornado-redis"
-
-SRC_URI = " \
-    https://pypi.python.org/packages/source/t/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
-"
 SRC_URI[md5sum] = "1c7ec0f645d15400871141c1149e6934"
 SRC_URI[sha256sum] = "8fd3b324158291ad5fb7f5f8dc2e8763b2895556bd2a44f2dd721b703c669046"
 
-inherit setuptools
+inherit pypi setuptools
 
 RDEPENDS_${PN} += "python-tornado"
 
 RDEPENDS_${PN}-test += "${PN} python-tornado"
-
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-- 
1.9.1




More information about the Openembedded-devel mailing list