From e4a6244c0f4b84bdd15af806eb37edded5e49936 Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Sat, 8 Jun 2024 15:05:56 +0200 Subject: [PATCH] dev-python/airgradient: new package, add 0.4.3 Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/3467 Signed-off-by: Andreas Billmeier --- README.md | 4 +-- dev-python/airgradient/Manifest | 3 ++ .../airgradient/airgradient-0.4.3.ebuild | 32 +++++++++++++++++++ dev-python/airgradient/metadata.xml | 16 ++++++++++ 4 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 dev-python/airgradient/Manifest create mode 100644 dev-python/airgradient/airgradient-0.4.3.ebuild create mode 100644 dev-python/airgradient/metadata.xml diff --git a/README.md b/README.md index 3be1c92a5..e03e12a0a 100644 --- a/README.md +++ b/README.md @@ -606,11 +606,11 @@ 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 1859 Ebuilds in total, 1848 of them have in total 1871 (42 different) licenses assigned. +There are 1860 Ebuilds in total, 1849 of them have in total 1872 (42 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|1066| +|MIT|1067| |Apache-2.0|413| |GPL-3|108| |BSD|108| diff --git a/dev-python/airgradient/Manifest b/dev-python/airgradient/Manifest new file mode 100644 index 000000000..b5c325be4 --- /dev/null +++ b/dev-python/airgradient/Manifest @@ -0,0 +1,3 @@ +DIST airgradient-0.4.3.tar.gz 6358 BLAKE2B 1e37642772c6346e4f1de545b2db012b8dc6863a04258dec9b4956a5d5faf051a4e894575d2b2ec11922c52a6b29ee00b36b17c1105be21fe723a90ee95261c9 SHA512 ffdce6d42b0883379358b7b681521d4b9d87897970685e7a5656be5c058007a0a9dc2670ce23a1ddacb34ce3c84219f5dd01bf66e5c6f256ebe9e5769058c411 +EBUILD airgradient-0.4.3.ebuild 859 BLAKE2B 18d4172e5498ed5ce6843726be1db9610ce10f38c4c1daa69b9b22ee3451811974d08e7abc7610839ad5e3eef91f4ab1f0e70edd7318e3c3ea7e1f886ce690e9 SHA512 ca552cdc966e23584f108d2d01c29f6679042ac3c2f6268b0ae91e3d9f53ee7c9b184761f96d6902361cf3d99e21499ad1d6721a897bb8d5c08f1abcca4c7ebb +MISC metadata.xml 536 BLAKE2B a892e20cee5e51ceceaa7cf5387937898c115f0b001b766c6aa78c7163f975730bfb8b7f4dc923a41872d9e3fb20d82ac73ded357a50c0f841ddf2e1804324fb SHA512 bfafecad13aa18d88d3ea715bf6665f8c0fc456b08a13cb448ad8b01ae1d06a971edfcec286aafc303449d692dd299d8969228b369cf42668ce4d21c9ea742dd diff --git a/dev-python/airgradient/airgradient-0.4.3.ebuild b/dev-python/airgradient/airgradient-0.4.3.ebuild new file mode 100644 index 000000000..670dd5a75 --- /dev/null +++ b/dev-python/airgradient/airgradient-0.4.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +DISTUTILS_USE_PEP517=poetry +inherit distutils-r1 pypi + +DESCRIPTION="Asynchronous Python client for AirGradient." +HOMEPAGE="https://github.com/airgradienthq/python-airgradient https://pypi.org/project/airgradient/" +#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND=">=dev-python/aiohttp-3.0.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.6.0[${PYTHON_USEDEP}] + >=dev-python/mashumaro-3.11[${PYTHON_USEDEP}] + >=dev-python/orjson-3.9.0[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/aresponses[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/airgradient/metadata.xml b/dev-python/airgradient/metadata.xml new file mode 100644 index 000000000..1cd4529fd --- /dev/null +++ b/dev-python/airgradient/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + + airgradient + airgradienthq/python-airgradient + + joostlek@outlook.com + Joost Lekkerkerker + + +