~dricottone/huttese-apk

ref: d6770971dd5690a81c5c6db552c1c0551f02ac3f huttese-apk/sr.ht/py3-html5lib/APKBUILD -rw-r--r-- 788 bytes
d6770971 — Drew DeVault sr.ht/py3-html5lib: bump pkgrel 5 years ago
                                                                                
34794263 Drew DeVault
f9216d16 Drew DeVault
d6770971 Drew DeVault
34794263 Drew DeVault
f9216d16 Drew DeVault
34794263 Drew DeVault
f9216d16 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
26
27
28
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-html5lib
_pyname=html5lib
pkgver=1.0.1
pkgrel=1
pkgdesc="A Python HTML parser/tokenizer based on the WHATWG HTML5 spec"
url="https://github.com/html5lib"
arch="noarch"
license="MIT"
depends="py3-six py3-webencodings"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

sha512sums="35939b4450893864da04e735ee5e0addacf1dd34bae6a6909c76572abf6bfded446a78a713dfde91c1485ba45867d7abeb6a45cf0545c16ea968707be7de5dd2  html5lib-1.0.1.tar.gz"