dev-python/pylutron-caseta: add 0.19.0

Closes: #2819
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-02-18 08:53:38 +01:00
parent 895f75d1ca
commit 6a5749dcf1
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
5 changed files with 54 additions and 8 deletions

View File

@ -617,12 +617,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1765 Ebuilds in total, 1754 of them have in total 1773 (42 different) licenses assigned.
There are 1766 Ebuilds in total, 1755 of them have in total 1774 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1004|
|Apache-2.0|388|
|Apache-2.0|389|
|GPL-3|118|
|BSD|101|
|LGPL-3|24|

View File

@ -1,3 +1,5 @@
DIST pylutron-caseta-0.18.3.gh.tar.gz 54538 BLAKE2B 5a895a3ab80b8dbfc387db2b120785632d152cb3a24b4ea2e39e5c4e29cd3584f1e96aa8b119cbba34f86acc008a3bec0d594623c583cc9c112504b30f7211d1 SHA512 e584e2c6390fc7266ecdcd847226dee1c4b3e1309a4c6dad4627748374672b7f5bff4f30c051e09af9d48d4d38ffcb5ebc0c62d9fc1abd2b25394e6237dba66f
EBUILD pylutron-caseta-0.18.3.ebuild 1332 BLAKE2B d21ec9530e533b93f72e946a3524330bec828e003304f5fd7cb53d2bc01244f583422d1a7c973714b73bc463f4825afb125f9413ebf0ecc0cf2e2f579bea0826 SHA512 abf85f49571901aab3073b925569160a737ba77ac651b5da7bd25a22fd1068b49497576133d403c14cef6eec7ea4b9e99862a95dcfea5c75c0f62907451ecd1e
MISC metadata.xml 470 BLAKE2B 9d0f19fa2f371cbcfd3e688e2ac98dda119a61edfc0309148b35d26834eeaa9a7001750acf41170a0c6d68e22423a86380f9af9917680fef98e0533fb30b75f4 SHA512 a2d9cc5d39607762bf900e215fa665a0948d105a231e670d6f228461364f531cfa1a3ac77128538a46fbd4ed16f26605148581bffe4b12a9c3813f54d4efdfa6
DIST pylutron-caseta-0.19.0.gh.tar.gz 56209 BLAKE2B 32518728c692a1057c6e9d8438250aa0a8bacde6dd512c70c3cb411048b678817c86ab35ad2c8810b756943c44d1c59143d69415a62c41cb55e47e8f2d842f85 SHA512 76a151860d38c0d69118d24766952e352979c69d0678685d7d0beff715b4d149d706e4bdc4b52ef2d2fa74407f21a9f0f0a4728b0dd1c9c75df9ce814a58594d
EBUILD pylutron-caseta-0.18.3.ebuild 1332 BLAKE2B 362fe5af93c218d706b6fe5ba30bafc80963b783e652c47daaeeb56315975c5926a5ce2e1a8dd66ab3133892fdbd732f523e5e68115355c59f331f2a4e2ddb62 SHA512 86cebb9c2018b0c8a2bea5fcfbe23a4c16cac7ae613b711043d41074ecaadc10539a671b76ab3fa754e8e9380aed2bf75f0c16cd0209d4c9116086a030d3a546
EBUILD pylutron-caseta-0.19.0.ebuild 1331 BLAKE2B d8c6d56c5ec7d965f87b820e546241d9e0a43ca06bf2697864f27466adf2a42092eb878dd504b4e2aab27500300fbda8ad943e9baf1f77cf14b3462faf1341ea SHA512 c9a27a1b57a87a5ed73a8b3c52f828baf6ee01b79d5e7e51a8d13d8ad6b004e4ea9808a08b88b34dd4e8cab32c9a8fe95643c12948680e5d9016f3b819f381ef
MISC metadata.xml 401 BLAKE2B 54df947c84da5c587483e79d4511faf1e620bae48a91a515d229b75393f40923ef04429049a4859bcee82df7595a1d3daec94d31ab0bdfa197446e2441adcb4b SHA512 cbfe7e9a77ddb0b166dcb226173e2ce0860bca0c192c3b806c1c4c0b18d7e6bbb14367aeed7fa318324b20949ef747bbb345389b04522bd2060f1b731cef1eb7

View File

@ -9,7 +9,4 @@
<remote-id type="pypi">pylutron-caseta</remote-id>
<remote-id type="github">gurumitts/pylutron-caseta</remote-id>
</upstream>
<use>
<flag name="cli">Install the CLI client.</flag>
</use>
</pkgmetadata>

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8

View File

@ -0,0 +1,47 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=hatchling
inherit 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 arm arm64 x86"
IUSE="cli test"
RESTRICT="!test? ( test )"
DOCS="CHANGELOG.md README.md"
RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/async-timeout[${PYTHON_USEDEP}]' python3_10)"
BDEPEND="
cli? (
dev-python/click[${PYTHON_USEDEP}]
dev-python/zeroconf[${PYTHON_USEDEP}]
dev-python/pyxdg[${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}]
dev-python/pytest[${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
}