From 04b846dfe194dc3ae9b63b5c18d2502e8a5276f7 Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Sun, 16 Jun 2024 09:41:55 +0200 Subject: [PATCH] dev-python/uiprotect: new package, add 1.7.2 Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/3499 Signed-off-by: Andreas Billmeier --- README.md | 4 +-- dev-python/uiprotect/Manifest | 3 ++ dev-python/uiprotect/metadata.xml | 16 +++++++++ dev-python/uiprotect/uiprotect-1.7.2.ebuild | 38 +++++++++++++++++++++ 4 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 dev-python/uiprotect/Manifest create mode 100644 dev-python/uiprotect/metadata.xml create mode 100644 dev-python/uiprotect/uiprotect-1.7.2.ebuild diff --git a/README.md b/README.md index 81c542fd2..281545aba 100644 --- a/README.md +++ b/README.md @@ -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| diff --git a/dev-python/uiprotect/Manifest b/dev-python/uiprotect/Manifest new file mode 100644 index 000000000..752b9b089 --- /dev/null +++ b/dev-python/uiprotect/Manifest @@ -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 diff --git a/dev-python/uiprotect/metadata.xml b/dev-python/uiprotect/metadata.xml new file mode 100644 index 000000000..4d9481562 --- /dev/null +++ b/dev-python/uiprotect/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + + uiprotect + uilibs/uiprotect + + ui@koston.org + UI Protect Maintainers + + + diff --git a/dev-python/uiprotect/uiprotect-1.7.2.ebuild b/dev-python/uiprotect/uiprotect-1.7.2.ebuild new file mode 100644 index 000000000..c6f096a49 --- /dev/null +++ b/dev-python/uiprotect/uiprotect-1.7.2.ebuild @@ -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