add python-kasa-0.4.0

This commit is contained in:
Andreas Billmeier 2021-10-02 14:17:24 +02:00 committed by Andreas Billmeier
parent ee90cfc67e
commit 6b1287e6b5
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST python-kasa-0.4.0.tar.gz 72268 BLAKE2B 253d037f3d4ccc75d84ba436af259025320dd8fcc6a3bf39fea0151501b13068f6c0159d142f795c58ab076b169dedd098ea3b4f82d689e29c4af0e17445db54 SHA512 87d248b64b27064bab3f78c0a544724ab442b876b1e129571ef883101199c202bb3c4d467930a0866037a340be5f9c79b467f09b4f4c6c35708640cd8e9cad99
EBUILD python-kasa-0.4.0.ebuild 803 BLAKE2B b94ba61ad1648deedc0aa7cdd708978e7c2e9a3c7c8ff3acc0a32c2f354c4668769ee58640e3fbb9e74b7e2d6d05db634cdcba30a0537f2edf011dfbe69d0755 SHA512 222d75d7034ee876101afb6a4dee3a20bce91ad44d4438da4e4f4d5513dc5f20a41e9e243d9c1738cbbc67d83691993c6590c233688e4665544fb440b1e6bca2
MISC metadata.xml 448 BLAKE2B a99b6791e7f4993899d075ab17c310b165ed77b1517fabddffb47fb135af7ea1f03ce809e753a9a36e846b3915b1712b7dacb9b14a3c2e2d90649e8f6658b127 SHA512 c976d2ec2a801e503ebb04190834aeb18810a6d5e4228d6774b44c271d25645f1cc50f1fcf6ba28807f0d22382028a5fe42c7e0696454f7da506a33f05f1934b

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">python-kasa</remote-id>
<maintainer status="unknown">
<email>you@example.com</email>
<name>Your Name</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,33 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
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="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.md"
RDEPEND="dev-python/importlib_metadata[${PYTHON_USEDEP}]
>=dev-python/asyncclick-7.0[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}