From d70df1309dc4b1001f76faa350c05b5e44366612 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sat, 15 Oct 2022 08:47:12 +0200 Subject: [PATCH] dev-python/gios: rework, remove olds --- README.md | 4 +-- dev-python/gios/Manifest | 12 +-------- dev-python/gios/gios-0.1.5.ebuild | 45 ------------------------------- dev-python/gios/gios-0.2.1.ebuild | 36 ------------------------- dev-python/gios/gios-1.0.1.ebuild | 38 -------------------------- dev-python/gios/gios-1.0.2.ebuild | 38 -------------------------- dev-python/gios/gios-2.0.0.ebuild | 39 --------------------------- dev-python/gios/gios-2.1.0.ebuild | 13 +++++---- 8 files changed, 11 insertions(+), 214 deletions(-) delete mode 100644 dev-python/gios/gios-0.1.5.ebuild delete mode 100644 dev-python/gios/gios-0.2.1.ebuild delete mode 100644 dev-python/gios/gios-1.0.1.ebuild delete mode 100644 dev-python/gios/gios-1.0.2.ebuild delete mode 100644 dev-python/gios/gios-2.0.0.ebuild diff --git a/README.md b/README.md index dcabe7fbd..93c0b4630 100644 --- a/README.md +++ b/README.md @@ -538,12 +538,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 1915 Ebuilds in total, 1908 of them have in total 1920 (35 different) licenses assigned. +There are 1910 Ebuilds in total, 1903 of them have in total 1915 (35 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|1159| -|Apache-2.0|358| +|Apache-2.0|353| |GPL-3|122| |BSD|106| |LGPL-3|30| diff --git a/dev-python/gios/Manifest b/dev-python/gios/Manifest index fa2ddb841..8ee8f0504 100644 --- a/dev-python/gios/Manifest +++ b/dev-python/gios/Manifest @@ -1,13 +1,3 @@ -DIST gios-0.1.5.tar.gz 7961 BLAKE2B 49bbea8e0313d0c32c89c369ade375030fe746165067ee8918b86d0dc855339bd608138c13527ae423c4b58b7b47f07f092df7d70894ae52b6bb654e9577b29e SHA512 1f6f10e08e376b14451dbda72e6cf3ce974d37307dbe843bb04fc8be5049425191c34f15858fd32f4f62e9b056933432d0e9dc186da70f5f295635341347e331 -DIST gios-0.2.1.tar.gz 8075 BLAKE2B 922cbbb6ba3724c38c60c39ac1c71ce9c78228fd9d70856a025fa69c5403631d824bab48b63c7da270ad9993675fb1ef0b1909c9cb7f5dab063faa208b66ff4e SHA512 0b1401605fdf562196486a3b53c070383d21728bc9672d75990e0550550b69bacb47ac2a8fca8e070e37f517e2ef7fd479e172ddcf2a7733e58b44abd56f7c4a -DIST gios-1.0.1.tar.gz 8642 BLAKE2B 7ae3c4394000a0fe848c107939a26d531293322dd476a42f991ae39e888b6e10b01669df2d13c6b32baf6304126daa857e9914b09c94363a738a753348df2243 SHA512 fc82e308c1623b4dc6781ae72489ee4df9ce97f32c3937cfb6266114284831017f32de0ef259d5654b598cdbc391bec47ec349b866aa8a4cbfae31e70842bcab -DIST gios-1.0.2.tar.gz 8655 BLAKE2B dfe2490fddaf9c3ac13aec970fd9e15a40805b19c34317196aa1f4aff8d1f975868cb87f866690023c32aa44ae0ff3981701ffdc3fb3237d20ef0bcfbbecd31c SHA512 3c0620d69eb3296f1091a7eb18c4136916707eff298a33413f790a81d7f5448af9630eea631575e53062cb127f149edfe828df76a395bc033579060ab583fa9f -DIST gios-2.0.0.tar.gz 8974 BLAKE2B f078986c8be640a56cb73b5682f14b1b22847b6b4fb1ddd47e224373595099a43053e0c556a81d61e58eddc3c4ab3b4e8c33e7b6b740a7c6ac23edde480708be SHA512 d072ec0e1f5bb561bb82a1da526908fbbccf07aaf07c644bfa82eaefceb2494151038bff9ea50c84b48927b1c1e86e4c965f86b7570f5f1ca9258f134bf071e3 DIST gios-2.1.0.tar.gz 8941 BLAKE2B 41b77af0b40cd90ca21530d85739ab5d2b8c0fef131016c568ca9aaab7fa35c9c48061d980d1b46a5785024b15674a2cd52b41152b7b6cd8749d2fb369917c8a SHA512 b9587cae8ccccc9e86234c658fe369251afde95c3817c2a369d10cc950d48036957d9ca9dae8da87ab2e06c3db685d96f3d1bd17fe817b06b99f8465a7f90e31 -EBUILD gios-0.1.5.ebuild 1241 BLAKE2B d0403aa12f5f60b128b91b61c74237da034bf88fcc775b251b4255962e8fb8567dca574bead366de18af059fa09f789ec1158d00f272b65d3a82c9c687bff424 SHA512 eee3a7cbc50f39756aa9b81ab8752bb0e2d05fb51e9e09556117335fb18ab8c25131d053caced8e26ac547689579c090a144b819e3fc5082583bdcbfec96fff1 -EBUILD gios-0.2.1.ebuild 968 BLAKE2B c468d4cd7d841200ef6d8a4a131a74f351a2ca0234dfdc9062927b3b451af99964b68696d0c69a71b769af5880723d1373ce7d68327dee30c55d3d57203d0cf1 SHA512 e19f5c176e8950cc9bc860fed7c84b50c5bb8003e03467b1a3b87927f99bf4ab7761bb612cac02a63a789aa643052b7c090d078f4728ab41cd5ec613af490b1d -EBUILD gios-1.0.1.ebuild 987 BLAKE2B 212197046e1f24baafceda90b8def3854a5062e1d28744c81e71900c48358c2541c895410184a877be075b6835ac4c0898d9a01135e6224c6e00f9ab3ca573f4 SHA512 26091bc8d27369c1072ef08a39746ee481458957918de5a94aa69db97793cb4dc0353ebdf5f887d4071c208821597e9a6520fb9fdb5feb6f95751511614beb92 -EBUILD gios-1.0.2.ebuild 987 BLAKE2B 212197046e1f24baafceda90b8def3854a5062e1d28744c81e71900c48358c2541c895410184a877be075b6835ac4c0898d9a01135e6224c6e00f9ab3ca573f4 SHA512 26091bc8d27369c1072ef08a39746ee481458957918de5a94aa69db97793cb4dc0353ebdf5f887d4071c208821597e9a6520fb9fdb5feb6f95751511614beb92 -EBUILD gios-2.0.0.ebuild 1021 BLAKE2B ff8e756ef353a29bfa3266f8d4c44418323d19b859eebac0f82c37026467dff6906e383a0dad74829a85a2d3df921b493bf7a265fe103bd2aa5c3326799bd1f9 SHA512 8a6a692072f1ebf91f2a6519303cba7819ae32bdbec6bb8945eee155b61d07ddcd5e9cad0a01df494b7d967a9a992204b5cf993eb7809fe209dcb5c18b8a0871 -EBUILD gios-2.1.0.ebuild 1019 BLAKE2B eaf9134a7bd9c89b921f19cb8361e17b745f544a2d7bf24515aecb31a7beea2392298ed551cdc0d1d195ae78ba5714daa14e872bca102537a4263a9a128f91e9 SHA512 b742d563529b847ba262eb2f25a495569391cba04ffed14fc6589a94058e24add36081de000edd603f521fb09bb88675af62ddd6fc4572937cd755608dbe9998 +EBUILD gios-2.1.0.ebuild 1084 BLAKE2B 7c3e0319f2b3df346cffedb435aca49bb81391bb24a44b8932fb1dc81cb594c506c96cc395cb7a944983a60a2394fe4478a8192c996526b317dc8e7205dee788 SHA512 59f7368fd3c70edb4c09995f4744e52aa88574051594c46cdbf19ed87fc8922013693d0058c16b93d7062119bb4ef432bb4e93b3a4e612141dd6cd9cf5aad876 MISC metadata.xml 323 BLAKE2B a6474dfa8f64b0b17abea47514c897f098176bdbdb3f7c999bdce3ab8ab4bdb15e8bf9995fc78c9b7ea51e213b50eea2782feee1f99dc4ea49aeed7714279eb6 SHA512 54f735f28051d4882f37bf986f996e8d67faf4dfcac233789b331695d6591a4cc55bb2562fdb94742229bb5a9ccdf271a32197413c239c6f503c73ced51a9df9 diff --git a/dev-python/gios/gios-0.1.5.ebuild b/dev-python/gios/gios-0.1.5.ebuild deleted file mode 100644 index 07ba26a0b..000000000 --- a/dev-python/gios/gios-0.1.5.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit distutils-r1 - -DESCRIPTION="Python wrapper for getting air quality data from GIOS servers." -HOMEPAGE="https://github.com/bieniu/gios https://pypi.org/project/gios/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-cov[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/nose[${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() { - nosetests --verbose || die - py.test -v -v || die -} - -src_prepare() { - echo "aiohttp" > requirements.txt || die - echo "pylint" > requirements-test.txt || die - echo "pytest" >> requirements-test.txt || die - echo "pytest-asyncio" >> requirements-test.txt || die - echo "pytest-cov" >> requirements-test.txt || die - eapply_user -} diff --git a/dev-python/gios/gios-0.2.1.ebuild b/dev-python/gios/gios-0.2.1.ebuild deleted file mode 100644 index 468f25824..000000000 --- a/dev-python/gios/gios-0.2.1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit distutils-r1 - -DESCRIPTION="Python wrapper for getting air quality data from GIOS servers." -HOMEPAGE="https://github.com/bieniu/gios https://pypi.org/project/gios/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-cov[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/nose[${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() { - nosetests --verbose || die - py.test -v -v || die -} diff --git a/dev-python/gios/gios-1.0.1.ebuild b/dev-python/gios/gios-1.0.1.ebuild deleted file mode 100644 index 18a9e3fde..000000000 --- a/dev-python/gios/gios-1.0.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="Python wrapper for getting air quality data from GIOS servers." -HOMEPAGE="https://github.com/bieniu/gios https://pypi.org/project/gios/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -DOCS="README.md" - -RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-cov[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/nose[${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() { - nosetests --verbose || die - py.test -v -v || die -} diff --git a/dev-python/gios/gios-1.0.2.ebuild b/dev-python/gios/gios-1.0.2.ebuild deleted file mode 100644 index 18a9e3fde..000000000 --- a/dev-python/gios/gios-1.0.2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="Python wrapper for getting air quality data from GIOS servers." -HOMEPAGE="https://github.com/bieniu/gios https://pypi.org/project/gios/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -DOCS="README.md" - -RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-cov[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/nose[${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() { - nosetests --verbose || die - py.test -v -v || die -} diff --git a/dev-python/gios/gios-2.0.0.ebuild b/dev-python/gios/gios-2.0.0.ebuild deleted file mode 100644 index 01409aa1e..000000000 --- a/dev-python/gios/gios-2.0.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="Python wrapper for getting air quality data from GIOS servers." -HOMEPAGE="https://github.com/bieniu/gios https://pypi.org/project/gios/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86 amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -DOCS="README.md" - -RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/dacite[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-cov[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/nose[${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() { - nosetests --verbose || die - py.test -v -v || die -} diff --git a/dev-python/gios/gios-2.1.0.ebuild b/dev-python/gios/gios-2.1.0.ebuild index 98923927f..653442463 100644 --- a/dev-python/gios/gios-2.1.0.ebuild +++ b/dev-python/gios/gios-2.1.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 @@ -13,19 +13,20 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86 amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 x86" IUSE="test" RESTRICT="!test? ( test )" DOCS="README.md" -RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/dacite[${PYTHON_USEDEP}]" +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}] dev-python/setuptools[${PYTHON_USEDEP}] test? ( + dev-python/aioresponses[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] dev-python/pylint[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] @@ -37,3 +38,5 @@ python_test() { nosetests --verbose || die py.test -v -v || die } + +distutils_enable_tests pytest