blob: c58d03da1fc02669550b8716c138cf546f478e94 (
plain)
1 # Description: XML bomb protection for Python stdlib modules
2 # URL: https://bitbucket.org/tiran/defusedxml
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-setuptools
5
6 name=python3-defusedxml
7 version=0.7.1
8 release=1
9 source=(https://pypi.io/packages/source/d/defusedxml/defusedxml-$version.tar.gz)
10
11 build() {
12 cd defusedxml-$version
13 /usr/bin/python3 setup.py build
14 /usr/bin/python3 setup.py install --prefix=/usr \
15 --root=$PKG \
16 -O1 \
17 --skip-build
18 }
|