diff --git a/README.md b/README.md index e13335e3b..18441a188 100644 --- a/README.md +++ b/README.md @@ -576,11 +576,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 1815 Ebuilds in total, 1804 of them have in total 1821 (40 different) licenses assigned. +There are 1816 Ebuilds in total, 1805 of them have in total 1822 (40 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|1057| +|MIT|1058| |Apache-2.0|375| |GPL-3|116| |BSD|102| diff --git a/dev-python/glances-api/Manifest b/dev-python/glances-api/Manifest index b9d13b909..73c108774 100644 --- a/dev-python/glances-api/Manifest +++ b/dev-python/glances-api/Manifest @@ -1,5 +1,7 @@ DIST glances_api-0.4.1.tar.gz 4581 BLAKE2B 0f733d1ae6fa102da4926e283084585e254621db2d6bea5f46c00cd99463d1ef5b3d8950c94ad81fba2915dbd1c4da440d3bd4ec64be42ff7fad97cf74f0aa5c SHA512 b3716fbcc62a999e399be85bdbcb8b78b7e7865371d7393bcc0f1a67809b7497dc7045ec5c641ab320f915f1ca38eb48b689804375291bdf63315489d354e499 DIST glances_api-0.4.2.tar.gz 4147 BLAKE2B 36c61a0ae2d002b4528f162a0777e76f8d4dede336bc1dfe76f92ac621ccc3322e3c7058e9f40108ab6d4940602976812819c25c0bb791bd8cb3fba7c7bdca11 SHA512 87f8e8e1acc31e5564902288094d516505d10da93ffec83f0c074108fbf0acec7ca73a37b187af242db3657be1359b18f9c4919742c6e1a84ade549461cf1896 +DIST glances_api-0.4.3.tar.gz 4264 BLAKE2B 609f5b5a1ca5b6ed2883154a328dc1a0b5414ee0d7ddb826620c8179451fb29df297991c64711b4bbb7e5603a5b99cf5eb6e53e3707ceaadd8f613144d61309e SHA512 d56ae78c109600fe184f15d534cd97b6600cff028c8aa78c5fced351643075ff9225308ac40102a79dd3b7f83af6607eb76e5c0fe83a9593de9d438e0f453c17 EBUILD glances-api-0.4.1.ebuild 759 BLAKE2B f79926630a381aba16f5344371758858bd7f4b325f9fc579511750f7f9ea993ac87b160b16220184b6167d7192aa7a22ae52f65fff92ccaf6918c34ff23d2ed5 SHA512 0cec9e17ef12301ba9f234baca54e1ed6abdb5e02c4540b909cae4822031e0737f45affbfec95c651a8a46045e96b7ffebd6688b957b501589e12e48b92a3b11 EBUILD glances-api-0.4.2.ebuild 759 BLAKE2B f79926630a381aba16f5344371758858bd7f4b325f9fc579511750f7f9ea993ac87b160b16220184b6167d7192aa7a22ae52f65fff92ccaf6918c34ff23d2ed5 SHA512 0cec9e17ef12301ba9f234baca54e1ed6abdb5e02c4540b909cae4822031e0737f45affbfec95c651a8a46045e96b7ffebd6688b957b501589e12e48b92a3b11 +EBUILD glances-api-0.4.3.ebuild 759 BLAKE2B f79926630a381aba16f5344371758858bd7f4b325f9fc579511750f7f9ea993ac87b160b16220184b6167d7192aa7a22ae52f65fff92ccaf6918c34ff23d2ed5 SHA512 0cec9e17ef12301ba9f234baca54e1ed6abdb5e02c4540b909cae4822031e0737f45affbfec95c651a8a46045e96b7ffebd6688b957b501589e12e48b92a3b11 MISC metadata.xml 554 BLAKE2B 3492ee78ab6e68925049a36574fac953a37a4f176758bb468a29716b9e9b6c9ba270082be06606b338664aec753b5598e73098dee85e67399f283ccaef7032d0 SHA512 e6fb459d34b4a1a287c853efe70de09f098a9c17c19451cabaa892fcdb1b5cdf60c773f10a3ecb79e4700da82b8aea38aee805b7a0518ec1d6df3c4514dbb344 diff --git a/dev-python/glances-api/glances-api-0.4.3.ebuild b/dev-python/glances-api/glances-api-0.4.3.ebuild new file mode 100644 index 000000000..594ab4f93 --- /dev/null +++ b/dev-python/glances-api/glances-api-0.4.3.ebuild @@ -0,0 +1,33 @@ +# 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="Python API for interacting with Glances." +HOMEPAGE="https://github.com/home-assistant-ecosystem/python-glances-api https://pypi.org/project/glances-api/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.rst" + +RDEPEND=">=dev-python/httpx-0.23[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-httpx[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} + +distutils_enable_tests pytest