From 34794263504ea8132f820d71d3ff124227be9d93 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 14 Nov 2017 01:20:07 +0000 Subject: [PATCH] Add py3-html5lib --- py3-html5lib/APKBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 py3-html5lib/APKBUILD diff --git a/py3-html5lib/APKBUILD b/py3-html5lib/APKBUILD new file mode 100644 index 0000000..77ad1a9 --- /dev/null +++ b/py3-html5lib/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Drew DeVault +_name=html5lib +pkgname=py3-html5lib +pkgver=0.999999999 +pkgrel=1 +pkgdesc="A Python HTML parser/tokenizer based on the WHATWG HTML5 spec" +url="https://github.com/html5lib" +arch="noarch" +license="MIT" +depends="python3 py3-six py3-webencodings" +makedepends="py-setuptools" +source="${pkgname}-${pkgver}.tar.gz::https://github.com/html5lib/html5lib-python/archive/${pkgver}.tar.gz" +builddir="$srcdir/html5lib-python-${pkgver}" + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +sha512sums="74205c25ea38a1a0690181d56bdf4560ef36cf0d39acbb1ab16e2199e3657f87636508ba128d522970876c9a0ba2ac8df877053ff0179403668a2f0300af7877 py3-html5lib-0.999999999.tar.gz" -- 2.45.2