# Compiling Time: 0 SBU
# Maintainer: Anthony Jorion <pingax@frugalware.org>
# Contributor: Priyank Gosalia <priyankmg@gmail.com>
# Contributor: Rohan Dhruva <rohandhruva@gmail.com>

pkgname=python3-hawkmoth
pkgver=0.21.0
pkgrel=1
pkgdesc="Hawkmoth - Sphinx Autodoc for C"
depends=('python3-sphinx')
makedepends=('python3-setuptools' 'python3-installer' 'python3-build' 'python3-hatchling')
groups=('devel-extra')
archs=('x86_64')
_F_pypi_name=hawkmoth
Finclude pypi
_F_python_version=python3
sha1sums=('0a6debf1bae2bfbe2e984470ad80d8c6b6ddcdcd')

build() {
        Fcd
        Fpatchall
        Fexec python3 -m build --wheel --no-isolation || Fdie
        Fexec python3 -m installer --destdir="$Fdestdir" dist/*.whl || Fdie

}

# optimization OK
