[arch-commits] Commit in (3 files)
Maxime Gauduin
alucryd at gemini.archlinux.org
Tue Aug 9 09:24:12 UTC 2022
Date: Tuesday, August 9, 2022 @ 09:24:11
Author: alucryd
Revision: 1263498
add python-home-assistant-bluetooth for home-assistant
Added:
python-home-assistant-bluetooth/
python-home-assistant-bluetooth/trunk/
python-home-assistant-bluetooth/trunk/PKGBUILD
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Added: python-home-assistant-bluetooth/trunk/PKGBUILD
===================================================================
--- python-home-assistant-bluetooth/trunk/PKGBUILD (rev 0)
+++ python-home-assistant-bluetooth/trunk/PKGBUILD 2022-08-09 09:24:11 UTC (rev 1263498)
@@ -0,0 +1,39 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=python-home-assistant-bluetooth
+pkgdesc='Basic bluetooth models used by Home Assistant'
+pkgver=1.4.0
+pkgrel=1
+arch=(any)
+url=https://github.com/home-assistant-libs/home-assistant-bluetooth
+license=(APACHE)
+depends=(
+ python
+ python-bleak
+)
+makedepends=(
+ git
+ python-build
+ python-installer
+ python-poetry-core
+ python-wheel
+)
+_tag=0ca8e07c17ba81d5f2c1f25e856f427857bf9928
+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:
More information about the arch-commits
mailing list