From 88bfcd65354c0fa504b07998deed487f88718cb2 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sun, 10 Dec 2023 12:58:11 +0100 Subject: [PATCH] dev-python/nettigo-air-monitor: add 2.2.2 Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/2466 Signed-off-by: Andreas Billmeier --- README.md | 4 +-- dev-python/nettigo-air-monitor/Manifest | 2 ++ .../nettigo-air-monitor-2.2.2.ebuild | 34 +++++++++++++++++++ 3 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 dev-python/nettigo-air-monitor/nettigo-air-monitor-2.2.2.ebuild diff --git a/README.md b/README.md index 817aceebc..c63c995ad 100644 --- a/README.md +++ b/README.md @@ -612,12 +612,12 @@ 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 1695 Ebuilds in total, 1684 of them have in total 1704 (43 different) licenses assigned. +There are 1696 Ebuilds in total, 1685 of them have in total 1705 (43 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|992| -|Apache-2.0|356| +|Apache-2.0|357| |GPL-3|96| |BSD|96| |GPL-2|24| diff --git a/dev-python/nettigo-air-monitor/Manifest b/dev-python/nettigo-air-monitor/Manifest index 25a89f8ca..57b16edb4 100644 --- a/dev-python/nettigo-air-monitor/Manifest +++ b/dev-python/nettigo-air-monitor/Manifest @@ -1,5 +1,7 @@ DIST nettigo_air_monitor-2.1.0.tar.gz 10852 BLAKE2B a21799c27c380fffec15bebfcba4fa151a9e0df49afb12b7aa58194ed271f8c77160404f33e67714e89801312061d378d2f647078aa44da30540df916fe4c73b SHA512 08010c838a4aa8dc6d35687e1eea04a6c62b418b89d8d64865dafa8ab7a230ff4e16ccf21a7d2fbbf527803481294afe2a6c03f55015e7046877f7806e514562 DIST nettigo_air_monitor-2.2.0.tar.gz 10971 BLAKE2B 61bb336ff49d9a2f6641ed850f5f03a0df970fe7dcf9a592dd7e691d47282f21d0671ce191b89fa7f3cf7bd712276ba00864e465ad383930799a3d676721b154 SHA512 115d3214dc158198b0045e02579a13d51ddf91479764baa19107e12d5110f4656e1eba2caa53f1bdbe5d8a22b7f40542a1017d352a3a9c6993262fb6a2494533 +DIST nettigo_air_monitor-2.2.2.tar.gz 12728 BLAKE2B 7e73daf81fbec514487dc245c6eb7b280e85f57dc4ff5b8cb9aa06185d68bbf1d44d81ae1fd917c6da78338b5bca26c9f481902a8bcc025f4a1f586006124208 SHA512 6a967a4c5289fd6226879af68d98a9e12785428ba90e02104232230d8064cd942c1bbe54d3153ead7c96ed4543a6b3cae19063efeb165533d08fc069dec147f2 EBUILD nettigo-air-monitor-2.1.0.ebuild 828 BLAKE2B 19ed2c4f1d7d187908b0d3917fdaa81f5f518cd32cac990c445eb170bbb711d044662c46d09f8244c148a5743872893d5484d2f0f07b160e5175d157e5e15425 SHA512 344f7153bc60bb8492a39f4e14f9a390816921eb86e3e964ccbbabd8cbf838aa20aba2471e03a5d8f6f68d34cf7d4bce51bf10b4bb0cd7223b4424f43c7f4415 EBUILD nettigo-air-monitor-2.2.0.ebuild 956 BLAKE2B 18dd111d1c273c4c3c83577c85694230ed79afadfda44f303d21dde19a18478a15913860ac5dd9cda2c2b8b299d59d5585cbf836c7f2e11f19b82cb01bf6b81e SHA512 4664ba10639c60744bae93051da539c4b00586273ee9ebda6dda30db67a646f8c6352b15cf0ed0bb34b77b51a143a408d3c7e29428ad782f8055273e72854205 +EBUILD nettigo-air-monitor-2.2.2.ebuild 836 BLAKE2B e166b0f5c412baec5f84b724a587d0f7774321d86eea732416b173990d9bc0c075d7ead9bf9b7a0c21533ab4912a6379bd5e0e76dd4de91c3d15845cb52a6fde SHA512 cc1a3ab143c542ea3e4d9ab8b277ce4de6dd716ce62dafcd2c9dc4e60cf2c5ff4c0d5cc6c266060aa9751289ac54af0dccb6038fb90b8466eb6997404ec6528a MISC metadata.xml 406 BLAKE2B dac55168d3a06d41dfed565325d52eca8ced724185fd405606bfbd9902192f6b5bdceacf1a45bc76814e49cbca5271a013ebc7140231c1c6b615e379f7931edd SHA512 88bd52915d2eb3d27d921a28fef82c8564d5aa99a9b7080f14d284346059fea4bb84fc2497d4461c3a65c20fe18a3aca8ccd7de170a2c6d1c716f4247278f5a3 diff --git a/dev-python/nettigo-air-monitor/nettigo-air-monitor-2.2.2.ebuild b/dev-python/nettigo-air-monitor/nettigo-air-monitor-2.2.2.ebuild new file mode 100644 index 000000000..9d510be0c --- /dev/null +++ b/dev-python/nettigo-air-monitor/nettigo-air-monitor-2.2.2.ebuild @@ -0,0 +1,34 @@ +# 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=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="Python wrapper for getting air quality data from Nettigo Air Monitor devices." +HOMEPAGE="https://github.com/bieniu/nettigo-air-monitor https://pypi.org/project/nettigo-air-monitor/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND=">=dev-python/aiohttp-3.7.0[${PYTHON_USEDEP}] + dev-python/dacite[${PYTHON_USEDEP}] + dev-python/aqipy-atmotech[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/pytest-runner[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} + +distutils_enable_tests pytest