blob: 8d59c30df4557dc2f6cff726b7a26025ffcefb14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=py3-defusedxml
_pkgname=defusedxml
pkgver=0.6.0
pkgrel=0
pkgdesc="XML bomb protection for Python stdlib modules"
url="https://github.com/tiran/defusedxml"
arch="noarch"
license="Python-2.0"
depends="python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/tiran/defusedxml/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces=py-defusedxml # Backwards compatibility
provides=py-defusedxml=$pkgver-r$pkgrel # Backwards compatibility
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="ed3068315f8e974ded37ecf84806172779e1c6a695ac9aaeac7999adafcbb5acf0fa0d04caa07f2b8d3e0871ae5e4d1f12831fb6287e3e91fd50cc17dc361988 py3-defusedxml-0.6.0.tar.gz"
|