From 9fdeb168f35fa6953f8108646ee02387bec766cd Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Thu, 20 Feb 2025 09:47:23 +0100 Subject: [PATCH] dev-python/go2rtc-client: add 0.1.1 Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/4167 Signed-off-by: Andreas Billmeier --- README.md | 4 +- dev-python/go2rtc-client/Manifest | 2 + .../go2rtc-client/go2rtc-client-0.1.1.ebuild | 44 +++++++++++++++++++ 3 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 dev-python/go2rtc-client/go2rtc-client-0.1.1.ebuild diff --git a/README.md b/README.md index cce82eb9f..509949715 100644 --- a/README.md +++ b/README.md @@ -606,12 +606,12 @@ 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 2370 Ebuilds in total, 2356 of them have in total 2399 (43 different) licenses assigned. +There are 2371 Ebuilds in total, 2357 of them have in total 2400 (43 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|1347| -|Apache-2.0|565| +|Apache-2.0|566| |GPL-3|144| |BSD|125| |GPL-2|27| diff --git a/dev-python/go2rtc-client/Manifest b/dev-python/go2rtc-client/Manifest index b0685651c..560901039 100644 --- a/dev-python/go2rtc-client/Manifest +++ b/dev-python/go2rtc-client/Manifest @@ -1,3 +1,5 @@ DIST go2rtc_client-0.1.0.tar.gz 13010 BLAKE2B ba7668878bdf8d839b1f4455214da130bfeb02a8747f18e70853a526b8c778218f0091a4efc28c56f1a137ecdfdef8f36572eb3d8a976b2a88206deee23b0715 SHA512 cb482c2144fee91176d19e6ba203e1838c2ce9d0a214fdc2181e3cd57b2e0d2ce1208a6e0c9b524c114128b76434c7fe140ff1e7ba9ce0a7b0d274a8da05d10a +DIST go2rtc_client-0.1.1.tar.gz 12997 BLAKE2B 89bd841248c204f4c295a2aaa94f91913d7e014e6a65be781e43e2f161fc777fadbde94dc69e27dfc5151912f86da6b087f0a64c7c3bd806f5439c4b79dba618 SHA512 186a5a85e87c53c8712469b442ac612ce96699d6fd67b43356d918f37475ef54b645cbf90df98d6f88de5f5adea87a249d9c9fff53f7c126cd79de55a029c80e EBUILD go2rtc-client-0.1.0-r1.ebuild 1293 BLAKE2B 301162e778ff0bd0906b831a70f5168928750448aba6c323336e65cba436aa030a1bbc2efac63c78ccc56c43ec2013181d01decfa5b50f28084eb62ed077bc68 SHA512 2b5e2080c19ff5786d7dbc158dadde4ab762a239d55827c5d8531ee3c17988f014362b55175036de366c17777134fda0423c5330df8b47e3f4e0d3a6193f7101 +EBUILD go2rtc-client-0.1.1.ebuild 1293 BLAKE2B 301162e778ff0bd0906b831a70f5168928750448aba6c323336e65cba436aa030a1bbc2efac63c78ccc56c43ec2013181d01decfa5b50f28084eb62ed077bc68 SHA512 2b5e2080c19ff5786d7dbc158dadde4ab762a239d55827c5d8531ee3c17988f014362b55175036de366c17777134fda0423c5330df8b47e3f4e0d3a6193f7101 MISC metadata.xml 536 BLAKE2B 8a1db35acb992cc117d2fa792e87329514f885012aec0f8969e8d9e3dd3e53d41bce139f2c5e763b594d65e0e9015ba74583942401f7c52b0a7bdbfd3e40b03e SHA512 25626b7d270c86878ab98bdb13fb40521e689a787d6d6f5ab7b4f46da578e8ea4cc9b5a3046d3d3efe980aa5f638038568da70a080168063fbdbc40ca38e5547 diff --git a/dev-python/go2rtc-client/go2rtc-client-0.1.1.ebuild b/dev-python/go2rtc-client/go2rtc-client-0.1.1.ebuild new file mode 100644 index 000000000..0fd0759b4 --- /dev/null +++ b/dev-python/go2rtc-client/go2rtc-client-0.1.1.ebuild @@ -0,0 +1,44 @@ +# 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=hatchling +inherit distutils-r1 pypi + +DESCRIPTION="Python client for go2rtc" +HOMEPAGE="https://github.com/home-assistant-libs/python-go2rtc-client/ https://pypi.org/project/go2rtc-client/" +MY_P=${P/_beta/b} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/awesomeversion[${PYTHON_USEDEP}] + dev-python/mashumaro[${PYTHON_USEDEP}] + dev-python/orjson[${PYTHON_USEDEP}] + dev-python/webrtc-models[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/aioresponses[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + )" + +src_prepare() { + sed 's/aiohttp~=3.10/aiohttp/g' -i pyproject.toml || die + sed 's/awesomeversion~=24.6/awesomeversion/g' -i pyproject.toml || die + sed 's/mashumaro~=3.13/mashumaro/g' -i pyproject.toml || die + sed 's/orjson~=3.10/orjson/g' -i pyproject.toml || die + sed 's/webrtc-models~=0.1/webrtc-models/g' -i pyproject.toml || die + eapply_user +} + +distutils_enable_tests pytest