dev-python/easyenergy: add 0.3.0

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
2023-10-22 11:27:37 +02:00
committed by Andreas Billmeier
parent cf5e600225
commit 78869e3aed
3 changed files with 37 additions and 2 deletions

View File

@@ -576,11 +576,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 1824 Ebuilds in total, 1813 of them have in total 1830 (40 different) licenses assigned.
There are 1825 Ebuilds in total, 1814 of them have in total 1831 (40 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1064|
|MIT|1065|
|Apache-2.0|376|
|GPL-3|116|
|BSD|102|

View File

@@ -1,3 +1,5 @@
DIST easyenergy-0.2.3.tar.gz 11889 BLAKE2B c9bba49fc4a42ad83a53dbf57635d2e596ac787700ff466d008103901f7078d200054fb922fdc3662e813a8faa505165d3790b0645ae6bf479f9ffebce287e29 SHA512 9244019aac2190aebfb38d15e8344f277076104d3b4de0a53c09ad650d48729ddb8ba9b270f9798198ac10d24127f53819d37d52df7865cdfa7e7619886c24a0
DIST easyenergy-0.3.0.tar.gz 12015 BLAKE2B dc05ee54af6f8907471f458eaa2d98437ed9722dab636c4eac33584c0253447bcd38c4e7ef72eb4e7b876bd43d3eae92a671db3336fac4b079b0ff5b6cbe5c59 SHA512 3ba977113ca206025d7803e048a956b6822d812d80d38501e387b1578b2c19e3985802057d9db00d822466fa12110ceb7a1289ecb0e9f911cf6a564e134a1614
EBUILD easyenergy-0.2.3.ebuild 760 BLAKE2B 50d938c231855776cbfad008395d8c0bf75da191b5e05d3c8ea1b99d5be3392e8fd6d435fa11ce874676cdf1bb2c4682748ceda79d859ae86e51cfe5b33ac21d SHA512 48715c2823c8cf29b5aac9bcff2a7e1c084ceb256be3c5c839b9cf7be21fd8ade4114070c89e5625a071483fb1841ffc0d2b355b1c4c77aa1b448f7050b6cd78
EBUILD easyenergy-0.3.0.ebuild 760 BLAKE2B 50d938c231855776cbfad008395d8c0bf75da191b5e05d3c8ea1b99d5be3392e8fd6d435fa11ce874676cdf1bb2c4682748ceda79d859ae86e51cfe5b33ac21d SHA512 48715c2823c8cf29b5aac9bcff2a7e1c084ceb256be3c5c839b9cf7be21fd8ade4114070c89e5625a071483fb1841ffc0d2b355b1c4c77aa1b448f7050b6cd78
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_{10..12} )
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/"
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/aiodns[${PYTHON_USEDEP}]
>=dev-python/yarl-1.6.0[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest