# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-bleach-allowlist
pkgver=1.0.3
pkgrel=4
pkgdesc="Curated list of tags and attributes for sanitizing html"
url="https://github.com/yourcelf/bleach-allowlist"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/b/bleach-allowlist/bleach-allowlist-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/bleach-allowlist-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
a9ee0b746e082af5e8e0a09501f34050c3395d83b3e9b89c2c7980c6f55f6d305c490992fecac09a3146f924024235bff09255accb96d3da36bfeb32f8739da4  bleach-allowlist-1.0.3.tar.gz
"
