dev-python/accuweather: add 2.1.0

closes: #2389

Closes: #2389
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier (@STR/VW3) 2023-11-23 17:45:58 +01:00 committed by Andreas Billmeier
parent b49380d507
commit 460fd58ac5
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 49 additions and 6 deletions

View File

@ -612,24 +612,24 @@ 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 1638 Ebuilds in total, 1627 of them have in total 1640 (40 different) licenses assigned.
There are 1637 Ebuilds in total, 1626 of them have in total 1646 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|953|
|Apache-2.0|335|
|GPL-3|96|
|MIT|954|
|Apache-2.0|336|
|GPL-3|95|
|BSD|94|
|GPL-2|27|
|LGPL-3|23|
|all-rights-reserved|15|
|BSD-2|11|
|BSD-2|12|
|GPL-3+|11|
|LGPL-3+|11|
|Unlicense|9|
|ISC|5|
|MPL-2.0|5|
|LGPL-2.1|5|
|ISC|4|
|EPL-1.0|4|
|LGPL-2.1+|3|
|public-domain|3|
@ -640,6 +640,9 @@ There are 1638 Ebuilds in total, 1627 of them have in total 1640 (40 different)
|PSF-2|2|
|LGPL-2|2|
|CC0-1.0|2|
|0BSD|1|
|CC-BY-4.0|1|
|PYTHON|1|
|BitstreamVera|1|
|matplotlib|1|
|OFL-1.1|1|

View File

@ -1,5 +1,7 @@
DIST accuweather-1.0.0.tar.gz 11426 BLAKE2B ae65fff63e48d2d2e778ccd19445db78220b7d43517f8a6cecb77bdeb8fe13b463e18f3214a14be748589dc72722329b405c316aad26667dc9a86945f94ab040 SHA512 0dccfcd22dbbb49df9256c617678fdd7ac7ce0f1f6d4e5199a361eb5c662743fbef5f9d2d6c6c240eea3a0c5cac0a16291e414aabc559e7d49117b206c2ac951
DIST accuweather-2.0.0.tar.gz 11447 BLAKE2B 4b145658602aa8c14ca4ee3c9d5c2c5f73ce2d32c2790a41c3f80f61aac882640c7b18769b7db820985ca208fb021397102a8a0f88cb9073b2b61f62bd4bbdad SHA512 0e241c932408f936417db21d00f6780e9486b7e379f254950f45202fc87fb0b7489746b0cb8020f523cce5c0d85074fdc8bec2286d7e8a54a21c02a81e0cd799
DIST accuweather-2.1.0.tar.gz 13003 BLAKE2B 0aef0a116fe180c676139b8a82f5c1e0ac6a8f37f74083630d87cf5a8c72c76948e9771d797c5696649bc5b1ced0ea066836fb7147c33a652337e0f287ed6b05 SHA512 416a7d8f9750060898bc088130a41bb039e9a3191f242e86ac6625d714788f81631e8fe3a7737ec5a9025f0263ac058b44c342f24cc92eaf098f54f9851f8cd5
EBUILD accuweather-1.0.0.ebuild 921 BLAKE2B 17ab64c0c304c77ea9f0cb7a77a49c55affee5b1288564e00a1683ac313d374e52b4fe54d915b548bc036c349749f48c8f8254791b7cd62be70f0090b2e918e1 SHA512 d644414a0071afaabed9be1f00603ee5aaf1059e1c8de197297f84955107d5ef68b018a4928e024ff824b92dc9dc53916661b06d3acd9f24a3263720ac431606
EBUILD accuweather-2.0.0.ebuild 1049 BLAKE2B 0f7f72d46990215217b44b1066d7a2cbb6dfd2af207c03456f074c09e2df4dc664d41f202ad8f86892ed7bb08044983d7c9669b025acdf18578b30a061023613 SHA512 9d7455fb213a517ec255cc8654785461f2d1817fad8b31012af260af86f4a42cf143bce81e11d2b3fbd7386c2c2c562014cf7cf747d0c576d5eaf7b7b10dd4bf
EBUILD accuweather-2.1.0.ebuild 1049 BLAKE2B 0f7f72d46990215217b44b1066d7a2cbb6dfd2af207c03456f074c09e2df4dc664d41f202ad8f86892ed7bb08044983d7c9669b025acdf18578b30a061023613 SHA512 9d7455fb213a517ec255cc8654785461f2d1817fad8b31012af260af86f4a42cf143bce81e11d2b3fbd7386c2c2c562014cf7cf747d0c576d5eaf7b7b10dd4bf
MISC metadata.xml 390 BLAKE2B aef9b96736f7617d3765e81ea040c7209e448b170d611a5aba6d9856566d6ea19c9b485d38469ea0a85cfe9b0eaf7cbda51456acf683887e0cd7db59518cf2f2 SHA512 2f9b87aa981ccc31722e6e0314219f98cc0c80c0229147e45a8c60c3f78664bacc11d9fba6d9e4313d177ff9d3032887783eca1c91f9ac7d210d9348d7326c5f

View File

@ -0,0 +1,38 @@
# 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
inherit distutils-r1 pypi
DESCRIPTION="Python wrapper for getting weather data from AccuWeather servers."
HOMEPAGE="https://github.com/bieniu/accuweather https://pypi.org/project/accuweather/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="
$(python_gen_cond_dep '>=dev-python/aiohttp-3.9.0[${PYTHON_USEDEP}]' python3_12)
$(python_gen_cond_dep '>=dev-python/aiohttp-3.8.0[${PYTHON_USEDEP}]' python3_11)
dev-python/orjson[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/pytest-runner[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest-cov[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest