From b6547ba267dfbd56f2a145cbb02510726ca0a6ed Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sun, 9 Apr 2023 10:45:24 +0200 Subject: [PATCH] dev-python/gios: add 3.1.0 Signed-off-by: Andreas Billmeier --- README.md | 4 ++-- dev-python/gios/Manifest | 2 ++ dev-python/gios/gios-3.1.0.ebuild | 38 +++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 dev-python/gios/gios-3.1.0.ebuild diff --git a/README.md b/README.md index 2b4272bf5..b4c4843fa 100644 --- a/README.md +++ b/README.md @@ -576,12 +576,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 1821 Ebuilds in total, 1810 of them have in total 1826 (36 different) licenses assigned. +There are 1822 Ebuilds in total, 1811 of them have in total 1827 (36 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|1064| -|Apache-2.0|393| +|Apache-2.0|394| |GPL-3|115| |BSD|96| |LGPL-3|26| diff --git a/dev-python/gios/Manifest b/dev-python/gios/Manifest index 6c484dae4..330ee57b1 100644 --- a/dev-python/gios/Manifest +++ b/dev-python/gios/Manifest @@ -1,5 +1,7 @@ DIST gios-2.1.0.tar.gz 8941 BLAKE2B 41b77af0b40cd90ca21530d85739ab5d2b8c0fef131016c568ca9aaab7fa35c9c48061d980d1b46a5785024b15674a2cd52b41152b7b6cd8749d2fb369917c8a SHA512 b9587cae8ccccc9e86234c658fe369251afde95c3817c2a369d10cc950d48036957d9ca9dae8da87ab2e06c3db685d96f3d1bd17fe817b06b99f8465a7f90e31 DIST gios-2.3.0.tar.gz 8966 BLAKE2B b592d721a317446081858879add78db834fffb683a51fc8dbfb0214d7143af1b40158ec7b900f303ec709c8ddca0f261d4379f63836fe5f2b2760dbb98e466c6 SHA512 fca0ebf4e9964d9ef112e1da58c474e9cc06ae7e0917a4d3a128ab6aefaa57261c4cd9a8fa6392a99e38bad8ce73104e92aa38ba5ebe831dc0e77eed6a33479e +DIST gios-3.1.0.tar.gz 10234 BLAKE2B 2485421202b5f3a962d29cf1b1231aee18342191ba1c08a1892e5df0574682f7493def4f3e755fdeb0fe18e407cd43ac4f607af8b5666673d6065a2a9d0962bd SHA512 5285b2aa4c7b2adac3522eb1bb1f343393d7f14dc7da88916ef88afda2753381656274645514446844fd0dc47c084e2c0cb7239f5d7b5f2d9fb4cde0308466f5 EBUILD gios-2.1.0.ebuild 1020 BLAKE2B 37a6e418b4fcb3d518b06d9cc03f32d98d80592d8133927b70fbc012321bc43ce76b1775bdf20c38c77eafb470fc4f3dc4c7128b6408ff136604c0cf80e18929 SHA512 a646e351ef1dbae6b20f2148553196ad36ae3b63d0e8861000132e4b36311f8224d64b033871a193c152898068d317350b0239422daccdd2a321c0517d204381 EBUILD gios-2.3.0.ebuild 1051 BLAKE2B 96209bccc2d14de04400edb26af2bac73baf7c4f368b2f38de1ea7892cf8e5f37d5535ae8fb6e628d899d002e903ba1492ff90ce7d0cc93dc1834765656163bf SHA512 141df7ff1a8bbc6b6b65c22d63b7f4edfef6e2676be40aeedc0e3d9cc75dfc76e51de0232f41f65d1e6234aea0000eec1cebb8231644601fa862844a2721a853 +EBUILD gios-3.1.0.ebuild 964 BLAKE2B 1e28d56d8551fee023c41de2ba7e5cea8d02a2b60bb95eeadcc4f3661062f0b72fc7d66add8f9ae66691ba457f94f57f04c799748496db29a0aa37ce2ef1b371 SHA512 cc85e851278fa2c2004b9e950945a1cc9e2b01c3b2f6a6895b373e899792f24121bf698565975835e3f9c273ebc5a20388c1b2d17c31cf2fc0691ccc9996e9f7 MISC metadata.xml 376 BLAKE2B 7636771b135d76a67fd60ada3aeba36629394b96b6f5514f30b039db51ea4520fce67a5e624ba41b52d9e98e0641da00523b738df41a440d6f1633143a03f1e0 SHA512 c4c0c0f13b72b423082c305a56a36705a37b474f2193bfbf0e8470e79c66c7ae87daca4ebb65e8e48668a667038d181f79c3b5e2c8b3a441e1cb374075071560 diff --git a/dev-python/gios/gios-3.1.0.ebuild b/dev-python/gios/gios-3.1.0.ebuild new file mode 100644 index 000000000..cf3e80bec --- /dev/null +++ b/dev-python/gios/gios-3.1.0.ebuild @@ -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_{9..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="Python wrapper for getting air quality data from GIOS servers." +HOMEPAGE="https://github.com/bieniu/gios https://pypi.org/project/gios/" + +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/dacite-1.6.0[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + test? ( + dev-python/aioresponses[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} + +distutils_enable_tests pytest