dev-python/go2rtc-client: new package, add 0.0.1_beta3

Closes: #4020
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-11-03 19:14:49 +01:00
parent 3109026d91
commit 96f30f0fc8
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 64 additions and 2 deletions

View File

@ -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|

View File

@ -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

View File

@ -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

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">go2rtc-client</remote-id>
<remote-id type="github">home-assistant-libs/python-go2rtc-client</remote-id>
<maintainer status="unknown">
<email>robert@resch.dev</email>
<name>Robert Resch</name>
</maintainer>
</upstream>
</pkgmetadata>