Install this version:
emerge -a =dev-python/victron-ble-ha-parser-0.7.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/victron-ble-ha-parser-0.7.0
Or alternatively:
emerge --autounmask-write -a =dev-python/victron-ble-ha-parser-0.7.0
# Copyright 2025
# Distributed under the terms of the Apache-2.0 license
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
# Upstream publishes sdist as "victron_ble_ha_parser-<ver>.tar.gz"
#PYPI_PN="${PN//-/_}"
inherit distutils-r1 pypi
DESCRIPTION="Parser for Victron BLE messages (Home Assistant oriented)"
HOMEPAGE="https://github.com/rajlaud/victron-ble-ha-parser https://pypi.org/project/${PN}/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~arm"
IUSE=""
# Uses a PEP517 setuptools build; no tests shipped
RESTRICT="test"
# Runtime deps
# victron-ble provides the device parsers this package wraps
RDEPEND="
>=dev-python/bluetooth-sensor-state-data-1.6.1[${PYTHON_USEDEP}]
>=dev-python/sensor-state-data-2.16.0[${PYTHON_USEDEP}]
=dev-python/victron-ble-0.9.3[${PYTHON_USEDEP}]
"
BDEPEND="
${RDEPEND}
"
# Nothing special to adjust
# distutils-r1 + pypi will set SRC_URI and S automatically
>=dev-python/bluetooth-sensor-state-data-1.6.1[] >=dev-python/sensor-state-data-2.16.0[] =dev-python/victron-ble-0.9.3[]
>=dev-python/bluetooth-sensor-state-data-1.6.1[] >=dev-python/sensor-state-data-2.16.0[] =dev-python/victron-ble-0.9.3[]