dev-python/airgradient: new package, add 0.4.3

Closes: #3467
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-06-08 15:05:56 +02:00
parent 7ae1b8f800
commit e4a6244c0f
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 53 additions and 2 deletions

View File

@ -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|

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,16 @@
<?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">airgradient</remote-id>
<remote-id type="github">airgradienthq/python-airgradient</remote-id>
<maintainer status="unknown">
<email>joostlek@outlook.com</email>
<name>Joost Lekkerkerker</name>
</maintainer>
</upstream>
</pkgmetadata>