add aioecowitt-2022.8.3

This commit is contained in:
Andreas Billmeier 2022-09-03 11:15:09 +02:00 committed by Andreas Billmeier
parent b02759c65b
commit 11c0538b6b
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 64 additions and 4 deletions

View File

@ -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 **856** 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 **857** 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 1861 Ebuilds in total, 1854 of them have in total 1866 (35 different) licenses assigned.
There are 1863 Ebuilds in total, 1856 of them have in total 1868 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1128|
|Apache-2.0|341|
|MIT|1129|
|Apache-2.0|342|
|GPL-3|113|
|BSD|106|
|LGPL-3|29|

View File

@ -0,0 +1,3 @@
DIST aioecowitt-2022.8.3.tar.gz 15741 BLAKE2B f5959d877cd4ba3694ee9e0639690bd0d239ba8520b4de6f95677db4a220553c7507baa3387dde6d91b7c693b412ac1107d9f713e8840fbb53ed1ac95667e398 SHA512 97eaabc659f05269cfb82bdfa80b8649832a3dad57f81cf1b32dddde3ad581a7b905e4cbcb4348b7bbcf16000ececfc4e446f9028ad743cd71613f1f5987a37a
EBUILD aioecowitt-2022.8.3.ebuild 968 BLAKE2B 8397a60a93d92571b3df9875918ebb63c91f74754528acf378424c17cdd28ce114a250cbae479b1c8154e272e8ea6873695c78a6bfe2702ea972d80b5e25ed40 SHA512 57220fb8b7adcb5824a61b4e2d5be36e73a514143fb7507dadcd43d44d1bd54fd3436e130dfe14af3dc0ce531f3326a8bc37575308281e4312a0962065dd2e25
MISC metadata.xml 465 BLAKE2B 568aa7dc844725edde876ea3678f47fdb3a407b8a4b3632e6136f0945437e49182eaa6b34e5c70239efc1c83e6338e27ce5ce81409cc079ce3f3f85d1be08de2 SHA512 356d53c50aa8f6a46a22b187d5018b14884b3f8c7cad52388f29dc1a9414b9817920b1518951cb125f48e01e97cb8ea4ae0520402114c5eebb1eb0adc23c299f

View File

@ -0,0 +1,42 @@
# 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="Python wrapper for EcoWitt Protocol"
HOMEPAGE="https://github.com/home-assistant-libs/aioecowitt https://pypi.org/project/aioecowitt/"
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}]
>=dev-python/meteocalc-1.1.0[${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
}
src_prepare() {
# fix typo https://github.com/home-assistant-libs/aioecowitt/pull/10
sed -i "s/test/tests/g" -i setup.py || die
eapply_user
}
distutils_enable_tests pytest

View File

@ -0,0 +1,15 @@
<?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">aioecowitt</remote-id>
<maintainer status="unknown">
<email>hello@home-assistant.io</email>
<name>Home Assistant Team</name>
</maintainer>
</upstream>
</pkgmetadata>