From 7bd9c34fbdebf7290d979968b9658316703515b5 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sat, 15 Oct 2022 19:30:32 +0200 Subject: [PATCH] dev-python/arris-tg2492lg: remove olds, cleanup, enable pytest --- README.md | 4 +- dev-python/arris-tg2492lg/Manifest | 4 +- .../arris-tg2492lg-1.1.0.ebuild | 38 ------------------- .../arris-tg2492lg-1.2.1.ebuild | 6 ++- 4 files changed, 7 insertions(+), 45 deletions(-) delete mode 100644 dev-python/arris-tg2492lg/arris-tg2492lg-1.1.0.ebuild diff --git a/README.md b/README.md index 45178bff0..95e04625b 100644 --- a/README.md +++ b/README.md @@ -538,11 +538,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 1672 Ebuilds in total, 1665 of them have in total 1677 (35 different) licenses assigned. +There are 1671 Ebuilds in total, 1664 of them have in total 1676 (35 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|999| +|MIT|998| |Apache-2.0|322| |GPL-3|100| |BSD|96| diff --git a/dev-python/arris-tg2492lg/Manifest b/dev-python/arris-tg2492lg/Manifest index cf6b40ea5..ee282b4b6 100644 --- a/dev-python/arris-tg2492lg/Manifest +++ b/dev-python/arris-tg2492lg/Manifest @@ -1,5 +1,3 @@ -DIST arris-tg2492lg-1.1.0.tar.gz 4118 BLAKE2B 0559d203a0aa45610c894e2e2029a666e053c26789c5c9b5550ba92e8626dbb0918e97d3cae2213454dc04e938861747dfd208f5aefb90d5238e44fe61888117 SHA512 6e79574280bdc4937f65c125413fe2c8b520befc2ab5b645c928218f80048150b4b70bfb5666e337a0e7a636889d9153399f7688502da01c701eb5723e0c3c74 DIST arris-tg2492lg-1.2.1.tar.gz 5028 BLAKE2B 44b52d50cb43bc281ea5ef0ba7ba92f5fb3c53c8ffdd8246d72d4d82cb6ae8a87cad16db441688f14d21fa1dde21c08600489d7df704512f3c5520931aaebcc4 SHA512 f8a519bf20c18916380434671cfd1d5d212f7f2d136ce236e8764cb56968849629097585cfaf3c72f8d2da45fc853a5e7b54aa45995be274b5f5b373fc58ecbe -EBUILD arris-tg2492lg-1.1.0.ebuild 877 BLAKE2B c9e258720db65ce3749eb1c2149ba590355aaa68e17b80392fb2c98bcd1e78b28d0231b8b1368087ca0f006688152ec8a0e8c2df44268a4faaeae45f42aea3a7 SHA512 40b3b016114043578298d282ea6fb773c2a033da6652a64754631c490292926ef78aa381ef0d0eae3fa89d215c56f90d01f5c987c894aad5ce837fbaaa1a45cc -EBUILD arris-tg2492lg-1.2.1.ebuild 764 BLAKE2B 4d088e4cafa22d1d7724377f559701ccf2b7c14483b93126b79d22316f2780a3a3577c34e00d5c8b2893a67cec41f9493de4ee0ec04644b737d3a181e39402ea SHA512 9e1489a965bb7646a88040d3d3326bdd671535f1e7dd769ed38ae52c544adaa18bdd093e3a2a058fc5cb8be0002fe055a9fb662775d9aae414c1decb5396247a +EBUILD arris-tg2492lg-1.2.1.ebuild 767 BLAKE2B 6bb818d94c0491f24640e9ec2cce52c8a89eced4aff7f5345c8f226865192eee9d8424f23618f0813e42dc3dc6ce36659bd68b9e1c78a6fdfa9afbb171569feb SHA512 a35fc0116b9e4f7cac814bbadcd2baf6c1e401e975e6b6aea673cb68187e8821b80997b83787d6b0f6cb87a136991ca109a1f2783707ae42668a75795f3070d9 MISC metadata.xml 333 BLAKE2B 24e62463e54ce54dcd99bf65b974b0d927d4e732e78f889ffcf6ed96a69e9f6885f3b676a4b9c1fae75e0409db5faacd83440c6ac5008208b5b88d52a7af0fca SHA512 f44e69e75f5c38fabf89b12e494f34733b7c51b8ce427c7b987ca53de29eca28ef284a34b8bbf1ccb59167e9d8fab37ad012475f2462f78680cfeb950d081650 diff --git a/dev-python/arris-tg2492lg/arris-tg2492lg-1.1.0.ebuild b/dev-python/arris-tg2492lg/arris-tg2492lg-1.1.0.ebuild deleted file mode 100644 index 1aacf4e40..000000000 --- a/dev-python/arris-tg2492lg/arris-tg2492lg-1.1.0.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 client for the Arris TG2492LG" -HOMEPAGE="https://github.com/vanbalken/arris-tg2492lg https://pypi.org/project/arris-tg2492lg/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -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}] - )" - -src_prepare() { - sed "s/find_packages()/find_packages(exclude=['tests'])/g" -i setup.py || die - eapply_user -} - -python_test() { - nosetests --verbose || die - py.test -v -v || die -} diff --git a/dev-python/arris-tg2492lg/arris-tg2492lg-1.2.1.ebuild b/dev-python/arris-tg2492lg/arris-tg2492lg-1.2.1.ebuild index 51a88d9e5..cbfdb3695 100644 --- a/dev-python/arris-tg2492lg/arris-tg2492lg-1.2.1.ebuild +++ b/dev-python/arris-tg2492lg/arris-tg2492lg-1.2.1.ebuild @@ -3,7 +3,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="MIT" 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