From 8754bc40c1b44c66b074f8897c252253a2bf071c Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sat, 3 Sep 2022 11:19:06 +0200 Subject: [PATCH] add pescea-1.0.12 --- README.md | 6 ++--- dev-python/pescea/Manifest | 3 +++ dev-python/pescea/metadata.xml | 15 +++++++++++ dev-python/pescea/pescea-1.0.12.ebuild | 36 ++++++++++++++++++++++++++ 4 files changed, 57 insertions(+), 3 deletions(-) create mode 100644 dev-python/pescea/Manifest create mode 100644 dev-python/pescea/metadata.xml create mode 100644 dev-python/pescea/pescea-1.0.12.ebuild diff --git a/README.md b/README.md index 27c83ebac..084a345ed 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ The Ebuild we have since `0.97.0`, as soon as I know that at least one user is a ### `app-misc/homeassistant-full` WARNING: This one currently breaks (caused by shell limitations) emerge with an 'Argument list too long' error. It compiles with a [kernel hack](https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/190#issuecomment-1002). Thanks to @gcampagnoli. -This Ebuild contains USE Flags for (nearly) all components of Home Assistant with external dependencies. Most components compile, but these are too many (for me) to run tests for all of them on a regular schedule. It holds **857** USE Flags. +This Ebuild contains USE Flags for (nearly) all components of Home Assistant with external dependencies. Most components compile, but these are too many (for me) to run tests for all of them on a regular schedule. It holds **858** USE Flags. A list of all components aka USEFlags is generated with every release [DOMAINTABLE.md](DOMAINTABLE.md) @@ -523,13 +523,13 @@ 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 1863 Ebuilds in total, 1856 of them have in total 1868 (35 different) licenses assigned. +There are 1864 Ebuilds in total, 1857 of them have in total 1869 (35 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|1129| |Apache-2.0|342| -|GPL-3|113| +|GPL-3|114| |BSD|106| |LGPL-3|29| |GPL-2|25| diff --git a/dev-python/pescea/Manifest b/dev-python/pescea/Manifest new file mode 100644 index 000000000..9eb60d173 --- /dev/null +++ b/dev-python/pescea/Manifest @@ -0,0 +1,3 @@ +DIST pescea-1.0.12.tar.gz 28432 BLAKE2B a098e58d80ec0e3abb99687ba82dbf985a13ec3719706e882360157863c8d512582aab53678d2f48009d5d5c1093c601d1213d7be6b2f2f1b459470ec5866ad6 SHA512 a6d2af4facac97686985dc4b2ffa9adc07f6be7e2bf633834b35ba7e9b4ee61a2ab73d1872ede1b1b237cf8ae6256441ea06a26de4b617951638f51e8469d991 +EBUILD pescea-1.0.12.ebuild 821 BLAKE2B ca2120acc60bcc625f6b5522e0b2c3d3510b274f72621357105ecddf51d9a2b941ab7a3b1a3a00706ef83d005b2276721ac7d16c6ca8e13f75e14f0019d81086 SHA512 37ccb76dd4532e056a7ceafa10f5cf873139b5f8be4cecf27a0643e01acab780642b6766112805ddfe0cefe1e1ed6ffc96c0af0d0702dd000adda9c1daf47bba +MISC metadata.xml 449 BLAKE2B fd88080c9d860f69a78a55e80c9b9e1aac481d3c5b688d922d5f283db29e1c0539404904dab92e4a489cf3dba88f8bf6d880170b9834cdbcc57920458d66da7f SHA512 c1b2231e3b9c8eed20d2d1848d25ae2bbd74786f716bab02820ee62ac62256037752dc7905d09fbe6dda6858c3735f4d3188174739444a2719436dab02e83b59 diff --git a/dev-python/pescea/metadata.xml b/dev-python/pescea/metadata.xml new file mode 100644 index 000000000..2427e43f1 --- /dev/null +++ b/dev-python/pescea/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + pescea + + laz.davila@gmail.com + Laz Davila + + + diff --git a/dev-python/pescea/pescea-1.0.12.ebuild b/dev-python/pescea/pescea-1.0.12.ebuild new file mode 100644 index 000000000..542ce81ce --- /dev/null +++ b/dev-python/pescea/pescea-1.0.12.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="A python interface to the Escea fireplace controllers" +HOMEPAGE="https://github.com/lazdavila/pescea https://pypi.org/project/pescea/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND="dev-python/async-timeout[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +} + +distutils_enable_tests pytest