1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 18:55:29 +03:00
aports/community/py3-html-sanitizer/APKBUILD
Kevin Daudt 603c4f39b7 community/py3-html-sanitizer: remove workaround patch
The patch worked around problems between lxml and libxml2, but that has
been fixed by upstream, and that patch has been applied to libxml, so
remove the workaround.
2021-05-23 14:37:14 +00:00

35 lines
837 B
Text

# Contributor: Newbyte <newbie13xd@gmail.com>
# Maintainer: Newbyte <newbie13xd@gmail.com>
pkgname=py3-html-sanitizer
pkgver=1.9.1
pkgrel=1
pkgdesc="Allowlist-based and opinionated HTML sanitizer"
url="https://github.com/matthiask/html-sanitizer"
arch="noarch"
license="BSD-3-Clause"
depends="
py3-lxml
python3
"
makedepends="
py3-beautifulsoup4
py3-setuptools
"
source="html-sanitizer-$pkgver.tar.gz::https://github.com/matthiask/html-sanitizer/archive/$pkgver.tar.gz"
builddir="$srcdir/html-sanitizer-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
f9a76733f87dc7642a63314202855d3e8639764f64ed29f8816f325faf67062c929e1edfc435b7d1071feb2ed00f31ca9c3e015c55650d95c42226a66ab1e6dd html-sanitizer-1.9.1.tar.gz
"