Date: Monday, September 26, 2022 @ 08:37:22 Author: alucryd Revision: 1311450
add python-dbus-fast for python-bleak Added: python-dbus-fast/ python-dbus-fast/trunk/ python-dbus-fast/trunk/PKGBUILD ----------+ PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) Added: python-dbus-fast/trunk/PKGBUILD =================================================================== --- python-dbus-fast/trunk/PKGBUILD (rev 0) +++ python-dbus-fast/trunk/PKGBUILD 2022-09-26 08:37:22 UTC (rev 1311450) @@ -0,0 +1,51 @@ +# Maintainer: Maxime Gauduin <[email protected]> + +pkgname=python-dbus-fast +pkgver=1.14.0 +pkgrel=1 +pkgdesc='A faster version of dbus-next' +arch=(any) +url=https://github.com/bluetooth-devices/dbus-fast +license=(MIT) +depends=( + dbus + glib2 + python +) +makedepends=( + git + python-build + python-installer + python-poetry-core +) +checkdepends=( + python-pytest + python-pytest-asyncio + python-pytest-cov + python-pytest-timeout +) +_tag=c0671be3667a63029ccf18639cd410053cf7f1c7 +source=(git+https://github.com/Bluetooth-Devices/dbus-fast.git#tag=${_tag}) +b2sums=(SKIP) + +pkgver() { + cd dbus-fast + git describe --tags | sed 's/^v//' +} + +build() { + cd dbus-fast + python -m build --wheel --no-isolation +} + +check() { + cd dbus-fast + dbus-run-session -- pytest -v +} + +package() { + python -m installer --destdir="${pkgdir}" dbus-fast/dist/*.whl + install -Dm 644 dbus-fast/LICENSE -t "${pkgdir}"/usr/share/licenses/python-dbus-fast/ +} + +# vim: ts=2 sw=2 et:
