dev-python/pyosoenergyapi: new package, add 1.1.3

Closes: #2630
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-01-04 12:33:42 +01:00
parent b49cf96a7d
commit 02e1ae07d3
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 50 additions and 2 deletions

View File

@ -612,11 +612,11 @@ 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 1612 Ebuilds in total, 1601 of them have in total 1616 (42 different) licenses assigned.
There are 1613 Ebuilds in total, 1602 of them have in total 1617 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|926|
|MIT|927|
|Apache-2.0|345|
|GPL-3|102|
|BSD|88|

View File

@ -0,0 +1,3 @@
DIST pyosoenergyapi-1.1.3.tar.gz 14187 BLAKE2B 9312b5f5f2cf63ae825fb0c115636250e278c80d466880a9b46790303719aca3b1992f974e424051e9c184799461bf72670aa1dbdae1024da6535981a1816803 SHA512 5bf052ad35c8fe109b314e146bc0bb0b6277fc6649404c11ca1494f52c60e754dbb2f9fb2578a1f91db7d8b8e0e54477943f16f550e54f5b47b9eb85fad4618c
EBUILD pyosoenergyapi-1.1.3.ebuild 706 BLAKE2B a3e7fd4d82cf08b1312c1febd753dc410e59bc464fbbf92189cb3ea258ef5ee2dd49549937c5b95e6845bb6ee94b5720bc260fe6e533a1b5fdb38b6ccef331d4 SHA512 f32d1cf160f42179889b48b4951146a62e05920f92223042da8b459ebdf7623bc5e2cf54a604dcecda8216f9f3fdeea429d23707d9ca007ffc5635df5bde0da9
MISC metadata.xml 530 BLAKE2B 53f7f5b37dea15fdbf06238248dd5e7585d0368a10f0bfe5a1d257aabc0a65704987b5ba5eadb5e94515669b0724c5fc7707de94669546cae5ca06893a2c3000 SHA512 00e3eb8c796a4a7bf652001b7426783ec31bb3860ed1721e3976dd8a81b2184d6ae3bb1d8cfb02df19fc925f03842de1287d461ce56d1c99aeaf617433848f02

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">pyosoenergyapi</remote-id>
<remote-id type="github">osohotwateriot/apyosohotwaterapi</remote-id>
<maintainer status="unknown">
<email>osowh.iot@gmail.com</email>
<name>OSO Energy</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,29 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="A Python library to interface with the OSO Energy API"
HOMEPAGE="https://github.com/osohotwateriot/apyosohotwaterapi https://pypi.org/project/pyosoenergyapi/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/unasync[${PYTHON_USEDEP}]
dev-python/loguru[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest