From 2e84e21bace333a62015d7b6451e80cda9e27d69 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sun, 29 Jan 2023 21:41:24 +0100 Subject: [PATCH] dev-python/aioshelly: add 5.2.1 Signed-off-by: Andreas Billmeier --- dev-python/aioshelly/Manifest | 8 +++-- dev-python/aioshelly/aioshelly-4.1.2.ebuild | 2 +- dev-python/aioshelly/aioshelly-5.1.2.ebuild | 2 +- dev-python/aioshelly/aioshelly-5.2.0.ebuild | 2 +- dev-python/aioshelly/aioshelly-5.2.1.ebuild | 36 +++++++++++++++++++++ 5 files changed, 44 insertions(+), 6 deletions(-) create mode 100644 dev-python/aioshelly/aioshelly-5.2.1.ebuild diff --git a/dev-python/aioshelly/Manifest b/dev-python/aioshelly/Manifest index d1fb34164..e75ff55a3 100644 --- a/dev-python/aioshelly/Manifest +++ b/dev-python/aioshelly/Manifest @@ -1,7 +1,9 @@ DIST aioshelly-4.1.2.tar.gz 19927 BLAKE2B fe841cceeca167525d335035c0afb6c3b03a19f4c412bebfd91e8b535663b8dff9ae1b199f04291e5f43a9b83b5ed698a3f87f6ad72c9a2c651ebd42ebc39e33 SHA512 5611529bda532084739a4e5b3254b2b2841f560dc01e06f44a89522bfe5d4d774e5150d0e5b18c4f28b7b0e69456bf70c8992b83de623228fb9a902a071e3f3f DIST aioshelly-5.1.2.tar.gz 22585 BLAKE2B d386cc761a0484b88b32f4a93816bce7b96bb459a05d2a102ef034239c9b60c656cf9dd89eb4d6e57df23c2bc77f2f9b2fdee74e10109fb0abe2b03c99f97999 SHA512 bc6349c54fc5e92b12698394e8ff8605dfbcc8e3bbcd98c189528e4612a0963acbc8e601c656e191a040977acc454c2f28d95e0e6334248fc35634708aa49128 DIST aioshelly-5.2.0.tar.gz 23818 BLAKE2B 76414a445aef64415cd35e28f3d596be6e91609ddb0b154466203e908dcbd4fc6aa26ecda426a80f30357a1a69baf369620c7a4feb28e57b246711386b485ffd SHA512 4380c06f2604600a096324496f17e19f9f7816692d83639ace3c13cb75ec6e97a87b5fad94c6d184027d0714169e98af9d22964ac2cf401a48c658a0bb71f6f0 -EBUILD aioshelly-4.1.2.ebuild 792 BLAKE2B e075263d5d0e292a5bfb1d5406db4c943aafe51b80c49f69f1ec1aa08934b47225f536f5be8bd89036c66d255e48a85347b248dc55e9b3906192579179b8e62c SHA512 8b1e3f85249a096e99b10ce716b1af718a84bdc366f14bab00ab0d133b701ea7e8b8eaa7a8064d692c09f640f7cf77c114479a77353ef943cce9879da278e53a -EBUILD aioshelly-5.1.2.ebuild 895 BLAKE2B f1873f9bf84912ed8279cf30edc1555ae0e707c1e256b5fc4d95eba0389c5eddaca7e7e9b803761298d0ffbcdd4664cda74f06a0530ea2a35a576b38ca124160 SHA512 6c5e01ca028ded031467c48d42bc4ecace58ee6c495e485338146e4eae0f1f5f626ebde4a603f4c517ff7e5cfd5f9a27c7e1743362d7f9387c0cc568bcaf176b -EBUILD aioshelly-5.2.0.ebuild 895 BLAKE2B f1873f9bf84912ed8279cf30edc1555ae0e707c1e256b5fc4d95eba0389c5eddaca7e7e9b803761298d0ffbcdd4664cda74f06a0530ea2a35a576b38ca124160 SHA512 6c5e01ca028ded031467c48d42bc4ecace58ee6c495e485338146e4eae0f1f5f626ebde4a603f4c517ff7e5cfd5f9a27c7e1743362d7f9387c0cc568bcaf176b +DIST aioshelly-5.2.1.tar.gz 24051 BLAKE2B 1b104beabf770dbd0269b72728b0157d77e923baacc10749f46c231a9e67b4178cfb72f5e8e3f638fc0751a0ef439b78e131c363f4eab8f13b44b6e442fbac4a SHA512 0d6ddf71696db5a2298a68a6cd64d04a31773510173ce1cd58a820eb23dd49d1ee4fc7cf372de41e40c6e5db1c2d8b1c8c95718f0b5cc5ea50984d9ec0dfe913 +EBUILD aioshelly-4.1.2.ebuild 792 BLAKE2B 990eb21975f85086cb7d19caed323059a60e8713ec02f8c33bd90ac4b9653f6c35da099ce57fd249022ca87f5223be0be99507399374e85d706539863445807c SHA512 a6664cc4c066161c214d1b2cb662701c8575ad67510facd66a82d06ac9f254d0af7a9a9825cd670745e7b4106a1cdf10b6056d9199941c753f59761080c117b3 +EBUILD aioshelly-5.1.2.ebuild 895 BLAKE2B 9a58c4fb177c917722020e570c1c6491448fd7bf41bd4e0f7fd5c4b7ea1487e85b5a5ba0866882ddbd9788a1a8522c95a9177ef5440e607e39539ddc91a6846c SHA512 f5412d4046d341ab69eba70c96c7b23991d0659f943408c86d81d4e6e83d27ee04e94f7e32d35f806206caa221e8bd0a747e4484c4e57690e902645f910a497f +EBUILD aioshelly-5.2.0.ebuild 895 BLAKE2B 9a58c4fb177c917722020e570c1c6491448fd7bf41bd4e0f7fd5c4b7ea1487e85b5a5ba0866882ddbd9788a1a8522c95a9177ef5440e607e39539ddc91a6846c SHA512 f5412d4046d341ab69eba70c96c7b23991d0659f943408c86d81d4e6e83d27ee04e94f7e32d35f806206caa221e8bd0a747e4484c4e57690e902645f910a497f +EBUILD aioshelly-5.2.1.ebuild 895 BLAKE2B 9a58c4fb177c917722020e570c1c6491448fd7bf41bd4e0f7fd5c4b7ea1487e85b5a5ba0866882ddbd9788a1a8522c95a9177ef5440e607e39539ddc91a6846c SHA512 f5412d4046d341ab69eba70c96c7b23991d0659f943408c86d81d4e6e83d27ee04e94f7e32d35f806206caa221e8bd0a747e4484c4e57690e902645f910a497f MISC metadata.xml 533 BLAKE2B d3a60d6ad1a1bb8530b44f8914af8f85fb7117cfb3db0e8e425216b81f9871102e15330d5db4a9dd737e58f5d9eb82f5f71ba8ffa26b8f4ad7062861f63a4eeb SHA512 75e68f47e8b9ca4dbfdbabc3efbb9e89e3a01718f5fd56edd2fb40d41bc4ad5b318a63edbf9e5b38fea4e7dba815e93c212e9119529ca18cb296c99154bc54cc diff --git a/dev-python/aioshelly/aioshelly-4.1.2.ebuild b/dev-python/aioshelly/aioshelly-4.1.2.ebuild index bf6fd905f..531ec72b7 100644 --- a/dev-python/aioshelly/aioshelly-4.1.2.ebuild +++ b/dev-python/aioshelly/aioshelly-4.1.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 diff --git a/dev-python/aioshelly/aioshelly-5.1.2.ebuild b/dev-python/aioshelly/aioshelly-5.1.2.ebuild index 2aabd7416..c0316b995 100644 --- a/dev-python/aioshelly/aioshelly-5.1.2.ebuild +++ b/dev-python/aioshelly/aioshelly-5.1.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 diff --git a/dev-python/aioshelly/aioshelly-5.2.0.ebuild b/dev-python/aioshelly/aioshelly-5.2.0.ebuild index 2aabd7416..c0316b995 100644 --- a/dev-python/aioshelly/aioshelly-5.2.0.ebuild +++ b/dev-python/aioshelly/aioshelly-5.2.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 diff --git a/dev-python/aioshelly/aioshelly-5.2.1.ebuild b/dev-python/aioshelly/aioshelly-5.2.1.ebuild new file mode 100644 index 000000000..c0316b995 --- /dev/null +++ b/dev-python/aioshelly/aioshelly-5.2.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Asynchronous library to control Shelly devices." +HOMEPAGE="https://github.com/home-assistant-libs/aioshelly https://pypi.org/project/aioshelly/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}] + >=dev-python/bluetooth-data-tools-0.3.0[${PYTHON_USEDEP}] + >=dev-python/orjson-3.8.1[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} + +distutils_enable_tests pytest