dev-python/refoss-ha: new package, add 1.2.0

Closes: #2636
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-01-04 12:52:43 +01:00
parent df248277e7
commit f2bfb5971a
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 44 additions and 2 deletions

View File

@ -612,11 +612,11 @@ 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 1616 Ebuilds in total, 1605 of them have in total 1620 (42 different) licenses assigned.
There are 1617 Ebuilds in total, 1606 of them have in total 1621 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|928|
|MIT|929|
|Apache-2.0|346|
|GPL-3|102|
|BSD|89|

View File

@ -0,0 +1,3 @@
DIST refoss_ha-1.2.0-py3-none-any.whl 8705 BLAKE2B 6cdccd0ac1c73f9cf1a67e1ef14c60f1d28ffe3589661e3462c81bcb947375418394a162cad048eb9a1f2987f62e2fb961c5d19b045f3b8b61d41aa21daf68d3 SHA512 8a1b08184e07d36dbd708f2ee2624ad6fe2114833ca3de3108757e4d222e1dc59a6a9af5e0354a6e1b73c270cafb05d59abe84776f9597dee7c7ee8725788830
EBUILD refoss-ha-1.2.0.ebuild 587 BLAKE2B 0310f844f8af0df27043a8a3e74cbf4ae85b78a913ee4dab57aa7e009228f98564c6aae81a6625efad23adcf1004239ce86b27167f34fe78faa7d5c778b3f7d7 SHA512 3943fef9957c3e8ce2d669585adf61dfacfdcc64e53c33ea43ecfa521a89c4e871cc260d9a8fdf5841a345e4fa0e72907a461ce16c8e5521354a8e72a4693aa3
MISC metadata.xml 506 BLAKE2B ff9a6b4bad3fe9cb13b1297596f6dc01563c3e1d4908ff2dbfba211cc47b388b0edc715f253dccdf4d135836301f976ba8f6f5ebbf2fb41d1d48e7c514c1dc45 SHA512 167bcdaf4189dd582c0d17896785a3ddf1d76f61f6844ab909d13754a579a583db6ae91565764e086de415f6f2c2e567fb1d8db80b21cda20880a70411e1c3ea

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">refoss-ha</remote-id>
<remote-id type="github">ashionky/refoss_ha</remote-id>
<maintainer status="unknown">
<email>495519020@qq.com</email>
<name>ashionky</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,23 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
SRC_URI="$(pypi_wheel_url)"
S=${WORKDIR}
DESCRIPTION="Refoss to support for Home Assistant"
HOMEPAGE="https://github.com/ashionky/refoss_ha https://pypi.org/project/refoss-ha/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
python_compile() {
distutils_wheel_install "${BUILD_DIR}/install" "${DISTDIR}/${P/-/_}-py3-none-any.whl"
}