Merge branch 'master' of git.edevau.net:onkelbeh/HomeAssistantRepository into 2023.2.5

pygatt #1093
This commit is contained in:
Andreas Billmeier 2023-02-26 09:32:07 +01:00 committed by Andreas Billmeier
commit 2ae2539e33
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
2 changed files with 9 additions and 21 deletions

View File

@ -1,3 +1,3 @@
DIST pygatt-4.0.5.tar.gz 40109 BLAKE2B a08849cd5d9e3f1d8a9015d98fec51e3cd659da52ed912dad4762921cc85c73373aaa8637abaf24d8e14162b2e9526b21eaf1bb83302d03b11ff0e4359fb38c7 SHA512 c84368dfaf9b3b6d3edd4cf424c470d4735c96dbed920d5217c606be866c655b1435fc1179226888f6f4add628b553d38490048f0149828e8a1c5df4fbcf24cc
EBUILD pygatt-4.0.5-r1.ebuild 792 BLAKE2B 6660d84526cf78a633d5187e52ee7a48990ab49c964475effb7f12a424737368aa6cf161d29be9e4182048cc652f77674ec84da347922719e19ae7f6ad922274 SHA512 60f614fb5d1547cbb26ec1f54cc983177e6a74b3d478b0da7de87992681b80c6714eb8051c7ce0e9d3709e1b2f13fd36365bcfe4634a7271514612fa3e48e042
EBUILD pygatt-4.0.5-r1.ebuild 505 BLAKE2B 67c4e347cafa663be577b3e793a23909223774d839f55d57f3f5783f4cbfcc6bdc11ce49d30b47612f82fef5b2901fd87ae3ab7d8f829369d0b3d0c9cf94a3de SHA512 7103116c770fad7a287b69e479b1dfc424ff4225a1722a042037fad6d8aa798366deccf87d617fd2a3284d38ff3e0b535b14c86e8fd43ae96334d7a3d26312a0
MISC metadata.xml 539 BLAKE2B 9ca1b457ae219998e798dbe06d1f2a1c37f49ae4de06edc01d85af6f59d75ec17ed554debfdac131b067f74b8ed8b1c3e26f0e34800b1db104dae469fa56eeb0 SHA512 f63379b5ea5d8a338a384dbae0a3df2fa7ed47a2699c3574dc832211d600297f61a51917489ace53c47d4665e522ffe81f6aab083e1c7f952376cc563ff7c0cf

View File

@ -1,35 +1,23 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
inherit distutils-r1 pypi
DESCRIPTION="Python Bluetooth LE (Low Energy) and GATT Library"
HOMEPAGE="https://github.com/peplin/pygatt https://pypi.org/project/pygatt/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="|| ( Apache-2.0 MIT )"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
DOCS=( CHANGELOG.rst README.rst )
RDEPEND="dev-python/pyserial[${PYTHON_USEDEP}]
dev-python/enum-compat[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/pip[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest
RDEPEND="
dev-lang/python[bluetooth]
dev-python/pyserial[${PYTHON_USEDEP}]
"