Date: Saturday, April 8, 2023 @ 02:49:01
Author: felixonmars
Revision: 1441515
archrelease: copy trunk to community-staging-any
Added:
python-home-assistant-bluetooth/repos/community-staging-any/
python-home-assistant-bluetooth/repos/community-staging-any/PKGBUILD
(from rev 1441514, python-home-assistant-bluetooth/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: python-home-assistant-bluetooth/repos/community-staging-any/PKGBUILD
(from rev 1441514, python-home-assistant-bluetooth/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-08 02:49:01 UTC (rev 1441515)
@@ -0,0 +1,41 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+
+pkgname=python-home-assistant-bluetooth
+pkgdesc='Basic bluetooth models used by Home Assistant'
+pkgver=1.9.3
+pkgrel=2
+arch=(any)
+url=https://github.com/home-assistant-libs/home-assistant-bluetooth
+license=(APACHE)
+depends=(
+ python
+ python-bleak
+)
+makedepends=(
+ cython
+ git
+ python-build
+ python-installer
+ python-poetry-core
+ python-setuptools
+ python-wheel
+)
+_tag=5dc179252fce6e906472416ee2ed4d73cddb8f5a
+source=(git+https://github.com/home-assistant-libs/home-assistant-bluetooth.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+ cd home-assistant-bluetooth
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd home-assistant-bluetooth
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ python -m installer --destdir="${pkgdir}" home-assistant-bluetooth/dist/*.whl
+}
+
+# vim: ts=2 sw=2 et: