2022-11-22 20:33:35 +01:00

31 lines
797 B
Plaintext

# Maintainer: psykose <alice@ayaya.dev>
pkgname=py3-dbus-next
pkgver=0.2.3
pkgrel=1
pkgdesc="Python Dbus library with asyncio support"
url="https://github.com/altdesktop/python-dbus-next"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/altdesktop/python-dbus-next/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/python-dbus-next-$pkgver"
options="!check" # bunch of pytest async stuff
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
7836d855c755c8ac6cbbb251ca0cbd2f4df9b573f31b1ea1cab480e47896d36b4cb0d479b2469b0bf0b5c700068361a18874b4a087f73020cdcb4e04a2d7dbe7 py3-dbus-next-0.2.3.tar.gz
"