Date: Monday, September 26, 2022 @ 08:39:12
Author: alucryd
Revision: 1311453
archrelease: copy trunk to community-any
Added:
python-dbus-fast/repos/
python-dbus-fast/repos/community-any/
python-dbus-fast/repos/community-any/PKGBUILD
(from rev 1311452, python-dbus-fast/trunk/PKGBUILD)
----------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Copied: python-dbus-fast/repos/community-any/PKGBUILD (from rev 1311452,
python-dbus-fast/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2022-09-26 08:39:12 UTC (rev 1311453)
@@ -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: