dev-python/home-assistant-chip-clusters: new package, add 2023.10.2

Closes: #790
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-12-16 10:48:44 +01:00 committed by Andreas Billmeier
parent fa0d1a4f2d
commit dc24b313d2
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 48 additions and 4 deletions

View File

@ -612,12 +612,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 1770 Ebuilds in total, 1759 of them have in total 1780 (43 different) licenses assigned.
There are 1769 Ebuilds in total, 1758 of them have in total 1779 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1032|
|Apache-2.0|373|
|Apache-2.0|372|
|GPL-3|106|
|BSD|101|
|GPL-2|24|
@ -660,9 +660,9 @@ There are 1770 Ebuilds in total, 1759 of them have in total 1780 (43 different)
|GPL-2+|1|
|GPL-2-with-linking-exception|1|
(Last counted: 13/12/2023)
(Last counted: 16/12/2023)
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
A big thanks goes to Iris for reviewing this README.
Last updated: 13/12/2023
Last updated: 16/12/2023

View File

@ -0,0 +1,3 @@
DIST home_assistant_chip_clusters-2023.10.2-py3-none-any.whl 122185 BLAKE2B 6e40446e4da2de953aec6391ea2220e93cee48d84182880dc583579bb0e5d2f7940ddf344b007669fd540ed87c5965baacc1ba8b92f142bb10c795e6a48e6341 SHA512 27f566b89f1e18b7e1edc8f8898c87e8b600669d42b8b4e6f230fa76f1bcbff693ef6459f5645de5aefedc705716e4663bfdae503a8d757003464cd6d8274fef
EBUILD home-assistant-chip-clusters-2023.10.2.ebuild 799 BLAKE2B 9b3aa95fe85895a97a8d98f9116e8f300880273310211c3e786fd367eeb3994f247ac143a77070d852820536a2354e13915923bdb20ae03e31eea43f94bdda21 SHA512 240a28f7ca75c0384fe410f9f0171ff7935147a79836620217f84416a84ad57d5981b2d3ca1e0d37e8752506454a96582de1a130d7317890e4b1af6be2621b66
MISC metadata.xml 417 BLAKE2B bbbb557b5121cf6a63d6ebef83663a913e960b67832c10e6e1effc7b008b02cc72ef07c160fc9a265bee24b657444eca022f89b8aa36ee47e6103bf9c7d1ec60 SHA512 c1ca4152604c4d874bb2a3966ffbb46e562d06d1c0454603a3de82040253686db4714db602cb425a22d31cbc4f67b1f35b89a2b7d4b98e3feae5778df8382199

View File

@ -0,0 +1,29 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=standalone
inherit distutils-r1 pypi
DESCRIPTION="Python-base APIs and tools for CHIP."
HOMEPAGE="https://github.com/project-chip/connectedhomeip https://pypi.org/project/home-assistant-chip-clusters/"
SRC_URI="$(pypi_wheel_url)"
S=${WORKDIR}
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
RDEPEND="
~dev-python/unicode-rbnf-1.0.0[${PYTHON_USEDEP}]
~dev-python/aenum-3.1.15[${PYTHON_USEDEP}]
~dev-python/aiorun-2023.7.2[${PYTHON_USEDEP}]
~dev-python/dacite-1.8.1[${PYTHON_USEDEP}]
"
python_compile() {
distutils_wheel_install "${BUILD_DIR}/install" \
"${DISTDIR}/${PN//-/_}-${PV}-py3-none-any.whl"
}

View File

@ -0,0 +1,12 @@
<?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">home-assistant-chip-clusters</remote-id>
<remote-id type="github">project-chip/connectedhomeip</remote-id>
</upstream>
</pkgmetadata>