dev-python/pyunifiprotect: add 4.21.0

Closes: #2404
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-11-23 19:58:37 +01:00 committed by Andreas Billmeier
parent d2d430c9fb
commit 7e2c261f50
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 46 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 ## 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. 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 1650 Ebuilds in total, 1639 of them have in total 1659 (43 different) licenses assigned. There are 1651 Ebuilds in total, 1640 of them have in total 1660 (43 different) licenses assigned.
|License| Ebuilds using it| |License| Ebuilds using it|
|-------|-----| |-------|-----|
|MIT|961| |MIT|962|
|Apache-2.0|341| |Apache-2.0|341|
|GPL-3|95| |GPL-3|95|
|BSD|95| |BSD|95|

View File

@ -1,3 +1,5 @@
DIST pyunifiprotect-4.20.0.tar.gz 293296 BLAKE2B 2d42bcc099f1076f4e1956161a156475cd5275e4bffbe78f36e0c0accdc57e773408a0024602a2035a67b2047ee11d5fa0afebd1607b826717d7d40bd017534f SHA512 a205bc97c1ea4baa180fd1145d9599c7d9967ac0536ee8b75e3162010b29fa96e108728b5daacf05e13323c3868391d9607074f338ee447e98f6b7f1c71b3da7 DIST pyunifiprotect-4.20.0.tar.gz 293296 BLAKE2B 2d42bcc099f1076f4e1956161a156475cd5275e4bffbe78f36e0c0accdc57e773408a0024602a2035a67b2047ee11d5fa0afebd1607b826717d7d40bd017534f SHA512 a205bc97c1ea4baa180fd1145d9599c7d9967ac0536ee8b75e3162010b29fa96e108728b5daacf05e13323c3868391d9607074f338ee447e98f6b7f1c71b3da7
DIST pyunifiprotect-4.21.0.tar.gz 293759 BLAKE2B f3e61e566fcdef98c553c9d355f22cf563bb2057a4a79d3e40a1bb88c21b153c5fc9a5fdf3aadf272652bfa3582c3450057262cc42f789586a2144eb6680cc2c SHA512 4ef6439d6823f3aa1c4372e3b46b0df2d3c643cf17c66e0624eac0543dffc96cd9333e3ece9df84e575bbd935a3d6a47e78c5bd2fcf7cdb8afb17808d0b8d1d3
EBUILD pyunifiprotect-4.20.0.ebuild 1126 BLAKE2B a9a89731916911581c358dbf8c645b8f301dc439f7ed12e7be83ac03525077e512e95575fb6f39671f9798f5af24fd51ed6915d7944d87339778a57288ff4379 SHA512 595beaa75586ed517cade9522bf24e361e1434d65894d3e0298d19990ecebacc646bd45f48c2d9b0d2300e4fe59a4fc3c3eca63591e9e39c0f6e32916556a910 EBUILD pyunifiprotect-4.20.0.ebuild 1126 BLAKE2B a9a89731916911581c358dbf8c645b8f301dc439f7ed12e7be83ac03525077e512e95575fb6f39671f9798f5af24fd51ed6915d7944d87339778a57288ff4379 SHA512 595beaa75586ed517cade9522bf24e361e1434d65894d3e0298d19990ecebacc646bd45f48c2d9b0d2300e4fe59a4fc3c3eca63591e9e39c0f6e32916556a910
EBUILD pyunifiprotect-4.21.0.ebuild 1162 BLAKE2B c06ac0aee7bba734163262d32aedfa2796f5754bd2a0a501e1dab65f93d927249d114e4d132c04729a16ae6bf18826368c1c45692f1fbec896469c23b9d5c139 SHA512 3b0c9e68939163798c77f158252a9631786af48969393cd7e574ad1406793d732590cd4128c50e64d8b39cdb96ad938b4c7f47d9509da51b3d3ef9ac2e3d144a
MISC metadata.xml 531 BLAKE2B eb10cb7f2c2b273d97047f40c83f6340f8cea37d2b5b85ca355d9cb721f6e97b9750a8f32fbeaaae3c2191fd7b308f7892d46f29dd7b304d73afc7c1528e1898 SHA512 bbdb3858328a0952bdcd2fb10b235bde3ae85b9305fd1ecb727f0dff5a4aaaa5b1c193b22f4fcf08a7eb56d599debd12acd58b3ee4910f7af7cf7c9536caf540 MISC metadata.xml 531 BLAKE2B eb10cb7f2c2b273d97047f40c83f6340f8cea37d2b5b85ca355d9cb721f6e97b9750a8f32fbeaaae3c2191fd7b308f7892d46f29dd7b304d73afc7c1528e1898 SHA512 bbdb3858328a0952bdcd2fb10b235bde3ae85b9305fd1ecb727f0dff5a4aaaa5b1c193b22f4fcf08a7eb56d599debd12acd58b3ee4910f7af7cf7c9536caf540

View File

@ -0,0 +1,42 @@
# 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="Unofficial UniFi Protect Python API and CLI"
HOMEPAGE="https://github.com/briis/pyunifiprotect https://pypi.org/project/pyunifiprotect/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/aiofiles[${PYTHON_USEDEP}]
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/aioshutil[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/async-timeout[${PYTHON_USEDEP}]' python3_10)
dev-python/dateparser[${PYTHON_USEDEP}]
dev-python/orjson[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pydantic[${PYTHON_USEDEP}]
dev-python/pyjwt[${PYTHON_USEDEP}]
dev-python/typer[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/packaging[${PYTHON_USEDEP}]
test? (
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