1 # Maintainer: Johannes Löthberg <johannes@kyriasis.com>
7 pkgdesc="An easy whitelist-based HTML-sanitizing tool"
8 url="https://pypi.org/project/bleach/"
11 depends=('python-packaging'
13 'python-webencodings')
16 checkdepends=('python-pytest')
17 optdepends=('python-tinycss2: for CSS sanitisation')
19 source=(https://pypi.org/packages/source/b/bleach/bleach-$pkgver.tar.gz)
21 sha256sums=('1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414')
24 cd "$srcdir"/bleach-$pkgver
28 cd "$srcdir"/bleach-$pkgver
32 # Upstream broke the test suite.
34 cd "$srcdir"/bleach-$pkgver
39 cd "$srcdir"/bleach-$pkgver
40 python setup.py install --skip-build --optimize=1 --root="$pkgdir"