1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=python-dbusmock
6 pkgdesc="Mock D-Bus objects for tests"
7 url="https://github.com/martinpitt/python-dbusmock"
22 _commit=47509dff5fe8db42d5405a1f3a57a6ad8837e3eb # tags/0.29.0^0
24 "git+https://github.com/martinpitt/python-dbusmock#commit=$_commit"
28 # Suppress local version
29 export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver%%+*}"
33 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
42 python -m build --wheel --no-isolation
47 python -m installer --destdir="$pkgdir" dist/*.whl
50 # vim:set sw=2 sts=-1 et: