commit: 35e4c17dc0f55659c7f6d8b45f976711d141907a
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Sat Aug 30 01:48:08 2025 +0000
Commit: Sergey Alirzaev <zl29ah <AT> gmail <DOT> com>
CommitDate: Sat Aug 30 01:48:08 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=35e4c17d
dev-python/bleak: new package, add 1.1.0
updated and cleaned up, from sunsetting ::raiagent
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
dev-python/bleak/Manifest | 1 +
dev-python/bleak/bleak-1.1.0.ebuild | 51 +++++++++++++++++++++++++++++++++++++
dev-python/bleak/metadata.xml | 8 ++++++
3 files changed, 60 insertions(+)
diff --git a/dev-python/bleak/Manifest b/dev-python/bleak/Manifest
new file mode 100644
index 0000000000..835f54cdff
--- /dev/null
+++ b/dev-python/bleak/Manifest
@@ -0,0 +1 @@
+DIST bleak-1.1.0.tar.gz 116100 BLAKE2B
c41e02c7fcf58671d68f9a4d4b94b05546bd656366551948fc7d62c07297754730ff1ab4dc6d45ffdb460aac6f47cf616b5b056c721cebe075521d6b39769ff6
SHA512
4861e999d812b63ce4d85eb8711f9cf226e70b2adc786f87c4be8793c72f9f01cd2572ea46e59315ae7774864b5c5e5ef642e47a0abf145fd8ed2ab48cda61df
diff --git a/dev-python/bleak/bleak-1.1.0.ebuild
b/dev-python/bleak/bleak-1.1.0.ebuild
new file mode 100644
index 0000000000..ddf05e5d34
--- /dev/null
+++ b/dev-python/bleak/bleak-1.1.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{9..13} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Bluetooth Low Energy platform Agnostic Klient (BLEAK) for Python"
+HOMEPAGE="https://bleak.readthedocs.io"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# Dependencies unsurprisingly derive from "pyproject.toml".
+BDEPEND="test? (
+ >=dev-python/pytest-7.0.0[${PYTHON_USEDEP}]
+ >=dev-python/pytest-asyncio-0.19.0[${PYTHON_USEDEP}]
+ >=dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
+)"
+RDEPEND="
+ >=dev-python/dbus-fast-1.22.0[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}]
+ ' python3_{8..10})
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
+
+#FIXME: Tests currently fail to run and I can't be bothered to resolve. *sigh*
+# distutils_enable_tests pytest
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/hbldh/bleak.git"
+ EGIT_BRANCH="develop"
+else
+ KEYWORDS="~amd64"
+fi
+
+python_install_all() {
+ [[ -d examples ]] && dodoc -r examples
+
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/bleak/metadata.xml b/dev-python/bleak/metadata.xml
new file mode 100644
index 0000000000..2a6f1f8d29
--- /dev/null
+++ b/dev-python/bleak/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="pypi">bleak</remote-id>
+ <remote-id type="github">hbldh/bleak</remote-id>
+ </upstream>
+</pkgmetadata>