From 4fad602fa58f02791228eef64d7863be5935daf8 Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Mon, 8 Apr 2024 18:24:15 +0200 Subject: [PATCH] dev-python/PyMetno: add 0.12.0 Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/3127 Signed-off-by: Andreas Billmeier --- README.md | 4 ++-- dev-python/PyMetno/Manifest | 4 +++- dev-python/PyMetno/PyMetno-0.11.0.ebuild | 4 ++-- dev-python/PyMetno/PyMetno-0.12.0.ebuild | 22 ++++++++++++++++++++++ 4 files changed, 29 insertions(+), 5 deletions(-) create mode 100644 dev-python/PyMetno/PyMetno-0.12.0.ebuild diff --git a/README.md b/README.md index 08f44f091..f9b7e5c6e 100644 --- a/README.md +++ b/README.md @@ -617,11 +617,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 1979 Ebuilds in total, 1968 of them have in total 1987 (42 different) licenses assigned. +There are 1980 Ebuilds in total, 1969 of them have in total 1988 (42 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|1118| +|MIT|1119| |Apache-2.0|454| |GPL-3|129| |BSD|111| diff --git a/dev-python/PyMetno/Manifest b/dev-python/PyMetno/Manifest index d59313380..9be2737ce 100644 --- a/dev-python/PyMetno/Manifest +++ b/dev-python/PyMetno/Manifest @@ -1,3 +1,5 @@ DIST PyMetno-0.11.0.tar.gz 5747 BLAKE2B c6a6f4077d471e908e902e4719a8e1192dfe63bbff75a0ad4c8205deb8abd11677ec679321959b545d3648f0afadd55960e331c3e41dbad66bb9c3e7fad3283b SHA512 7e269ce9afa1f8c05c382b73db223e1f482825aab05e1be10038acfb2007d4bcbe2d69ce312442deb5d0bfafe1ed7f1b1dc243ec57ed1ad1175dfda6d279aba6 -EBUILD PyMetno-0.11.0.ebuild 803 BLAKE2B 4f4025c728c52f2eb200ff097817e985d44c7c3afb0192f46589fad2ef7a197c454979ce3113ad1559fe3328d75028acda6c35947dc102acd9631f07cb34d0d6 SHA512 1636e768f140f7db798cd78c0dc4791434cdce07b6d7b411da7328a9c60169dd1e6e712711b23c9df71060a756e4854716f5552d9fc99e387a1f406f962c349a +DIST PyMetno-0.12.0.tar.gz 5895 BLAKE2B c9f910c287e47d52c0792a78aa5d86e008fb7d3fc33ec7f111401927338310d7ea81172086ea0050fdcd198e47814541a770ba2299278bd7cbc451b7fa87d950 SHA512 ad7fa8498954361dea347cced48d47215a77c688631ab823078cc7ae9ef4fe77356c1b42ab6e0e3d21aaaddd29a55165c19804e06f8bc345fa8397446c14f3c9 +EBUILD PyMetno-0.11.0.ebuild 803 BLAKE2B 21d0a397f3a9f47bba582d6c08839f6b8b6a8fd2dc98e838ffa52df2a4098aefb0bbaa963e86b53f9429cd41cc49d72b883913de3b8f6d4026ab66682e0da39c SHA512 64f4f4341f99b2d1b0678c9f6e13527832653ef21065087e17ec8bcd74902547e8175b5f7e800d7e80e3e99e617bd0179d2b520fdd711ec1ab865b98909f8824 +EBUILD PyMetno-0.12.0.ebuild 586 BLAKE2B ba0ae81cc749b33e7100418657c599579a20dc160e921c3a9662946cdb3a2fc9ce292bb9ad371e3ebd59f3c0bda7b179e18d2eea9be094544ee160b2d9d16dac SHA512 a0926a8c1d186eeadca91e713630d96b1d67ef5231d107990ee15a4556270afb60c92efcd7abe6399558d37be1fc502d8dbcf578ab3090a6e5fc146883b96c84 MISC metadata.xml 390 BLAKE2B a252028aa2840c92f50e60cb8cafec14bd749e48a68dea020f2e3d5be3fcb4710a8e4c728199f4c29f3f49d58852fc781b8ec40c38fa8fa27ae86ec31d376007 SHA512 2200a9ed5e7068b92c4c0b506cae1e960e7d71e6caf48151ae82e4f7a94a42eae5451df5aff0f97ad07cab7081dd0e0cdc665b1f41a2fbc95070aa93b1281bc8 diff --git a/dev-python/PyMetno/PyMetno-0.11.0.ebuild b/dev-python/PyMetno/PyMetno-0.11.0.ebuild index 7b70a8a1a..81d7f593c 100644 --- a/dev-python/PyMetno/PyMetno-0.11.0.ebuild +++ b/dev-python/PyMetno/PyMetno-0.11.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{11..12} ) DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 inherit distutils-r1 pypi diff --git a/dev-python/PyMetno/PyMetno-0.12.0.ebuild b/dev-python/PyMetno/PyMetno-0.12.0.ebuild new file mode 100644 index 000000000..c4b302fe0 --- /dev/null +++ b/dev-python/PyMetno/PyMetno-0.12.0.ebuild @@ -0,0 +1,22 @@ +# 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 +PYPI_NO_NORMALIZE=1 +inherit distutils-r1 pypi +DESCRIPTION="A library to communicate with the met.no api" +HOMEPAGE="https://github.com/Danielhiversen/pyMetno/ https://pypi.org/project/PyMetno/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/aiohttp[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest