dev-python/evohome-async - 2.0.1 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/evohome-async-2.0.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/evohome-async-2.0.1

Or alternatively:

emerge --autounmask-write -a =dev-python/evohome-async-2.0.1

Package Information

Description:
An async client for connecting to Honeywell's TCC RESTful API.
Homepage:
https://github.com/zxdavb/evohome-async/ https://pypi.org/project/evohome-async/
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
2.0.1 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=hatchling
inherit distutils-r1 pypi
DESCRIPTION="An async client for connecting to Honeywell's TCC RESTful API."
HOMEPAGE="https://github.com/zxdavb/evohome-async/ https://pypi.org/project/evohome-async/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
S="${WORKDIR}/evohome_async-${PV}"

RDEPEND="
	>=dev-python/aiohttp-3.13.5[${PYTHON_USEDEP}]
	>=dev-python/aiozoneinfo-0.2.3[${PYTHON_USEDEP}]
	>=dev-python/voluptuous-0.15.2[${PYTHON_USEDEP}]
	dev-python/aiofiles[${PYTHON_USEDEP}]
	dev-python/asyncclick[${PYTHON_USEDEP}]
	dev-python/debugpy[${PYTHON_USEDEP}]
	dev-python/keyring[${PYTHON_USEDEP}]
"
BDEPEND="
	>=dev-python/hatch-1.17.0[${PYTHON_USEDEP}]
	test? (
		>=dev-python/pytest-9.1.1[${PYTHON_USEDEP}]
		>=dev-python/pytest-asyncio-1.4.0[${PYTHON_USEDEP}]
		>=dev-python/pytest-freezer-0.4.9[${PYTHON_USEDEP}]
		>=dev-python/syrupy-5.3.2[${PYTHON_USEDEP}]
	)
"
distutils_enable_tests pytest

src_prepare() {
    # remove dynamic-versioning
    sed 's/dynamic = \["version"\]/version = "'${PV}'"/g' -i pyproject.toml || die

    # Drop hatch-vcs and its build hook — static version is provided
    python3 -c "
import re
p = 'pyproject.toml'
s = open(p).read()
s = re.sub(r'\[tool\.hatch\.build\.hooks\.vcs\].*?(?=\n\[|\Z)', '', s, flags=re.S)
s = re.sub(r'\[tool\.hatch\.build\.hooks\.version\].*?(?=\n\[|\Z)', '', s, flags=re.S)
s = re.sub(r'\"hatch-vcs\",?\s*', '', s)
open(p, 'w').write(s)
" || die

    distutils-r1_src_prepare
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/evohome-async | euse -E <flag> -p dev-python/evohome-async | euse -D <flag> -p dev-python/evohome-async

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/aiohttp-3.13.5[]
	>=dev-python/aiozoneinfo-0.2.3[]
	>=dev-python/voluptuous-0.15.2[]
	dev-python/aiofiles[]
	dev-python/asyncclick[]
	dev-python/debugpy[]
	dev-python/keyring[]

BDEPEND

	>=dev-python/hatch-1.17.0[]
	test? (
		>=dev-python/pytest-9.1.1[]
		>=dev-python/pytest-asyncio-1.4.0[]
		>=dev-python/pytest-freezer-0.4.9[]
		>=dev-python/syrupy-5.3.2[]
	)