From 1d312129301920507ccf725e7e2fd015a0b139ac Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Sun, 16 Jun 2024 10:47:51 +0200 Subject: [PATCH] dev-python/pyopenweathermap: new package, add 0.0.9 Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/3439 Signed-off-by: Andreas Billmeier --- README.md | 4 +-- dev-python/pyopenweathermap/Manifest | 3 +++ dev-python/pyopenweathermap/metadata.xml | 15 +++++++++++ .../pyopenweathermap-0.0.9.ebuild | 27 +++++++++++++++++++ 4 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 dev-python/pyopenweathermap/Manifest create mode 100644 dev-python/pyopenweathermap/metadata.xml create mode 100644 dev-python/pyopenweathermap/pyopenweathermap-0.0.9.ebuild diff --git a/README.md b/README.md index 41f7a0ffa..534b71786 100644 --- a/README.md +++ b/README.md @@ -606,11 +606,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 1895 Ebuilds in total, 1884 of them have in total 1907 (42 different) licenses assigned. +There are 1896 Ebuilds in total, 1885 of them have in total 1908 (42 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|1085| +|MIT|1086| |Apache-2.0|427| |GPL-3|110| |BSD|108| diff --git a/dev-python/pyopenweathermap/Manifest b/dev-python/pyopenweathermap/Manifest new file mode 100644 index 000000000..e8a6c0395 --- /dev/null +++ b/dev-python/pyopenweathermap/Manifest @@ -0,0 +1,3 @@ +DIST pyopenweathermap-0.0.9.tar.gz 3798 BLAKE2B c548ad45b7e5a24afab30c0638c15e408d911d7f2ff7314f942db327cdef012609b92a484eb391c07aad73438184427bc01f6c7ad0843594bd7c03f31f8c32e8 SHA512 83871844b2c9c18ca0a5c41fa244def3508071996811be0590420964c40df0cc8a71448284841122b83566fdf91cd7d294a0c59e1d65283f78cdfcebb408cb89 +EBUILD pyopenweathermap-0.0.9.ebuild 581 BLAKE2B 9858fe86acc1866f7166c8b382e1025e3f35dbe146f088de86b6fef6359b535f56c0ee2d8cb30d529538f2d7cd92a16407cb4454db87a3c24d67f975784c2355 SHA512 8e346684d573557fc2c90ed7cc73f3dc04e4f757af3ab7f607239bd420153f66613e1d8167a186cf2de6880b09d5806a8ace4ab30fe96509d5504afbf3e2bdfe +MISC metadata.xml 451 BLAKE2B 203d165021eb47c3646920282feba4a042cd46ef8f6f7c5d47b874bd4a8db9b3216a5f567adffb7c4255eb7bf0d27ced04756ae0b05a744f59b36aa4612e463c SHA512 1a0b33f25a7d55262c0918b71e88fbfd0aac0182c2253469655677acebfd25e44536ba34b7b45b3283fdc6f296c9fa392366a1bfda8951a16eacfe613fdc76e3 diff --git a/dev-python/pyopenweathermap/metadata.xml b/dev-python/pyopenweathermap/metadata.xml new file mode 100644 index 000000000..3061e6f9b --- /dev/null +++ b/dev-python/pyopenweathermap/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + pyopenweathermap + + iam@freekode.org + Evgeny + + + diff --git a/dev-python/pyopenweathermap/pyopenweathermap-0.0.9.ebuild b/dev-python/pyopenweathermap/pyopenweathermap-0.0.9.ebuild new file mode 100644 index 000000000..f423ea679 --- /dev/null +++ b/dev-python/pyopenweathermap/pyopenweathermap-0.0.9.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +DISTUTILS_USE_PEP517=poetry +inherit distutils-r1 pypi + +DESCRIPTION="lib for OpenWeatherMap for Home Assistant" +HOMEPAGE="https://pypi.org/project/pyopenweathermap/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND=">=dev-python/aiohttp-3.9.5[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest