dev-python/p1monitor: add 3.0.0

Closes: #2474
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-12-10 14:04:32 +01:00 committed by Andreas Billmeier
parent 9a648baf24
commit 0f646fad30
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 39 additions and 2 deletions

View File

@ -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 1719 Ebuilds in total, 1708 of them have in total 1728 (43 different) licenses assigned.
There are 1720 Ebuilds in total, 1709 of them have in total 1729 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1004|
|MIT|1005|
|Apache-2.0|363|
|GPL-3|98|
|BSD|96|

View File

@ -1,3 +1,5 @@
DIST p1monitor-2.1.1.tar.gz 11008 BLAKE2B 247766a440e8535c474bb25fb6dc5a537ac972903c8ff174a00fc01244ce2ba675536ed9f742970c885f3355403dcc518b6b236bc8817bec23a4f002f33dec96 SHA512 0596c50cdcf57c6b9e3f907ec54b01bcc3cd9e1ccc2d1c76ae4f2d6129038386525463026ecf679398d2c3c154d143c1e309bb1445bc823fd04175966a54afff
DIST p1monitor-3.0.0.tar.gz 10753 BLAKE2B be3521a014d23a712a19b16a236a9b04fa4288a31456ad29ac2cafceca73f6dca0a2c302dbe8c9e93fcc362e1d256750721e63b01a6696303e899e6cef0eaa91 SHA512 37210c26834d3463bfc0c21173446fbe8ca076de0cfde3b0b3da8261f3ad77ed2c14092db149396a6223ebe1006dc7c0030d1c487eb644ae5e1790b53b04fc78
EBUILD p1monitor-2.1.1.ebuild 834 BLAKE2B 8c6c93d2a92140e28c31fd7d45467c1d25095df9e1908db2d15a099de0ce763c27f0d14cb627c1e2f72ca8293d176c00e85d1df1102c3d8dbe264e9999fd5bda SHA512 854db2d614b176462ba0ad2c8784d4f30d66191fb956b0ba5466ca2a7cef64b2a4efebb73f4525720fa1cfe7ed2b73044c02d4ccf39a8c81e7dd00c982059b4f
EBUILD p1monitor-3.0.0.ebuild 834 BLAKE2B 8c6c93d2a92140e28c31fd7d45467c1d25095df9e1908db2d15a099de0ce763c27f0d14cb627c1e2f72ca8293d176c00e85d1df1102c3d8dbe264e9999fd5bda SHA512 854db2d614b176462ba0ad2c8784d4f30d66191fb956b0ba5466ca2a7cef64b2a4efebb73f4525720fa1cfe7ed2b73044c02d4ccf39a8c81e7dd00c982059b4f
MISC metadata.xml 533 BLAKE2B a70327eca67e0aea4f83814a499340727b33ae11ced29853a44ca12716c676c73553172723937d838c290f4d21bd6cd65c48f7dead368de2bad8ec7f03b27d57 SHA512 a2f98b812d2ffe74c0fc05a9e4947ef62924fff2d593c3ae3a8e30920350eb1b0d803c4c2d7de2c21119c8b2fc980ec9526133324d1838802b3992a599d32c91

View File

@ -0,0 +1,35 @@
# 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 P1 Monitor"
HOMEPAGE="https://github.com/klaasnicolaas/python-p1monitor https://pypi.org/project/p1monitor/"
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}]"
BDEPEND="
test? (
dev-python/aresponses[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest