Skip to content

Commit 7e2c261

Browse files
committed
dev-python/pyunifiprotect: add 4.21.0
Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/2404 Signed-off-by: Andreas Billmeier <[email protected]>
1 parent d2d430c commit 7e2c261

File tree

3 files changed

+46
-2
lines changed

3 files changed

+46
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,11 +612,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
612612

613613
## Licenses
614614
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.
615-
There are 1650 Ebuilds in total, 1639 of them have in total 1659 (43 different) licenses assigned.
615+
There are 1651 Ebuilds in total, 1640 of them have in total 1660 (43 different) licenses assigned.
616616

617617
|License| Ebuilds using it|
618618
|-------|-----|
619-
|MIT|961|
619+
|MIT|962|
620620
|Apache-2.0|341|
621621
|GPL-3|95|
622622
|BSD|95|

dev-python/pyunifiprotect/Manifest

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
DIST pyunifiprotect-4.20.0.tar.gz 293296 BLAKE2B 2d42bcc099f1076f4e1956161a156475cd5275e4bffbe78f36e0c0accdc57e773408a0024602a2035a67b2047ee11d5fa0afebd1607b826717d7d40bd017534f SHA512 a205bc97c1ea4baa180fd1145d9599c7d9967ac0536ee8b75e3162010b29fa96e108728b5daacf05e13323c3868391d9607074f338ee447e98f6b7f1c71b3da7
2+
DIST pyunifiprotect-4.21.0.tar.gz 293759 BLAKE2B f3e61e566fcdef98c553c9d355f22cf563bb2057a4a79d3e40a1bb88c21b153c5fc9a5fdf3aadf272652bfa3582c3450057262cc42f789586a2144eb6680cc2c SHA512 4ef6439d6823f3aa1c4372e3b46b0df2d3c643cf17c66e0624eac0543dffc96cd9333e3ece9df84e575bbd935a3d6a47e78c5bd2fcf7cdb8afb17808d0b8d1d3
23
EBUILD pyunifiprotect-4.20.0.ebuild 1126 BLAKE2B a9a89731916911581c358dbf8c645b8f301dc439f7ed12e7be83ac03525077e512e95575fb6f39671f9798f5af24fd51ed6915d7944d87339778a57288ff4379 SHA512 595beaa75586ed517cade9522bf24e361e1434d65894d3e0298d19990ecebacc646bd45f48c2d9b0d2300e4fe59a4fc3c3eca63591e9e39c0f6e32916556a910
4+
EBUILD pyunifiprotect-4.21.0.ebuild 1162 BLAKE2B c06ac0aee7bba734163262d32aedfa2796f5754bd2a0a501e1dab65f93d927249d114e4d132c04729a16ae6bf18826368c1c45692f1fbec896469c23b9d5c139 SHA512 3b0c9e68939163798c77f158252a9631786af48969393cd7e574ad1406793d732590cd4128c50e64d8b39cdb96ad938b4c7f47d9509da51b3d3ef9ac2e3d144a
35
MISC metadata.xml 531 BLAKE2B eb10cb7f2c2b273d97047f40c83f6340f8cea37d2b5b85ca355d9cb721f6e97b9750a8f32fbeaaae3c2191fd7b308f7892d46f29dd7b304d73afc7c1528e1898 SHA512 bbdb3858328a0952bdcd2fb10b235bde3ae85b9305fd1ecb727f0dff5a4aaaa5b1c193b22f4fcf08a7eb56d599debd12acd58b3ee4910f7af7cf7c9536caf540
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Copyright 1999-2023 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
PYTHON_COMPAT=( python3_{10..12} )
7+
DISTUTILS_USE_PEP517=setuptools
8+
inherit distutils-r1 pypi
9+
DESCRIPTION="Unofficial UniFi Protect Python API and CLI"
10+
HOMEPAGE="https://github.com/briis/pyunifiprotect https://pypi.org/project/pyunifiprotect/"
11+
12+
LICENSE="MIT"
13+
SLOT="0"
14+
KEYWORDS="amd64 arm arm64 x86"
15+
IUSE="test"
16+
RESTRICT="!test? ( test )"
17+
18+
DOCS="README.md"
19+
20+
RDEPEND="dev-python/aiofiles[${PYTHON_USEDEP}]
21+
dev-python/aiohttp[${PYTHON_USEDEP}]
22+
dev-python/aioshutil[${PYTHON_USEDEP}]
23+
$(python_gen_cond_dep 'dev-python/async-timeout[${PYTHON_USEDEP}]' python3_10)
24+
dev-python/dateparser[${PYTHON_USEDEP}]
25+
dev-python/orjson[${PYTHON_USEDEP}]
26+
dev-python/pillow[${PYTHON_USEDEP}]
27+
dev-python/pydantic[${PYTHON_USEDEP}]
28+
dev-python/pyjwt[${PYTHON_USEDEP}]
29+
dev-python/typer[${PYTHON_USEDEP}]"
30+
BDEPEND="
31+
dev-python/packaging[${PYTHON_USEDEP}]
32+
test? (
33+
dev-python/pytest[${PYTHON_USEDEP}]
34+
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
35+
dev-python/pytest-cov[${PYTHON_USEDEP}]
36+
)"
37+
38+
python_test() {
39+
py.test -v -v || die
40+
}
41+
42+
distutils_enable_tests pytest

0 commit comments

Comments
 (0)