contrib/python3-defusedxml/Pkgfile

19 lines
491 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: XML bomb protection for Python stdlib modules
# URL: https://bitbucket.org/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
}