dev-python/pyfibaro: new package, add 0.6.8

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-02-28 19:58:26 +01:00 committed by Andreas Billmeier
parent d9f280bf24
commit 0299bf9bc8
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 50 additions and 2 deletions

View File

@ -573,11 +573,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 1746 Ebuilds in total, 1735 of them have in total 1739 (34 different) licenses assigned.
There are 1747 Ebuilds in total, 1736 of them have in total 1740 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1019|
|MIT|1020|
|Apache-2.0|376|
|GPL-3|107|
|BSD|91|

View File

@ -0,0 +1,3 @@
DIST pyfibaro-0.6.8.tar.gz 10808 BLAKE2B 51b617cb2ffc25feebfdc007131d0fff525f98364f4ba9935884db58bad5e7bb35f970d23c354fbe5df16d5407061a07fc2dfced783a8159477c2995d39b3327 SHA512 a6708f4c13087dcd0c1d4bfb3e467eed468cb51e5e2895b485a3aba793b15c6c690cb3e496951315153b723fccc515b50141a005db7d0e2f5168c73012823ecf
EBUILD pyfibaro-0.6.8.ebuild 775 BLAKE2B 64c841fe61705f8ce2dac6ec07f63d96ae7045c77aabb0cb29aab09ee4869730a8980fff5423b82fe2808e96d8b9ee677f4ba0f2f77ab846c0122e09ed3bc986 SHA512 5aece4d0a58d6e8393513b52a79aad3c694bf31fec966ac69d5804272dedb3ae09de1e902938126b1731b389069f21926aaeb255e49a4c81ab18a7b1e08a4896
MISC metadata.xml 386 BLAKE2B 52b48fa6342e4ae8781f654f258fa0be9f9b1d39c0addb350670b3908958ddbb624f95878930076a6243c9cdd2ddc4d8ed6135bf3dc1a893da07a6e45e3df58e SHA512 6a6913c1fcd32da6b0ad8737b9c489863226121c6db93e17cfa94d5db73e0a517a52f3672481cb00836c254ad3d5a63018a3c21e88806fd8bd0fa7c3bde3eb80

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">pyfibaro</remote-id>
<remote-id type="github">rappenze/pyfibaro</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,33 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Simple API to access fibaro home center from any Python 3 script. Designed for Home Assistant (but not only)"
HOMEPAGE="https://github.com/rappenze/pyfibaro https://pypi.org/project/pyfibaro/"
SRC_URI="$(pypi_sdist_url)"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest