mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-python/bleak: add 1.1.1
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST bleak-1.1.0.tar.gz 116100 BLAKE2B c41e02c7fcf58671d68f9a4d4b94b05546bd656366551948fc7d62c07297754730ff1ab4dc6d45ffdb460aac6f47cf616b5b056c721cebe075521d6b39769ff6 SHA512 4861e999d812b63ce4d85eb8711f9cf226e70b2adc786f87c4be8793c72f9f01cd2572ea46e59315ae7774864b5c5e5ef642e47a0abf145fd8ed2ab48cda61df
|
||||
DIST bleak-1.1.1.tar.gz 116277 BLAKE2B 63a6ffd4cb25325eddcae403145e60a450d33f47627968db262c78138d0330c96e03672fbe826876f4ca5c026f918268f96d3495e01be57c25120520b2b7c99e SHA512 ad4749e7f88be5ba9a2c09b636164d501971111184d9cdfb6087cfae32b6d72cf74d3e6f2c1c3690ec9bff3f3ccb1b6bc479969a6c5de7e01fcacc384d53ceae
|
||||
|
||||
51
dev-python/bleak/bleak-1.1.1.ebuild
Normal file
51
dev-python/bleak/bleak-1.1.1.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# 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_{11..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
|
||||
}
|
||||
Reference in New Issue
Block a user