Install this version:
emerge -a =dev-python/bluetti-modbus-0.52.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/bluetti-modbus-0.52.0
Or alternatively:
emerge --autounmask-write -a =dev-python/bluetti-modbus-0.52.0
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
inherit pypi distutils-r1
DESCRIPTION="Unofficial library for basic communication to BLUETTI Power Stations via Modbus"
HOMEPAGE="https://pypi.org/project/bluetti-modbus/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/modbus-connection-4.11.1[${PYTHON_USEDEP}]
>=dev-python/probatio-0.11.4[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
Manage flags for this package:
euse -i <flag> -p dev-python/bluetti-modbus |
euse -E <flag> -p dev-python/bluetti-modbus |
euse -D <flag> -p dev-python/bluetti-modbus
>=dev-python/modbus-connection-4.11.1[] >=dev-python/probatio-0.11.4[]
test? ( dev-python/pytest[] dev-python/pytest-asyncio[] )