From ba0aebc2eedd9b8317791eb80204c225cc6a67a4 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Mon, 17 Oct 2022 21:42:35 +0200 Subject: [PATCH] dev-python/python-tado: remove olds, cleanup, enable pytest --- README.md | 4 +-- dev-python/python-tado/Manifest | 4 +-- .../python-tado/python-tado-0.10.0.ebuild | 35 ------------------- .../python-tado/python-tado-0.12.0.ebuild | 10 +++--- 4 files changed, 9 insertions(+), 44 deletions(-) delete mode 100644 dev-python/python-tado/python-tado-0.10.0.ebuild diff --git a/README.md b/README.md index 3ca2849a4..8a5960fd8 100644 --- a/README.md +++ b/README.md @@ -547,13 +547,13 @@ 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 1517 Ebuilds in total, 1510 of them have in total 1521 (34 different) licenses assigned. +There are 1516 Ebuilds in total, 1509 of them have in total 1520 (34 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|889| |Apache-2.0|307| -|GPL-3|93| +|GPL-3|92| |BSD|89| |LGPL-3|23| |GPL-2|19| diff --git a/dev-python/python-tado/Manifest b/dev-python/python-tado/Manifest index e10d918e5..3d5fc2631 100644 --- a/dev-python/python-tado/Manifest +++ b/dev-python/python-tado/Manifest @@ -1,5 +1,3 @@ -DIST python-tado-0.10.0.tar.gz 30769 BLAKE2B 207639b7f9a978a0e5179df50dcf88c870b0bd0216eb52481ae7a634f9ea564a42a3d741b8258c4679dcca5c822ae167b3981c132ab1109d49179d58c0a972dc SHA512 60b61a523bf7a08980e8c53791be6a17837a094bc617156b455118a6d33887ee642f19bb8a23375acf2538bcce20bfe3ec4dc92820886ee6db273dc26a393319 DIST python-tado-0.12.0.tar.gz 23631 BLAKE2B ea80a12076da3eb5e5a33874efcbb7787a9fa88d89a454f280b83e2ed669abbde297d7408afefca1d195ec65e6083116c00ca083ca730dcad254c38af4e885d8 SHA512 e773e1e82a5b181fff67012effd749158e1816eccca12801107f3b7f994dca0875085a5313181c6389b65328729fd2c1b9d579a38e91ae1b1efc99f5e22b3223 -EBUILD python-tado-0.10.0.ebuild 842 BLAKE2B b65c3b4449b3ce25b2028008dfd5f79bfe560929551e2e406032129698dcaaa2d65a539bcdc0431a4af5753ac1f4dfa4ffbbcd0d77b72e7f8f9f5b427cc61b55 SHA512 a067ecc7d89ecaf8e7f5154efa0722266dbf528316511e7b2b58a24f2a8db945a8697bc570eee469adcca277817bb4b9e72f49c63968ae979e34e6aa74e713a4 -EBUILD python-tado-0.12.0.ebuild 853 BLAKE2B 7392cf27898b5ce0c04b3d24846925407091aaedb60391b5bfb05796181360610412c6793fa243b56629ba3efd8587443779911763efa97929f4025e6e4d3c33 SHA512 a76160988f477f36d28b19e5fb225f7dbec1f2df9e1c1e29cb472b3d089014b66dcf2a5c654db0ee411527e74d61f7057142452c0c70ddd5f56f3c1dd19e3710 +EBUILD python-tado-0.12.0.ebuild 854 BLAKE2B 9fb2a6694c20f37a9d45ef87376f53963dec6efd57fc1e4aa1439e92c90301852681f3ad44a9d1f3b7769a7122e08615ad0f79cf490c41e702227e4d74bec773 SHA512 c8760cd130f123769cba8b2f0cab31718b82f3a9adcb3794cc8e641c11aff6c1138fdb06d9da684c4efd7b47f9f69035a47b3f484ca64b7a459b9dc3016268a7 MISC metadata.xml 488 BLAKE2B 5884899b86260702756239fb7c896daefcbf4244b93964ffaf3d6b8bb7321bb7e9f3cb4c9aa680335ff6d61265aae6486531886ad5fde2a399a1d8437e2ce871 SHA512 7f75bbf0ebd8eadef37cdc2555b534eb3b4d8f51717ffc9cb5361b69e5221e514b97bac1764a7f913525a5c12b29e6dc69fbe4aaa9b4a856359ccef71998b912 diff --git a/dev-python/python-tado/python-tado-0.10.0.ebuild b/dev-python/python-tado/python-tado-0.10.0.ebuild deleted file mode 100644 index a4de4fe7c..000000000 --- a/dev-python/python-tado/python-tado-0.10.0.ebuild +++ /dev/null @@ -1,35 +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="PyTado from chrism0dwk, modfied by w.malgadey" -HOMEPAGE="https://github.com/wmalgadey/PyTado https://pypi.org/project/python-tado/" -MY_PN="PyTado" -SRC_URI="https://github.com/wmalgadey/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -S=${WORKDIR}/${MY_PN}-${PV} - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -DOCS="README.md" - -RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/nose[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - )" - -python_test() { - nosetests --verbose || die - py.test -v -v || die -} diff --git a/dev-python/python-tado/python-tado-0.12.0.ebuild b/dev-python/python-tado/python-tado-0.12.0.ebuild index 30b056d81..2fb651cad 100644 --- a/dev-python/python-tado/python-tado-0.12.0.ebuild +++ b/dev-python/python-tado/python-tado-0.12.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="7" +EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 x86" IUSE="test" RESTRICT="!test? ( test )" @@ -31,3 +31,5 @@ python_test() { nosetests --verbose || die py.test -v -v || die } + +distutils_enable_tests pytest