dev-python/python-kasa: add 0.5.1

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-03-01 22:07:48 +01:00 committed by Andreas Billmeier
parent 2525366b0f
commit 2cd32ecd29
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 48 additions and 7 deletions

View File

@ -573,13 +573,13 @@ 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 1785 Ebuilds in total, 1774 of them have in total 1778 (34 different) licenses assigned.
There are 1786 Ebuilds in total, 1775 of them have in total 1779 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1041|
|Apache-2.0|386|
|GPL-3|109|
|GPL-3|110|
|BSD|94|
|LGPL-3|25|
|GPL-2|20|

View File

@ -1,3 +1,5 @@
DIST python-kasa-0.5.0.tar.gz 87181 BLAKE2B b15972c3e4aad1bba7e2efc1f5e949c55bfad47a6cb05c4dba435dd4adf4a0809265a0f6f714efa6d0c0afe28f91638a8c6683d5b0d1a5afdb0374738b641f07 SHA512 0f0930d5f24276ab4d7338e6c17bd8e142eada1f1fa76281173596ca452bad4aa4514de6eaab75bee3ce130294dcab95e369d44a0bf22a74619de44151e26330
DIST python_kasa-0.5.1.tar.gz 93458 BLAKE2B f0283b53e52b6d5a2db1ff1a6fff3aaa0122e2768ad6d02e3cc01cd7ab2e6022c9b490b1f7e2c88762676bec984c36dac5055687c9fa9fc5a619e4cc3f17395c SHA512 5964bbe93530cfde9de7c45f9e7c7b8c434a0e61ffc060d22340852a267da14f56c3b9c71e1a666af4bc441c4615528f16b2e743a9b899c9826b1b75cceef016
EBUILD python-kasa-0.5.0.ebuild 974 BLAKE2B 565da845d8b5857a054919e9298fc2314b0159cc4c8908713a36c401286b530ec32ad3326dc45e9bb90e2ba9036432fb6b645cd81709599f97888cc0b98f1c14 SHA512 bcf01730461ae925969d8edccf30d16b8deadb723ca2137fed17a78822f573ec793834eb087990800e678d31894da7508eaeccb229512b6542be45543e990131
MISC metadata.xml 513 BLAKE2B 11068b8b5dc86aa2d6ded2152246efa9b38603a3a5cb1c2d5aad7003ec67ca85adbbb6021271edd05cc4b5c2ec614df6b91bdd5a42aeed8156cefb24218ac062 SHA512 b6a0adb921727ef5edc4acbaaa101ad2e0fa9cac1dc4e1ec0be70a3fa6362c5a383486075e61ab955f441c0a386478724f41bab789bb7487c4ec8a0430036495
EBUILD python-kasa-0.5.1.ebuild 1025 BLAKE2B f84deb3d75a525dabdb13cb5d474763b85aa58ec6582830bb102927850e172c11806ee3f73258ec702a82be48661ba8535a60ff108d88b835242526d39b1c172 SHA512 7f01c1cb20f91f70a8561c055b4aef7529f737543265ea1d2cc6db1042d67d27377d390697ca07b9f66261d95f633e765912e0c87e1d46e5f199eb09a52230a5
MISC metadata.xml 395 BLAKE2B 5e29f4817b9616253e26ecf83c38fd8ef6a387853437eaf615c78a24e77409b587596dd827e00f3ec161d23704e7239b0e83733aace51721d4754ab286c32085 SHA512 327a488b295cd95abb3fe109297687fa284aa2ef1e83101940d1def59c571a05d742f8cc714848893feb1d7f168db04c85902ea3c184d8fdba267f7efb55648c

View File

@ -8,9 +8,5 @@
<upstream>
<remote-id type="pypi">python-kasa</remote-id>
<remote-id type="github">python-kasa/python-kasa</remote-id>
<maintainer status="unknown">
<email>you@example.com</email>
<name>Your Name</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,43 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 pypi
DESCRIPTION="Python API for TP-Link Kasa Smarthome devices"
HOMEPAGE="https://github.com/python-kasa/python-kasa https://pypi.org/project/python-kasa/"
SRC_URI="$(pypi_sdist_url)"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/anyio[${PYTHON_USEDEP}]
dev-python/importlib_metadata[${PYTHON_USEDEP}]
>=dev-python/asyncclick-8.0[${PYTHON_USEDEP}]
dev-python/pydantic[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
dev-python/pytest-sugar[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
src_prepare() {
sed -e '/include = \[/d' -i pyproject.toml || die
eapply_user
}
distutils_enable_tests pytest