Install this version:
emerge -a =dev-python/earn-e-p1-0.1.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/earn-e-p1-0.1.0
Or alternatively:
emerge --autounmask-write -a =dev-python/earn-e-p1-0.1.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 distutils-r1 pypi
DESCRIPTION="Async Python library for communicating with EARN-E P1 energy meters via UDP"
HOMEPAGE="https://pypi.org/project/earn-e-p1/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test"
RESTRICT="!test? ( test )"
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/earn-e-p1 |
euse -E <flag> -p dev-python/earn-e-p1 |
euse -D <flag> -p dev-python/earn-e-p1
test? ( dev-python/pytest[] dev-python/pytest-asyncio[] )