New package: python-defusedxml-0.5.0

This commit is contained in:
Alessio Sergi 2018-09-29 12:55:50 +02:00
parent eb8ece98ff
commit 69d30bf32d
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,31 @@
# Template file for 'python-defusedxml'
pkgname=python-defusedxml
version=0.5.0
revision=1
noarch=yes
wrksrc="defusedxml-${version}"
build_style=python-module
pycompile_module="defusedxml"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Defusing XML bombs and other exploits (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/tiran/defusedxml"
license="Python-2.0"
distfiles="${PYPI_SITE}/d/defusedxml/defusedxml-${version}.tar.gz"
checksum=24d7f2f94f7f3cb6061acb215685e5125fbcdc40a857eff9de22518820b0a4f4
post_install() {
vlicense LICENSE
}
python3-defusedxml_package() {
noarch=yes
depends="python3"
pycompile_module="defusedxml"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

1
srcpkgs/python3-defusedxml Symbolic link
View file

@ -0,0 +1 @@
python-defusedxml