From e7f869954035e01eaca9e4d149fbd554ec397ae4 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sat, 3 Sep 2022 17:22:41 +0200 Subject: [PATCH] add pyprusalink-1.0.1 --- DOMAINTABLE.md | 1 + README.md | 6 ++-- dev-python/pyprusalink/Manifest | 3 ++ dev-python/pyprusalink/metadata.xml | 15 ++++++++ .../pyprusalink/pyprusalink-1.0.1.ebuild | 36 +++++++++++++++++++ 5 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 dev-python/pyprusalink/Manifest create mode 100644 dev-python/pyprusalink/metadata.xml create mode 100644 dev-python/pyprusalink/pyprusalink-1.0.1.ebuild diff --git a/DOMAINTABLE.md b/DOMAINTABLE.md index ed6a1b9d1..fcd676f08 100644 --- a/DOMAINTABLE.md +++ b/DOMAINTABLE.md @@ -561,6 +561,7 @@ |prosegur|Prosegur Smart Alarms (Cloud Polling)|N|N|Y|2021.8.0| |proxmoxve|poll data from Proxmox VE virtualization environment|N|N|Y|0.103| |proxy|pass another camera’s output through post-processing routines|N|N|Y|0.65| +|prusalink|None|N|N|Y|2022.9.0b3| |ps4|allows you to control a Sony PlayStation 4 console|Y|Y|Y|0.89| |pulseaudio_loopback|whole home audio system based upon PulseAudio|N|N|Y|0.16| |pure_energie|integrates the Pure Energie Monitor device with Home Assistant|N|N|Y|2022.3.0b3| diff --git a/README.md b/README.md index ba7919604..a507474a2 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 **864** 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 **865** USE Flags. A list of all components aka USEFlags is generated with every release [DOMAINTABLE.md](DOMAINTABLE.md) @@ -523,12 +523,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 1865 Ebuilds in total, 1858 of them have in total 1870 (35 different) licenses assigned. +There are 1866 Ebuilds in total, 1859 of them have in total 1871 (35 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|1132| -|Apache-2.0|345| +|Apache-2.0|346| |GPL-3|113| |BSD|104| |LGPL-3|29| diff --git a/dev-python/pyprusalink/Manifest b/dev-python/pyprusalink/Manifest new file mode 100644 index 000000000..324668ca7 --- /dev/null +++ b/dev-python/pyprusalink/Manifest @@ -0,0 +1,3 @@ +DIST pyprusalink-1.0.1.tar.gz 6697 BLAKE2B aaf3238b277459867119e0942cc68f2c51386e05c869dfecbf8c990d46407da474286981950b01e36983495552b901cd2d31aa5522bdc77178f2a2b9c458ab2d SHA512 7d9edaf9b624a3b87d9c4e108f46d1c06f0eff2b3df80cd1d90e290fd56c98516a740f806f64fd8fdfd6daa7a633eb583be9cc8e9fd8434680359a5bae830f92 +EBUILD pyprusalink-1.0.1.ebuild 819 BLAKE2B 392f27ba20e27d940ecc4d959cd515885b0b726badb90d51bf9db5b9fda72726f828187c95a53bf0d7d53f77a1523ae18ae7fd78d81e723a87ae15a9c10ad71e SHA512 7314d412c8e7c6a5dc760eb6fcf92b4afb7d7bcea2f6e110c7af3b6873970cf88839f8e5978e69ff0bd05a2960d13a5401cffb4a02c4ce41bf79885ca915498b +MISC metadata.xml 473 BLAKE2B 7c7306bb212817cc1c0143c553ea4f31b35624983992c407e73e3198ff192662bd3f9c2f28c53f36353754026293aa200ea709418fee9a353d4c6dc6a0e32e94 SHA512 cb3e8a4b2974cfd9393d5029c0657161e358e00d6fe465fef0ec20dec932075f48a7696d5f6f6b66eb5bd6ff74b8a1e8c9f1cfc24c5961c25b2250a19ff137ef diff --git a/dev-python/pyprusalink/metadata.xml b/dev-python/pyprusalink/metadata.xml new file mode 100644 index 000000000..cf719d838 --- /dev/null +++ b/dev-python/pyprusalink/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + pyprusalink + + hello@home-assistant.io + The Home Assistant Authors + + + diff --git a/dev-python/pyprusalink/pyprusalink-1.0.1.ebuild b/dev-python/pyprusalink/pyprusalink-1.0.1.ebuild new file mode 100644 index 000000000..aaeadcf04 --- /dev/null +++ b/dev-python/pyprusalink/pyprusalink-1.0.1.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} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Library to interact with PrusaLink v2" +HOMEPAGE="https://github.nowall.world/home-assistant-libs/pyprusalink https://pypi.org/project/pyprusalink/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +} + +distutils_enable_tests pytest