dev-python/bleak - 3.0.1 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/bleak-3.0.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/bleak-3.0.1

Or alternatively:

emerge --autounmask-write -a =dev-python/bleak-3.0.1

Package Information

Description:
Bluetooth Low Energy platform Agnostic Klient (BLEAK) for Python
Homepage:
https://bleak.readthedocs.io
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
3.0.1 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{12..14} )

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.83.0[${PYTHON_USEDEP}]
"
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
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/bleak | euse -E <flag> -p dev-python/bleak | euse -D <flag> -p dev-python/bleak

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	>=dev-python/dbus-fast-1.83.0[]

RDEPEND

	>=dev-python/dbus-fast-1.83.0[]

BDEPEND

test? (
	>=dev-python/pytest-7.0.0[]
	>=dev-python/pytest-asyncio-0.19.0[]
	>=dev-python/pytest-cov-3.0.0[]
)