From 96f30f0fc857bf708444380f5faa4c05ef82e468 Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Sun, 3 Nov 2024 19:14:49 +0100 Subject: [PATCH] dev-python/go2rtc-client: new package, add 0.0.1_beta3 Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/4020 Signed-off-by: Andreas Billmeier --- README.md | 4 +- dev-python/go2rtc-client/Manifest | 3 ++ .../go2rtc-client-0.0.1_beta3.ebuild | 43 +++++++++++++++++++ dev-python/go2rtc-client/metadata.xml | 16 +++++++ 4 files changed, 64 insertions(+), 2 deletions(-) create mode 100644 dev-python/go2rtc-client/Manifest create mode 100644 dev-python/go2rtc-client/go2rtc-client-0.0.1_beta3.ebuild create mode 100644 dev-python/go2rtc-client/metadata.xml diff --git a/README.md b/README.md index 60d34bdf43..974cd35512 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 2313 Ebuilds in total, 2299 of them have in total 2336 (43 different) licenses assigned. +There are 2314 Ebuilds in total, 2300 of them have in total 2337 (43 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|1317| -|Apache-2.0|539| +|Apache-2.0|540| |GPL-3|143| |BSD|124| |GPL-2|26| diff --git a/dev-python/go2rtc-client/Manifest b/dev-python/go2rtc-client/Manifest new file mode 100644 index 0000000000..7cb732f758 --- /dev/null +++ b/dev-python/go2rtc-client/Manifest @@ -0,0 +1,3 @@ +DIST go2rtc_client-0.0.1b3.tar.gz 12938 BLAKE2B 32e22dfd75f296c23a1980ce942c57008a47ac43d8980f4bb718155224ec5ea01735c275d24cbf898764fc8636026824b5ca5115c9563bc96cba46ecb81ec71c SHA512 6c23edf49ee45e1b420c1a2406f8873663c6228b0f718928e1cf9a9cad7485d891d8675067e15e6ba0ddfcd71c29aa8ccfe03bc0452334d9994a0abad54d2489 +EBUILD go2rtc-client-0.0.1_beta3.ebuild 1231 BLAKE2B 99c66f229f5e535fb361519bc940d0006a4d1a70afc740f40063d773eed3f00fcf62e22f737bc8c9ee795586ea3a21002ae52c5812794fca2fec474187d15baa SHA512 967e3da937aee27dd4af6daf99405d241930d7aeda3cb31783cd67f6be0d9105ea5d23b95cfb3912326b014e4cc488bef288735200856cccd9fdc3a7f66a4228 +MISC metadata.xml 536 BLAKE2B 8a1db35acb992cc117d2fa792e87329514f885012aec0f8969e8d9e3dd3e53d41bce139f2c5e763b594d65e0e9015ba74583942401f7c52b0a7bdbfd3e40b03e SHA512 25626b7d270c86878ab98bdb13fb40521e689a787d6d6f5ab7b4f46da578e8ea4cc9b5a3046d3d3efe980aa5f638038568da70a080168063fbdbc40ca38e5547 diff --git a/dev-python/go2rtc-client/go2rtc-client-0.0.1_beta3.ebuild b/dev-python/go2rtc-client/go2rtc-client-0.0.1_beta3.ebuild new file mode 100644 index 0000000000..65c2e5cbfc --- /dev/null +++ b/dev-python/go2rtc-client/go2rtc-client-0.0.1_beta3.ebuild @@ -0,0 +1,43 @@ +# 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-0.1.0[${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 + eapply_user +} + +distutils_enable_tests pytest diff --git a/dev-python/go2rtc-client/metadata.xml b/dev-python/go2rtc-client/metadata.xml new file mode 100644 index 0000000000..0d97432618 --- /dev/null +++ b/dev-python/go2rtc-client/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + + go2rtc-client + home-assistant-libs/python-go2rtc-client + + robert@resch.dev + Robert Resch + + +