dev-python/easyenergy: new package, add 0.1.2

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-02-28 20:14:12 +01:00 committed by Andreas Billmeier
parent f51495c5aa
commit 6eaf3aaafa
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 54 additions and 2 deletions

View File

@ -573,11 +573,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 1750 Ebuilds in total, 1739 of them have in total 1743 (34 different) licenses assigned.
There are 1751 Ebuilds in total, 1740 of them have in total 1744 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1021|
|MIT|1022|
|Apache-2.0|377|
|GPL-3|107|
|BSD|92|

View File

@ -0,0 +1,3 @@
DIST easyenergy-0.1.2.tar.gz 12298 BLAKE2B ca4c8ef5c9aae420555c2b8e17ad16ce808a7c049b24f1a33639c568e35eed30c68aea5e00ae6e266b14749511e831d6df660e59ba19268fd439620daa686bdf SHA512 57d71301bb3e7871a65e5ef604cb4dd7bb92cd510a800fb8559b4c70ec35fd4679b4773b236a43a79383e7a7899601374b9645911c0e01ccc5711a22e8f669a6
EBUILD easyenergy-0.1.2.ebuild 742 BLAKE2B cdd15142f4a77b6071541e5c7a9980e31698f009666cb8b666cdef7508e0634be71d4d94f445c8ab9c936e5516de32dc3876aaf6fc4f64381d6929090d435b57 SHA512 a2e2b2cfe2c84d102a705ecc08595e6ab2aee9b38694038cfbc0ccfe9d7cc040ce1c94528e0d8efa144f997b5d3b4187325eb33f98cfe03e1b10e048acc176df
MISC metadata.xml 535 BLAKE2B aa5ebf4b18d1032b52b5a6f26a8c7a202bc1b5f0e5fa80261ee2efde7e9b8d85ca292d0ea102540bd5ff2fa18a24a820ce210570818db585070a87b813f7be4b SHA512 b46a221236cd0154b6c7e724cc0c912c3e4a39db3cfcecd82f89a9608c0170dc20a4ef4935aeaad08b1352d840f3bf196906e8a94358c0302def328b79688fe5

View File

@ -0,0 +1,33 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 pypi
DESCRIPTION="Asynchronous Python client providing energy/gas prices from easyEnergy"
HOMEPAGE="https://github.com/klaasnicolaas/python-easyenergy https://pypi.org/project/easyenergy/"
SRC_URI="$(pypi_sdist_url)"
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/yarl[${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">easyenergy</remote-id>
<remote-id type="github">klaasnicolaas/python-easyenergy</remote-id>
<maintainer status="unknown">
<email>hello@student-techlife.com</email>
<name>Klaas Schoute</name>
</maintainer>
</upstream>
</pkgmetadata>