dev-python/yolink-api - 0.6.3 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/yolink-api-0.6.3

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

autounmask =dev-python/yolink-api-0.6.3

Or alternatively:

emerge --autounmask-write -a =dev-python/yolink-api-0.6.3

Package Information

Description:
A library to authenticate with yolink device
Homepage:
https://github.com/YoSmart-Inc/yolink-api https://pypi.org/project/yolink-api/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.6.3 8 amd64 arm arm64 x86 0
View Raw Ebuild
# Copyright 1999-2024 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="A library to authenticate with yolink device"
HOMEPAGE="https://github.com/YoSmart-Inc/yolink-api https://pypi.org/project/yolink-api/"
SRC_URI="$(pypi_wheel_url --unpack)"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"


RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]
	>=dev-python/aiomqtt-2.0.0[${PYTHON_USEDEP}]
	<dev-python/aiomqtt-3.0.0[${PYTHON_USEDEP}]
	>=dev-python/pydantic-2.0.0[${PYTHON_USEDEP}]
	>=dev-python/tenacity-8.1.0[${PYTHON_USEDEP}]"


S="${WORKDIR}"

python_prepare_all() {
    # === Fix missing [build-system] section (same as aioacaia) ===
    cat >> pyproject.toml <<- EOF || die
    [build-system]
    requires = ["setuptools >= 68.0"]
    build-backend = "setuptools.build_meta"
EOF

    distutils-r1_python_prepare_all
}

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

dev-python/aiohttp[]
	>=dev-python/aiomqtt-2.0.0[]
	<dev-python/aiomqtt-3.0.0[]
	>=dev-python/pydantic-2.0.0[]
	>=dev-python/tenacity-8.1.0[]