# Compiling Time: 0 SBU
# Maintainer: DeX77 <dex+fw@dragonslave.de>

pkgname=python3-dbusmock
pkgver=0.35.0
pkgrel=1
pkgdesc="python-dbusmock: mock D-Bus objects for tests"
depends=('dbus-python')
makedepends=('python3-build' 'python3-installer' 'python3-setuptools_scm' 'python3-wheel')
groups=('devel-extra')
archs=('x86_64')
_F_pypi_name=python-dbusmock
Finclude pypi
sha1sums=('4358fa8ce1955c5297840a987c4e4ed1871e2dfd')
_F_python_version=python3

build() {
	export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver%%+*}"

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

}

# optimization OK
