From d6fabed0ed1034721632e4e5d3dd187b4264faf0 Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Fri, 18 Oct 2024 16:36:54 +0200 Subject: [PATCH] dev-python/pywmspro: new package, add 0.2.1 Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/3965 Signed-off-by: Andreas Billmeier --- README.md | 8 ++++---- dev-python/pywmspro/Manifest | 3 +++ dev-python/pywmspro/metadata.xml | 16 ++++++++++++++++ dev-python/pywmspro/pywmspro-0.2.1.ebuild | 23 +++++++++++++++++++++++ 4 files changed, 46 insertions(+), 4 deletions(-) create mode 100644 dev-python/pywmspro/Manifest create mode 100644 dev-python/pywmspro/metadata.xml create mode 100644 dev-python/pywmspro/pywmspro-0.2.1.ebuild diff --git a/README.md b/README.md index c2ba50538..da07d1fd8 100644 --- a/README.md +++ b/README.md @@ -606,12 +606,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 2015 Ebuilds in total, 2004 of them have in total 2032 (42 different) licenses assigned. +There are 2016 Ebuilds in total, 2005 of them have in total 2033 (42 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|1165| -|Apache-2.0|449| +|Apache-2.0|450| |GPL-3|119| |BSD|113| |GPL-2|25| @@ -653,9 +653,9 @@ There are 2015 Ebuilds in total, 2004 of them have in total 2032 (42 different) |GPL-2+|1| |GPL-2-with-linking-exception|1| -(Last counted: 01/10/2024) +(Last counted: 18/10/2024) 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: 01/10/2024 +Last updated: 18/10/2024 diff --git a/dev-python/pywmspro/Manifest b/dev-python/pywmspro/Manifest new file mode 100644 index 000000000..029c0613e --- /dev/null +++ b/dev-python/pywmspro/Manifest @@ -0,0 +1,3 @@ +DIST pywmspro-0.2.1.tar.gz 8546 BLAKE2B 23637fcaf90180f6ad47d4303118d9de3d880991317e95d7adadbdf32c69ed656d6fa0bab966d5135e2843a4c0a605dc95667c5ce7fafbc5bea9476bb4c0bf1d SHA512 a890c0ff0445c56a1a9af52f81ad0e553880de7131157694f23652650f8bb9419603555d8d0e14062f8f326550d3c1a25b045d72ac6febec8eefa33be180381e +EBUILD pywmspro-0.2.1.ebuild 548 BLAKE2B 62f3f93953a9aaf133cc1015622c0b7d41143120b917a0e8b79b878649b6903438baff78c2c1ec11127f6fa29a874e199c44a7ab9bf049176f1054e995be0804 SHA512 922d8b0dc26a79e4cdaa5a10d9986818d9b448afaac5cf5ce1b29599cf01b5b49ca67eb332daf0a37ee79db4191073fbfa149d251cd2b6c0001485fe34f82227 +MISC metadata.xml 513 BLAKE2B 8931d59470ba0e1c84376379241bb0bd160eca890c9eb19fec53d7061d750e4bca9ab36e512e0fe14b9b2ad4176dceebefcb56594a52d40f685da59b47260be1 SHA512 a1d00f7448b787deb73833ba9630d995357e862a36ee7558b911fbc7ebeedec05ad09f56869cf4ab4bba2e39083b684fcb29f48002a615cdef1798d0dd7b519d diff --git a/dev-python/pywmspro/metadata.xml b/dev-python/pywmspro/metadata.xml new file mode 100644 index 000000000..0c90e5f94 --- /dev/null +++ b/dev-python/pywmspro/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + + pywmspro + mback2k/pywmspro + + info@marc-hoersken.de + Marc Hoersken + + + diff --git a/dev-python/pywmspro/pywmspro-0.2.1.ebuild b/dev-python/pywmspro/pywmspro-0.2.1.ebuild new file mode 100644 index 000000000..dd9a41acb --- /dev/null +++ b/dev-python/pywmspro/pywmspro-0.2.1.ebuild @@ -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_{11..13} ) +DISTUTILS_USE_PEP517=poetry +inherit distutils-r1 pypi + +DESCRIPTION="Python library for WMS WebControl pro API" +HOMEPAGE="https://github.com/mback2k/pywmspro https://pypi.org/project/pywmspro/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND=">=dev-python/aiohttp-3.10.3[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest