# Contributor: Antoine Martin (ayakael) # Maintainer: Antoine Martin (ayakael) pkgname=py3-microdata #_pkgreal is used by apkbuild-pypi to find modules at PyPI _pkgreal=microdata pkgver=0.8.0 pkgrel=1 pkgdesc="html5lib extension for parsing microdata" url="https://pypi.python.org/project/microdata" license="CC0-1.0" arch="noarch" depends="py3-html5lib" checkdepends="python3-dev" makedepends="py3-setuptools py3-gpep517 py3-wheel" source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/m/microdata/microdata-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" subpackages="$pkgname-pyc" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 85ce750f11960e4bcae1cd7f7babbb43e47ad2e0133cc66fb8abb153b1471296b11dc642bee91059f89b45da363fcdd10cfe3770b43d3e7d4d82ff10ab700743 py3-microdata-0.8.0.tar.gz "