dev-python/uiprotect: new package, add 1.7.2

Closes: #3499
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-06-16 09:41:55 +02:00
parent 46fa43a916
commit 04b846dfe1
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 59 additions and 2 deletions

View File

@ -606,11 +606,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 1877 Ebuilds in total, 1866 of them have in total 1889 (42 different) licenses assigned.
There are 1878 Ebuilds in total, 1867 of them have in total 1890 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1076|
|MIT|1077|
|Apache-2.0|419|
|GPL-3|109|
|BSD|109|

View File

@ -0,0 +1,3 @@
DIST uiprotect-1.7.2.tar.gz 107530 BLAKE2B 8a7262ec3417edaf15cf2045dc491dbeb43a9da7b24bdd880fd92b8868ffcf7f449025e1cf2c9394cd152f26dccaebcafed0b6794a4bbe49b264af0390979439 SHA512 3543cb1fd1f5c367f735ec042f9b6ebc8087a57aa2800694c2a773263ec6352dd23230e3217d4e6b08cd962ce8b5b9a6c45ea229c45a39fb88b30093be917b55
EBUILD uiprotect-1.7.2.ebuild 1101 BLAKE2B f07c4cb0804e9c436821d076b1d8a48969b252142470f697b2a47663ed1a3d60dcbdebe1247368aa34d0337eee819fc222567f9deaadb0aeb0813b34a4e245f1 SHA512 b736f3d0bf9cd5db4773ebf80484329865512d40df05c384e83bb470c681ee2cb4ef062a5c7ef0d0fe1318e7aae1dd1d52ffce26b55ca79fec5c6494960ff882
MISC metadata.xml 515 BLAKE2B 84b36fea4328c0f0926b7b5db23ea2adb2802f65abd612e0961e6585c9fc303aff2fbda4a593539ec2e3f260a2ee758a7bcbd0b30b209eaa902ad15b40551b04 SHA512 5365635b6e659c1ef74991d4e29391b6cbbcb524449a8fde70ae6933ecbd783b5c919f8e45087d261f102df2bd10a1395c2b8057389885f757ddd9e65f256832

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">uiprotect</remote-id>
<remote-id type="github">uilibs/uiprotect</remote-id>
<maintainer status="unknown">
<email>ui@koston.org</email>
<name>UI Protect Maintainers</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,38 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 pypi
DESCRIPTION="Python API for Unifi Protect (Unofficial)"
HOMEPAGE="https://github.com/uilibs/uiprotect https://pypi.org/project/uiprotect/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/rich[${PYTHON_USEDEP}]
dev-python/aiofiles[${PYTHON_USEDEP}]
>=dev-python/aiohttp-3.9.0[${PYTHON_USEDEP}]
>=dev-python/aioshutil-1.3[${PYTHON_USEDEP}]
>=dev-python/dateparser-1.1.0[${PYTHON_USEDEP}]
>=dev-python/orjson-3.9.15[${PYTHON_USEDEP}]
>=dev-python/pillow-10.2.0[${PYTHON_USEDEP}]
>=dev-python/platformdirs-4.2.2[${PYTHON_USEDEP}]
>=dev-python/pydantic-1.10.13[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/packaging[${PYTHON_USEDEP}]
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest