Date: Saturday, April 8, 2023 @ 02:41:39
  Author: felixonmars
Revision: 1441499

archrelease: copy trunk to community-staging-any

Added:
  python-bleak/repos/community-staging-any/
  python-bleak/repos/community-staging-any/PKGBUILD
    (from rev 1441497, python-bleak/trunk/PKGBUILD)

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Copied: python-bleak/repos/community-staging-any/PKGBUILD (from rev 1441497, 
python-bleak/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-08 02:41:39 UTC (rev 1441499)
@@ -0,0 +1,45 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Francesco Minnocci <[email protected]>
+
+pkgname=python-bleak
+pkgver=0.20.1
+pkgrel=2
+pkgdesc='Bluetooth Low Energy platform Agnostic Klient for Python'
+arch=(any)
+url=https://github.com/hbldh/bleak
+license=(MIT)
+depends=(
+  python
+  python-async-timeout
+  python-dbus-fast
+  python-service-identity
+  python-typing_extensions
+)
+makedepends=(
+  bluez-utils
+  git
+  python-build
+  python-installer
+  python-poetry-core
+  python-wheel
+)
+_tag=33fcc4ae4a419fe112f8d093c771d0e6e0a121b0
+source=(git+https://github.com/hbldh/bleak.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+  cd bleak
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd bleak
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  python -m installer --destdir="${pkgdir}" bleak/dist/*.whl
+  install -Dm 644 bleak/LICENSE -t "${pkgdir}"/usr/share/licenses/python-bleak/
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to