diff --git a/recipes-devtools/python/python-defusedxml.inc b/recipes-devtools/python/python-defusedxml.inc index 7c644eb..7fca763 100644 --- a/recipes-devtools/python/python-defusedxml.inc +++ b/recipes-devtools/python/python-defusedxml.inc @@ -2,10 +2,9 @@ DESCRIPTION = "XML bomb protection for Python stdlib modules" SECTION = "devel/python" LICENSE = "PSFL" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=a560e172e996ab553d352ccff41c7d20" -SRCNAME = "defusedxml" +PYPI_PACKAGE = "defusedxml" -SRC_URI = "http://pypi.python.org/packages/source/d/defusedxml/defusedxml-${PV}.tar.gz" -SRC_URI[md5sum] = "230a5eff64f878b392478e30376d673a" -SRC_URI[sha256sum] = "cd551d5a518b745407635bb85116eb813818ecaf182e773c35b36239fc3f2478" +SRC_URI[md5sum] = "7ff1501366c6d1dcd2de8514dc2b755e" +SRC_URI[sha256sum] = "24d7f2f94f7f3cb6061acb215685e5125fbcdc40a857eff9de22518820b0a4f4" -S = "${WORKDIR}/${SRCNAME}-${PV}" +inherit pypi diff --git a/recipes-devtools/python/python-defusedxml_0.4.1.bb b/recipes-devtools/python/python-defusedxml_0.5.0.bb similarity index 100% rename from recipes-devtools/python/python-defusedxml_0.4.1.bb rename to recipes-devtools/python/python-defusedxml_0.5.0.bb diff --git a/recipes-devtools/python/python3-defusedxml_0.4.1.bb b/recipes-devtools/python/python3-defusedxml_0.5.0.bb similarity index 100% rename from recipes-devtools/python/python3-defusedxml_0.4.1.bb rename to recipes-devtools/python/python3-defusedxml_0.5.0.bb