Install this version:
emerge -a =dev-python/msmart-ng-2026.4.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/msmart-ng-2026.4.0
Or alternatively:
emerge --autounmask-write -a =dev-python/msmart-ng-2026.4.0
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="A Python library for local control of Midea (and associated brands) smart air conditioners."
HOMEPAGE="https://github.com/mill1000/midea-msmart https://pypi.org/project/msmart-ng/"
#SRC_URI="https://github.com/mill1000/midea-msmart/archive/refs/tags/${PV}.tar.gz"
PYPI_PN="msmart-ng"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
DOCS="README.md"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_prepare_all() {
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
distutils-r1_python_prepare_all
}
Manage flags for this package:
euse -i <flag> -p dev-python/msmart-ng |
euse -E <flag> -p dev-python/msmart-ng |
euse -D <flag> -p dev-python/msmart-ng
test? ( dev-python/pytest[] )