diff --git a/README.md b/README.md index df3fdf4f1..1086bce79 100644 --- a/README.md +++ b/README.md @@ -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 1867 Ebuilds in total, 1856 of them have in total 1875 (42 different) licenses assigned. +There are 1868 Ebuilds in total, 1857 of them have in total 1876 (42 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|1057| -|Apache-2.0|426| +|Apache-2.0|427| |GPL-3|123| |BSD|104| |LGPL-3|24| diff --git a/dev-python/pylutron-caseta/Manifest b/dev-python/pylutron-caseta/Manifest index c05e146e9..8c89a5e09 100644 --- a/dev-python/pylutron-caseta/Manifest +++ b/dev-python/pylutron-caseta/Manifest @@ -1,5 +1,7 @@ DIST pylutron-caseta-0.18.3.gh.tar.gz 54538 BLAKE2B 5a895a3ab80b8dbfc387db2b120785632d152cb3a24b4ea2e39e5c4e29cd3584f1e96aa8b119cbba34f86acc008a3bec0d594623c583cc9c112504b30f7211d1 SHA512 e584e2c6390fc7266ecdcd847226dee1c4b3e1309a4c6dad4627748374672b7f5bff4f30c051e09af9d48d4d38ffcb5ebc0c62d9fc1abd2b25394e6237dba66f 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 +DIST pylutron-caseta-0.20.0.gh.tar.gz 56591 BLAKE2B cfc208960d10395f11d95379eaf691d7b2f43c9d91ab586008a568422546f24d967217d6b32976c8c5f40a6219f09f013f2a343073c2b5d6144359f26f25ac1f SHA512 2260d621d8d051f99373bc321343ba76a98af4b01a90649caf974d9b8a8c7daa961ddea44aa4316f812bd7b4576dc045e0022a92b6605c22d2666b6e3da100ba +EBUILD pylutron-caseta-0.18.3.ebuild 1332 BLAKE2B 6a675fef95378345fb641561bce449423e3f2c7c89e853b82e9d157560d47220dc31038b3ea7bfae44ed82a22bdd34c7b440d0d3531b17c6397ba32435cd993c SHA512 aadcb665c9b76d83aeb72dd3426b531bf383e4540f51209b9948cab74f9391fca96e91299457a538c6cfd1c6ca7cb2451055785c2e518f822d0a7c945bc65b73 +EBUILD pylutron-caseta-0.19.0.ebuild 1331 BLAKE2B d414f232678181c3518e987a544038046e3978a5ee946b3961ada787dced3019aeefcaf88611a1a9a1c47e6039546557701a48d05a3da80188a498f671d46a78 SHA512 6a97fd882c76bf637c04e05e6f005bb84f424d37553ae0fa613a3b9b626c0794b503cf6a8f874b919875f28de5a2047c3ffd83a684ea2660e10c86264c48cff2 +EBUILD pylutron-caseta-0.20.0.ebuild 1331 BLAKE2B d414f232678181c3518e987a544038046e3978a5ee946b3961ada787dced3019aeefcaf88611a1a9a1c47e6039546557701a48d05a3da80188a498f671d46a78 SHA512 6a97fd882c76bf637c04e05e6f005bb84f424d37553ae0fa613a3b9b626c0794b503cf6a8f874b919875f28de5a2047c3ffd83a684ea2660e10c86264c48cff2 MISC metadata.xml 401 BLAKE2B 54df947c84da5c587483e79d4511faf1e620bae48a91a515d229b75393f40923ef04429049a4859bcee82df7595a1d3daec94d31ab0bdfa197446e2441adcb4b SHA512 cbfe7e9a77ddb0b166dcb226173e2ce0860bca0c192c3b806c1c4c0b18d7e6bbb14367aeed7fa318324b20949ef747bbb345389b04522bd2060f1b731cef1eb7 diff --git a/dev-python/pylutron-caseta/pylutron-caseta-0.18.3.ebuild b/dev-python/pylutron-caseta/pylutron-caseta-0.18.3.ebuild index 0e0b4e0ef..23c91d010 100644 --- a/dev-python/pylutron-caseta/pylutron-caseta-0.18.3.ebuild +++ b/dev-python/pylutron-caseta/pylutron-caseta-0.18.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{11..12} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 diff --git a/dev-python/pylutron-caseta/pylutron-caseta-0.19.0.ebuild b/dev-python/pylutron-caseta/pylutron-caseta-0.19.0.ebuild index 235960904..5f6b6edaa 100644 --- a/dev-python/pylutron-caseta/pylutron-caseta-0.19.0.ebuild +++ b/dev-python/pylutron-caseta/pylutron-caseta-0.19.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{11..12} ) DISTUTILS_USE_PEP517=hatchling inherit distutils-r1 diff --git a/dev-python/pylutron-caseta/pylutron-caseta-0.20.0.ebuild b/dev-python/pylutron-caseta/pylutron-caseta-0.20.0.ebuild new file mode 100644 index 000000000..5f6b6edaa --- /dev/null +++ b/dev-python/pylutron-caseta/pylutron-caseta-0.20.0.ebuild @@ -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_{11..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 +}