python-defusedxml: Added recipe for python3

This commit is contained in:
Johannes Schrimpf 2017-08-24 18:07:17 +02:00 committed by Lukas Bulwahn
parent 8901a60ba6
commit 24dab93318
3 changed files with 15 additions and 11 deletions

View File

@ -0,0 +1,11 @@
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"
SRC_URI = "http://pypi.python.org/packages/source/d/defusedxml/defusedxml-${PV}.tar.gz"
SRC_URI[md5sum] = "230a5eff64f878b392478e30376d673a"
SRC_URI[sha256sum] = "cd551d5a518b745407635bb85116eb813818ecaf182e773c35b36239fc3f2478"
S = "${WORKDIR}/${SRCNAME}-${PV}"

View File

@ -1,13 +1,3 @@
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"
SRC_URI = "http://pypi.python.org/packages/source/d/defusedxml/defusedxml-${PV}.tar.gz"
SRC_URI[md5sum] = "230a5eff64f878b392478e30376d673a"
SRC_URI[sha256sum] = "cd551d5a518b745407635bb85116eb813818ecaf182e773c35b36239fc3f2478"
S = "${WORKDIR}/${SRCNAME}-${PV}"
require python-defusedxml.inc
inherit setuptools

View File

@ -0,0 +1,3 @@
require python-defusedxml.inc
inherit setuptools3