dev-python/pylutron-caseta - 0.29.0 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/pylutron-caseta-0.29.0

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

autounmask =dev-python/pylutron-caseta-0.29.0

Or alternatively:

emerge --autounmask-write -a =dev-python/pylutron-caseta-0.29.0

Package Information

Description:
Provides an API to the Lutron Smartbridge
Homepage:
https://github.com/gurumitts/pylutron-caseta https://pypi.org/project/pylutron-caseta/
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
0.29.0 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 pypi distutils-r1

DESCRIPTION="Provides an API to the Lutron Smartbridge"
HOMEPAGE="https://github.com/gurumitts/pylutron-caseta https://pypi.org/project/pylutron-caseta/"
SRC_URI="https://github.com/gurumitts/pylutron-caseta/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="cli test"
RESTRICT="!test? ( test )"

DOCS="CHANGELOG.md README.md"

PYPI_PN="pylutron-caseta"
S="${WORKDIR}/${PN}-${PV}"

RDEPEND="
	>=dev-python/async-timeout-3.0.1[${PYTHON_USEDEP}]
	dev-python/cryptography[${PYTHON_USEDEP}]
	dev-python/orjson[${PYTHON_USEDEP}]
"
BDEPEND="
	cli? (
		>=dev-python/click-8.1.2[${PYTHON_USEDEP}]
		>=dev-python/xdg-5.1.1[${PYTHON_USEDEP}]
		>=dev-python/zeroconf-0.38.4[${PYTHON_USEDEP}]
	)
	test? (
		dev-python/coveralls[${PYTHON_USEDEP}]
		~dev-python/pytest-asyncio-0.14.0[${PYTHON_USEDEP}]
		dev-python/pytest-cov[${PYTHON_USEDEP}]
		dev-python/pytest-sugar[${PYTHON_USEDEP}]
	)
"

distutils_enable_tests pytest

python_install() {
	distutils-r1_python_install
	if ! use cli; then
		rm "${ED}"/usr/lib/python-exec/${EPYTHON}/{lap-pair,leap,leap-scan} || die
		rm "${ED}"/usr/bin/{lap-pair,leap,leap-scan} || die
	fi
}

USE Flags

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

Global/Standard Flags

cli

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/async-timeout-3.0.1[]
	dev-python/cryptography[]
	dev-python/orjson[]

BDEPEND

	cli? (
		>=dev-python/click-8.1.2[]
		>=dev-python/xdg-5.1.1[]
		>=dev-python/zeroconf-0.38.4[]
	)
	test? (
		dev-python/coveralls[]
		~dev-python/pytest-asyncio-0.14.0[]
		dev-python/pytest-cov[]
		dev-python/pytest-sugar[]
	)

Manifest for 0.29.0

Type File Size Source URLs
DIST pylutron-caseta-0.29.0.gh.tar.gz 63101 bytes https://github.com/gurumitts/pylutron-caseta/archive/v0.29.0.tar.gz