python-defusedxml: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 22:53:58 +07:00
parent 17eade2346
commit b85c3777f8
3 changed files with 18 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-defusedxml'
pkgname=python-defusedxml
version=0.6.0
revision=2
archs=noarch
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>"
license="Python-2.0"
homepage="https://github.com/tiran/defusedxml"
distfiles="${PYPI_SITE}/d/defusedxml/defusedxml-${version}.tar.gz"
checksum=f684034d135af4c6cbb949b8a4d2ed61634515257a67299e5f940fbaa34377f5
post_install() {
vlicense LICENSE
}
python3-defusedxml_package() {
archs=noarch
depends="python3"
pycompile_module="defusedxml"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

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

View file

@ -0,0 +1,18 @@
# Template file for 'python3-defusedxml'
pkgname=python3-defusedxml
version=0.6.0
revision=3
wrksrc="defusedxml-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Defusing XML bombs and other exploits (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Python-2.0"
homepage="https://github.com/tiran/defusedxml"
distfiles="${PYPI_SITE}/d/defusedxml/defusedxml-${version}.tar.gz"
checksum=f684034d135af4c6cbb949b8a4d2ed61634515257a67299e5f940fbaa34377f5
post_install() {
vlicense LICENSE
}