[oe] [meta-python][PATCH] python-pysmi: update recipe to use pypi

Derek Straka derek at asterius.io
Tue Oct 31 16:48:17 UTC 2017


Signed-off-by: Derek Straka <derek at asterius.io>
---
 meta-python/recipes-devtools/python/python-pysmi_0.1.2.bb | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-pysmi_0.1.2.bb b/meta-python/recipes-devtools/python/python-pysmi_0.1.2.bb
index aa234dd..33a387a 100644
--- a/meta-python/recipes-devtools/python/python-pysmi_0.1.2.bb
+++ b/meta-python/recipes-devtools/python/python-pysmi_0.1.2.bb
@@ -8,15 +8,9 @@ SECTION = "devel/python"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=d8b1bbadd635f187dee74d999a8c67b8"
 
-SRCNAME = "pysmi"
-
-SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
-
 SRC_URI[md5sum] = "f8754e9ed75698cc16b40f125df85b12"
 SRC_URI[sha256sum] = "e0912180fc6faa9c264df78f97e7c451f77f84f5bd840098d2ce7b1bf70082bc"
 
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-inherit setuptools
+inherit pypi setuptools
 
 RDEPENDS_${PN} = "python-ply"
-- 
2.7.4




More information about the Openembedded-devel mailing list