pkgname=python-docutils pkgver=0.21.2 pkgrel=1 pkgdesc="Set of tools for processing plaintext docs into formats such as HTML, XML, or LaTeX" arch=('x86_64') url="http://docutils.sourceforge.net" license=('custom') depends=('python') makedepends=('python-build' 'python-flit-core' 'python-installer' 'python-setuptools') source=(https://files.pythonhosted.org/packages/source/d/docutils/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --skip-dependency-check --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }