HomeAssistantRepository/dev-python/motionblindsble/motionblindsble-0.1.2.ebuild
Xavier FORESTIER ec8d5a03b1 homeassistant-full 2024.10.2 full dependencies update
(not compiled yet :ouch: )
2024-10-21 13:59:57 +02:00

31 lines
821 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Python library for interfacing with Motionblinds using Bluetooth Low Energy (BLE)."
HOMEPAGE="https://github.com/LennP/PyPi-Motionblinds_BLE https://pypi.org/project/motionblindsble/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/bleak[${PYTHON_USEDEP}]
dev-python/bleak-retry-connector[${PYTHON_USEDEP}]
dev-python/pycryptodome[${PYTHON_USEDEP}]"
src_prepare() {
sed -i "s/packages=find_packages()/packages=find_packages(exclude=['tests*'])/g" -i setup.py || die
eapply_user
}
distutils_enable_tests pytest