diff --git a/dev-python/switchbot-api/Manifest b/dev-python/switchbot-api/Manifest new file mode 100644 index 000000000..447e91d50 --- /dev/null +++ b/dev-python/switchbot-api/Manifest @@ -0,0 +1,3 @@ +DIST switchbot_api-1.1.0.tar.gz 4200 BLAKE2B 1630ab308d212400135ae014ab90c811c3622f0b4e8b67ad87709d2c8b96e08f0531a38b6780622ccba4b19a4cb6f2517749c2aee1ed9a65a64da190e406853b SHA512 b2bdadc29757008ad1eda12eb08f96849f1a8cf1dae08b5fc9c07ab30fa22434a65895894617b2c744c3107d5b1d0fc8496a7f57c88f7bc2b5b7410ede338f0f +EBUILD switchbot-api-1.1.0.ebuild 663 BLAKE2B 84e3f36b3e175502cf1ed95e2046c8ed7086a8455cee6f79b54506ba44ec42018577ae343c6483f494466820a51cc1220080f31efe308911cf24726e2e927e88 SHA512 11106def88e8cc935a60a50ad4d4b66b937ee177ec004f94267abdcba70994170f0c11dae5b93b4e3611562f14cbc1e1d46a0c870d65a194207d6f01f4366b8e +MISC metadata.xml 537 BLAKE2B 2195eb69d989cfdbbfe400fc8b430b0668ca17ee37b1ae7e4509facf4569ac5c200096431b8380853d82ac70cc263afaeb8c19426f1add86b13574a3803ed515 SHA512 2bf5eedd52052c2b65c24b8cd675547982f981afbf9f0668c24cfd385e6722c4c220dd01c9aab4ecb9933a8079cc25432eb441fda7d8fa20aaf1781e4996cf6f diff --git a/dev-python/switchbot-api/metadata.xml b/dev-python/switchbot-api/metadata.xml new file mode 100644 index 000000000..238b32161 --- /dev/null +++ b/dev-python/switchbot-api/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + + switchbot-api + SeraphicCorp/py-switchbot-api + + contact@ravaka.dev + Ravaka Razafimanantsoa + + + diff --git a/dev-python/switchbot-api/switchbot-api-1.1.0.ebuild b/dev-python/switchbot-api/switchbot-api-1.1.0.ebuild new file mode 100644 index 000000000..ee12f7cab --- /dev/null +++ b/dev-python/switchbot-api/switchbot-api-1.1.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=poetry +inherit distutils-r1 pypi + +DESCRIPTION="An asynchronous library to use Switchbot API" +HOMEPAGE="https://github.com/SeraphicCorp/py-switchbot-api https://pypi.org/project/switchbot-api/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND=">=dev-python/aiohttp-3.8.4[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} + +distutils_enable_tests pytest