Skip to content

Commit

Permalink
dev-python/go2rtc-client: new package, add 0.0.1_beta3
Browse files Browse the repository at this point in the history
  • Loading branch information
onkelbeh committed Nov 3, 2024
1 parent 3109026 commit 96f30f0
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down
3 changes: 3 additions & 0 deletions dev-python/go2rtc-client/Manifest
Original file line number Diff line number Diff line change
@@ -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
43 changes: 43 additions & 0 deletions dev-python/go2rtc-client/go2rtc-client-0.0.1_beta3.ebuild
Original file line number Diff line number Diff line change
@@ -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
16 changes: 16 additions & 0 deletions dev-python/go2rtc-client/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</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>[email protected]</email>
<name>Robert Resch</name>
</maintainer>
</upstream>
</pkgmetadata>

0 comments on commit 96f30f0

Please sign in to comment.