# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=py3-dbus-next pkgver=0.2.3 pkgrel=0 pkgdesc="A zero-dependency DBus library for Python with asyncio support" url="https://github.com/altdesktop/python-dbus-next" arch="noarch" license="MIT" makedepends=" py3-gpep517 py3-setuptools py3-wheel " checkdepends=" dbus py3-attrs py3-babel py3-certifi py3-chardet py3-colorama py3-docutils py3-idna py3-imagesize py3-iniconfig py3-jinja2 py3-livereload py3-markupsafe py3-mccabe py3-pluggy py3-pygments py3-pytest py3-pytest-asyncio py3-pytest-timeout py3-requests py3-snowballstemmer py3-toml py3-tornado py3-tz py3-urllib3 py3-yapf " subpackages="$pkgname-pyc" source="https://github.com/altdesktop/python-dbus-next/archive/v$pkgver/dbus-next-$pkgver.tar.gz" builddir="$srcdir/python-dbus-next-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl dbus-run-session -- .testenv/bin/python3 -m pytest -k 'not test_tcp_connection_with_forwarding' } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 7836d855c755c8ac6cbbb251ca0cbd2f4df9b573f31b1ea1cab480e47896d36b4cb0d479b2469b0bf0b5c700068361a18874b4a087f73020cdcb4e04a2d7dbe7 dbus-next-0.2.3.tar.gz "