add python-homewizard-energy-1.0.3

This commit is contained in:
Andreas Billmeier 2022-05-26 15:00:17 +02:00 committed by Andreas Billmeier
parent 1e84c03552
commit faf7e6311f
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 53 additions and 2 deletions

View File

@ -524,12 +524,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 1730 Ebuilds in total, 1723 of them have in total 1730 (35 different) licenses assigned.
There are 1731 Ebuilds in total, 1724 of them have in total 1731 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1058|
|Apache-2.0|305|
|Apache-2.0|306|
|GPL-3|108|
|BSD|96|
|LGPL-3|28|

View File

@ -0,0 +1,3 @@
DIST python-homewizard-energy-1.0.3.tar.gz 8989 BLAKE2B d4ea55579834351a90dd1437e69de64569ae5843ed25c1b433cf6c980a52c8d3f59fe578545beffd2658e5c5720d8f7330c6de7e62ed3588f2cd06326f237301 SHA512 7c209256965f6880ff3feadf4f56867e1519bf012e4e8daae94af3e11a67b193334dde860f604f919a1147ec5d0e3c077792d0ee5beff139d0bb9e836326497a
EBUILD python-homewizard-energy-1.0.3.ebuild 921 BLAKE2B 53815c392694a448f718c4633c96213908a439560809fb5379172e9b6fb89cc1e3a4b15991d9c86ffea80e4ceeac65cdabd60bc8065887fd5406ba7a2e405184 SHA512 7f73ea19c16b9746d5387ba188ce625396a8990ae6baecb4b2e7c50869bfbbd196dd44d6eeed613d5d3f4427b04d88439c6be273bb41b3656a25dc325dbb7ea4
MISC metadata.xml 343 BLAKE2B 10d676a5ac722662bef0ac2bac633d0582f567bafd951fd35ab96ff05541b917bd335049b994eb6984c8fdd42090a16ac0afb442aaf17c6d26ad0f59981b03be SHA512 de0a9cf3ef8976a69a50ae6cf052a1ea32fb7276d1c45974de8ba4229988a605c8250d8dc238e4a00d0423c854ab562718b8f83cf13497e0163d8097e39784c4

View File

@ -0,0 +1,11 @@
<?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">python-homewizard-energy</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,37 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Asynchronous Python client for the HomeWizard Energy"
HOMEPAGE="https://github.com/dcsbl/python-homewizard-energy https://pypi.org/project/python-homewizard-energy/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
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}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/aresponses[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest