dev-python/meteofrance-api: add 1.1.0

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2022-10-30 16:48:04 +01:00 committed by Andreas Billmeier
parent 03a72e7803
commit 7491cbffe5
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 42 additions and 2 deletions

View File

@ -548,11 +548,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 1480 Ebuilds in total, 1473 of them have in total 1482 (34 different) licenses assigned.
There are 1481 Ebuilds in total, 1474 of them have in total 1483 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|863|
|MIT|864|
|Apache-2.0|299|
|GPL-3|93|
|BSD|87|

View File

@ -1,3 +1,5 @@
DIST meteofrance-api-1.0.2.tar.gz 16190 BLAKE2B 53b0aacc906b9e532ca1f6067d074ce58ecfc749e7378684b1b278b057e8571c5ca5c2be4d2268301eb1cf91d8f762d6dcfc5a2c0005102916239c16dfd0091d SHA512 b4308b43504cb13889f12103241da62dca3400162946f7364cdff37057051bc14b22badfc636f761a40790fd90dda528f8dea67972e2fabfa3e1c7db30d86302
DIST meteofrance-api-1.1.0.tar.gz 16440 BLAKE2B 263d6d7051c458c82f57f97a607a955aa6dfa28d99911cc45d7867aca9563275f2016f312cf745ee9ec61d6f62e5d93f544a15e4b6fff87913e181fdb87d2286 SHA512 fed4de2ea594ada08e2b5ebc0d237f1df73e6b021948283663b9271765f5b32620d55a5a8b4382647e51761a554523f64361a12926ba94b179c5c05719ea3475
EBUILD meteofrance-api-1.0.2.ebuild 756 BLAKE2B 3082453426abedaedda294852df7653e92df25f70553c89449efe9befaf382c427ada624d9f278ffc4add70a0b2068d2e26f533c0652285fe627c0c1767bf85f SHA512 9922e0e8537015462e3a65a599ffc5308e39b89ef64dc1715396cb0d10ceaa2ed50b0decfac582f420a7e0e0113ec4d19f8c68de67591b06433a6d163493358e
EBUILD meteofrance-api-1.1.0.ebuild 903 BLAKE2B 2746079490c994f26dd5160687cdb1c7dd9f2545ccdd17f59ea215cae0a2036fab5453227f21d3baacc5e5d3cf68280a27417162dff87f6f6aeb61bcb196c645 SHA512 56caea18e81aaafda112ab1e6f301229b07f62dc7a4faca0a4e83cb67162fe905f83e1dfca89cc4019607acdb0ec77e8ba4957edbc81333627b747cad9ba33f1
MISC metadata.xml 458 BLAKE2B b3c2253a6edd87e3908f6d501d2012547cf20028dda528ef6fb06841fd932306f919fae3d023adfdfb42066948f0a8d46868744ec031d154fabb27c5b31ad7b0 SHA512 075ea649ec43c9f0b50c4fba4de2ab9b2cc2625350a8ffd6c8e694e801ece916b4d254bc32ba98efb84c0ee33d3349b5453329f984a0c90ec9d84e1790adee94

View File

@ -0,0 +1,38 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1
DESCRIPTION="Python client for Meteo-France API."
HOMEPAGE="https://github.com/hacf-fr/meteofrance-api https://pypi.org/project/meteofrance-api/"
MY_PN=${PN/-/_}
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND=">=dev-python/requests-2.25.1[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.26.6[${PYTHON_USEDEP}]
>=dev-python/pytz-2020.4[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest