diff --git a/README.md b/README.md index a52e472ba..47f393ddf 100644 --- a/README.md +++ b/README.md @@ -612,11 +612,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 1679 Ebuilds in total, 1668 of them have in total 1689 (43 different) licenses assigned. +There are 1680 Ebuilds in total, 1669 of them have in total 1690 (43 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|981| +|MIT|982| |Apache-2.0|352| |GPL-3|96| |BSD|96| diff --git a/dev-python/python-homewizard-energy/Manifest b/dev-python/python-homewizard-energy/Manifest index 7a9b02545..c006952fa 100644 --- a/dev-python/python-homewizard-energy/Manifest +++ b/dev-python/python-homewizard-energy/Manifest @@ -1,5 +1,7 @@ DIST python_homewizard_energy-2.1.0.tar.gz 11256 BLAKE2B e281dd03f0e54b97fd5fbe02f4f908564d4c9a2b82aea42d0afa02f2fb18c2c4aebe0d320469cb87efb5b61b6eebdbac7bd9ddc3c3766538ae963fa204dfbe74 SHA512 240979cc717a3e75a3ac740f4b869b3d90c17c779bdbd7332d8029d993c4fb0142b5e98d637eb6ca6c95316dbd2a235a62333279fcc322311cc3d69013bae67c DIST python_homewizard_energy-2.1.2.tar.gz 11266 BLAKE2B 7783e3a3b4d10697d3557d4fb6aa706954053129a716d0b177a8efdc4c9afc7793f156a79e1aa90f2de6021e01bb996e7373d3622c85a952d934f17c7f8103be SHA512 a124d49608ab85c15f9d313fbf55f8e54f1ef2a82fdbc8ee96498f66fd19b8bca325745e1ba09ac49cc39af9e41536100a32eeff21aadfb9725ee34e12945e7c +DIST python_homewizard_energy-4.1.0.tar.gz 11920 BLAKE2B 71175c04caeae18728f7f2a7052e31dedd93907ade45cbf68d0b0a092b57568b14280e3903be6f1408e42d11695940b3fdfc487032e5c0d199cfa5147bcbea26 SHA512 4fe9ef48dd1bc26245023d153c741962771a4344fa092916c0b721fc9c931166268c4900156fce08c565c747531bd152480b1a71fc6427ec28241072f8794d53 EBUILD python-homewizard-energy-2.1.0.ebuild 824 BLAKE2B a8d275a129fcf86169920cb10ae66cb609b2b9c98833e99cc0abbc43d374602b9231a0b7e352f14a0ecc19bb8d77d1483fe951bc65dbe2c17be3b0eb7901a496 SHA512 6cee26d4969382103acabc507eb58fb9332afd22f5cae767b26e588205e059b74e5566b4bc58f59383fb1426ba55959dbcf136968806d078bf43a6f920d834d7 EBUILD python-homewizard-energy-2.1.2.ebuild 824 BLAKE2B a8d275a129fcf86169920cb10ae66cb609b2b9c98833e99cc0abbc43d374602b9231a0b7e352f14a0ecc19bb8d77d1483fe951bc65dbe2c17be3b0eb7901a496 SHA512 6cee26d4969382103acabc507eb58fb9332afd22f5cae767b26e588205e059b74e5566b4bc58f59383fb1426ba55959dbcf136968806d078bf43a6f920d834d7 -MISC metadata.xml 415 BLAKE2B 93ac71905e326910dbef25d4a1440eea0be364984d1b94e5408e1244efa1c5deb0d6c0a9418d00868dc44c04c554cc179a857fe43d8f45771396ed8ae4ed03aa SHA512 ff2cdd2460b431a5f215b9b9b85fd9e3ce053fedbdd7a16f6e8ad11a74403597f5fbb64865a8e88c6641487eaa09dc869bfca838cd6282ebb614c8d0683ebffc +EBUILD python-homewizard-energy-4.1.0.ebuild 850 BLAKE2B fd473a4df9e4224c05a11ac8adbd10f6e991d337ac57bb0acf0582dbe9ea407b0c62a37ed64d6758859fbcec11b8eab6a5c9988d171e73a5ebac8473e8c236b3 SHA512 e6996089976769f8ea168f11a9b8b88b401ac341fb89052c37aaa15d90ff1893929955512ca6dae0c70abd4029e5e1426c5ae38accf3dbd0b780c32536ece5ef +MISC metadata.xml 420 BLAKE2B 53bb28f87b335af432bbaa6372f42f533cce969ba8e9a02ee90590de67dfe8fedacd914e319929877a9bfd93adc8857cc273d080740927859bf9c36c4e6e9c3c SHA512 02869c2304fa9fa6a2471164ad5f1627e397690118544f386d557dfb21cd5b6b02f4ffdab87241a2104a086b1667192e7975f8c38b4b13856e6abbd85ddf1163 diff --git a/dev-python/python-homewizard-energy/metadata.xml b/dev-python/python-homewizard-energy/metadata.xml index 840e6453d..cd120d80e 100644 --- a/dev-python/python-homewizard-energy/metadata.xml +++ b/dev-python/python-homewizard-energy/metadata.xml @@ -7,6 +7,6 @@ python-homewizard-energy - dcsbl/python-homewizard-energy + homewizard/python-homewizard-energy diff --git a/dev-python/python-homewizard-energy/python-homewizard-energy-4.1.0.ebuild b/dev-python/python-homewizard-energy/python-homewizard-energy-4.1.0.ebuild new file mode 100644 index 000000000..15d3f15ea --- /dev/null +++ b/dev-python/python-homewizard-energy/python-homewizard-energy-4.1.0.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=poetry +inherit distutils-r1 pypi + +DESCRIPTION="Asynchronous Python client for the HomeWizard Energy" +HOMEPAGE="https://github.com/dcsbl/python-homewizard-energy https://pypi.org/project/python-homewizard-energy/" + +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}] + $(python_gen_cond_dep 'dev-python/async-timeout[${PYTHON_USEDEP}]' python3_10)" +BDEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/aresponses[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} + +distutils_enable_tests pytest