~dricottone/huttese-apk

ref: 1511e47d8f419624416d31e2675f67f2713f03f8 huttese-apk/sr.ht/py3-bleach/APKBUILD -rw-r--r-- 696 bytes
1511e47d — Drew DeVault Fix pkgkit build -r/-u inconsistency 5 years ago
                                                                                
819e54d4 Drew DeVault
04866bce Drew DeVault
819e54d4 Drew DeVault
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=bleach
pkgname=py3-bleach
pkgver=2.0.0
pkgrel=0
pkgdesc="An easy whitelist-based HTML-sanitizing tool"
url="http://pypi.python.org/pypi/bleach"
arch="noarch"
license="Apache"
depends="python3 py3-html5lib"
makedepends="py-setuptools"
source="https://pypi.org/packages/source/b/bleach/bleach-2.0.0.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="78237c72224fc8facd0c247671c0e2deb66dc8dc46c446cfa7e8b83cce5ca99a52fec320ef59ae0ece47c54a48120de16e4393e269db9c74542c8165eeb96d2e  bleach-2.0.0.tar.gz"