mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 08:22:56 +02:00
python-defusedxml: drop package
This commit is contained in:
parent
17eade2346
commit
b85c3777f8
3 changed files with 18 additions and 32 deletions
|
@ -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
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-defusedxml
|
|
18
srcpkgs/python3-defusedxml/template
Normal file
18
srcpkgs/python3-defusedxml/template
Normal 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue