dev-python/accuweather: add 3.0.0

Closes: #3234
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-05-11 19:05:37 +02:00
parent f573230508
commit 32392d7012
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 36 additions and 4 deletions

View File

@ -617,12 +617,12 @@ 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 1789 Ebuilds in total, 1778 of them have in total 1798 (42 different) licenses assigned.
There are 1791 Ebuilds in total, 1780 of them have in total 1800 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1014|
|Apache-2.0|404|
|Apache-2.0|406|
|GPL-3|106|
|BSD|105|
|LGPL-3|25|
@ -664,9 +664,9 @@ There are 1789 Ebuilds in total, 1778 of them have in total 1798 (42 different)
|GPL-2+|1|
|GPL-2-with-linking-exception|1|
(Last counted: 01/05/2024)
(Last counted: 11/05/2024)
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
A big thanks goes to Iris for reviewing this README.
Last updated: 01/05/2024
Last updated: 11/05/2024

View File

@ -1,3 +1,5 @@
DIST accuweather-2.1.1.tar.gz 12960 BLAKE2B 9c5670688ddfd5e62e15ab60769a27cfe299b9bbc416802e69b3e0a95c4cb340028944d1236cf821bd99f1865903d47b73f65ab89623db3ce8dacc24535f6811 SHA512 24eaad63fb48c541325ae05439d17db54b3811dc89689276f551514cddd701ddb62b5fed453568ad148941bf50f094b5ab85b110d64238cbb30a9e85aa3fffab
DIST accuweather-3.0.0.tar.gz 12203 BLAKE2B 254a9112af235711b4568d024689a7cd38cea9b5b9186c79c6280a0149f41f9194be8324986b26e772789e046dc4cea9aad98f4fee912318f57c338e612451b1 SHA512 b1f23456f265e6bc0aceacef75dd86bf353211644dc5cc70551d2aa188e614438dc0be5c01d8ab2e7464f3480c7cfb571dcac932fe6e92e38c9345ea74e71c2b
EBUILD accuweather-2.1.1.ebuild 888 BLAKE2B ff81b1ef810e7dc57a7bd8c158d1a61c882bb415048e823f471a4cd1f612db82fefe5fac3b0128068bce472e5b63562af8ff48acfb2b9b2d706483a9d0265bec SHA512 69242679edfc9e3c0ac81ff61ecb2f5152ba070bcb43ad774a786ec6158d18775df3e632c18f6449c4845ff1c02f8d833abcb927e9b339b2c3e0ad922d946677
EBUILD accuweather-3.0.0.ebuild 809 BLAKE2B b2340f338d2981094f6221afc0168a24fe01ebab227944b6f3a6c0e93da291a3f5eebc2f232e3bc8895ac2ad7831812ed1b3ff100aa0b1a6e6f9f60c90ab388a SHA512 a558aae13e80759bf4eaa4deea67ee8dbfb2d5dcb460778c8da7a3417f2359de74eae8c3a8f202a5c026c945f25f5d1a353ffa8b0a54f5b46a33be0d351892ff
MISC metadata.xml 390 BLAKE2B aef9b96736f7617d3765e81ea040c7209e448b170d611a5aba6d9856566d6ea19c9b485d38469ea0a85cfe9b0eaf7cbda51456acf683887e0cd7db59518cf2f2 SHA512 2f9b87aa981ccc31722e6e0314219f98cc0c80c0229147e45a8c60c3f78664bacc11d9fba6d9e4313d177ff9d3032887783eca1c91f9ac7d210d9348d7326c5f

View File

@ -0,0 +1,30 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..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=">=dev-python/aiohttp-3.7.0[${PYTHON_USEDEP}]
dev-python/orjson[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/pytest-runner[${PYTHON_USEDEP}]
test? (
dev-python/pytest-cov[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest