19 lines
487 B
Plaintext
19 lines
487 B
Plaintext
# Description: XML bomb protection for Python stdlib modules
|
|
# URL: https://github.com/tiran/defusedxml
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-setuptools
|
|
|
|
name=python3-defusedxml
|
|
version=0.7.1
|
|
release=1
|
|
source=(https://pypi.io/packages/source/d/defusedxml/defusedxml-$version.tar.gz)
|
|
|
|
build() {
|
|
cd defusedxml-$version
|
|
/usr/bin/python3 setup.py build
|
|
/usr/bin/python3 setup.py install --prefix=/usr \
|
|
--root=$PKG \
|
|
-O1 \
|
|
--skip-build
|
|
}
|