dev-python/ha-iotawattpy: new package, add 0.1.1

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-10-22 10:39:46 +02:00 committed by Andreas Billmeier
parent 6b80875ed9
commit fb871d20a2
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 53 additions and 2 deletions

View File

@ -576,13 +576,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 1809 Ebuilds in total, 1798 of them have in total 1815 (40 different) licenses assigned.
There are 1810 Ebuilds in total, 1799 of them have in total 1816 (40 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1054|
|Apache-2.0|373|
|GPL-3|115|
|GPL-3|116|
|BSD|102|
|GPL-2|26|
|LGPL-3|24|

View File

@ -0,0 +1,3 @@
DIST ha-iotawattpy-0.1.1.tar.gz 18298 BLAKE2B fa086455450f5d371863f1357897ca2b98e8d95aea6b2df2ba4c77a495c218a186594d7533e5affad5467b2c27520092edb4ccb2ce8cdd4c0159a0dc7b5070b7 SHA512 1ecc60f8ffe4735009873d1a40d8e9b8168d3c42c4241e62fcee4fd0b61e1cd8b2b9c6e0a664e2aa1a83fa277a1257f96385feb86e8404817317f7c46aff6545
EBUILD ha-iotawattpy-0.1.1.ebuild 678 BLAKE2B 9fad348ab0623c63c7d4f742065b6fd30f9ceb748e74c2c04b83b1016179a995bf70ca090c1c44ad74c4d14fc86d2ed1c6980422071afaed43fbdc35a90a4a50 SHA512 2f7cc59cab84b46687e8d9ed97a69f2defb9ca78e06d21bd1d1cdb752d5adba6f8e27d2166deaec3bb3b003a642d1ebb2ebde99b358f3ab8fb7380d048dbf798
MISC metadata.xml 520 BLAKE2B a73adfb88c4c2e3b7c3ae4ad03ea2c989fb38c9e605a881347c366a38c98b7013c7672bc4c9827f1cda2c784da811f400cf38cda1008e2409ab0fdabf3214647 SHA512 2cf2192bd3929a39041d1c19b31db04f61a6bd766085395393191c4382d5f027b9d70400df0033bbc94685e0f5ed1d4b1c6f944acd02b656179275ca2ff4906e

View File

@ -0,0 +1,32 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="Python library for the IoTaWatt Energy device"
HOMEPAGE="https://github.com/gtdiehl/iotawattpy https://pypi.org/project/ha-iotawattpy/"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/httpx-0.16.1[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest

View File

@ -0,0 +1,16 @@
<?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">ha-iotawattpy</remote-id>
<remote-id type="github">gtdiehl/iotawattpy</remote-id>
<maintainer status="unknown">
<email>greg.diehl.gtd@gmail.com</email>
<name>Greg Diehl</name>
</maintainer>
</upstream>
</pkgmetadata>