From 0299bf9bc8a3fad6f6085972d4fa13960ebe75e2 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Tue, 28 Feb 2023 19:58:26 +0100 Subject: [PATCH] dev-python/pyfibaro: new package, add 0.6.8 Signed-off-by: Andreas Billmeier --- README.md | 4 +-- dev-python/pyfibaro/Manifest | 3 +++ dev-python/pyfibaro/metadata.xml | 12 +++++++++ dev-python/pyfibaro/pyfibaro-0.6.8.ebuild | 33 +++++++++++++++++++++++ 4 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 dev-python/pyfibaro/Manifest create mode 100644 dev-python/pyfibaro/metadata.xml create mode 100644 dev-python/pyfibaro/pyfibaro-0.6.8.ebuild diff --git a/README.md b/README.md index 33de064b1..6daf908f0 100644 --- a/README.md +++ b/README.md @@ -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| diff --git a/dev-python/pyfibaro/Manifest b/dev-python/pyfibaro/Manifest new file mode 100644 index 000000000..69e906ebf --- /dev/null +++ b/dev-python/pyfibaro/Manifest @@ -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 diff --git a/dev-python/pyfibaro/metadata.xml b/dev-python/pyfibaro/metadata.xml new file mode 100644 index 000000000..d09bcad19 --- /dev/null +++ b/dev-python/pyfibaro/metadata.xml @@ -0,0 +1,12 @@ + + + + + b@edevau.net + Andreas Billmeier + + + pyfibaro + rappenze/pyfibaro + + diff --git a/dev-python/pyfibaro/pyfibaro-0.6.8.ebuild b/dev-python/pyfibaro/pyfibaro-0.6.8.ebuild new file mode 100644 index 000000000..76bba806f --- /dev/null +++ b/dev-python/pyfibaro/pyfibaro-0.6.8.ebuild @@ -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