From 16571b0b1da112163bf8a8be65547d812331dd95 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sun, 16 Oct 2022 16:02:59 +0200 Subject: [PATCH] dev-python/pvo: remove olds, cleanup, enable pytest --- README.md | 4 ++-- dev-python/pvo/Manifest | 4 +--- dev-python/pvo/pvo-0.2.1.ebuild | 37 --------------------------------- dev-python/pvo/pvo-0.2.2.ebuild | 6 ++++-- 4 files changed, 7 insertions(+), 44 deletions(-) delete mode 100644 dev-python/pvo/pvo-0.2.1.ebuild diff --git a/README.md b/README.md index 4cc0e93e2..2bfae71f5 100644 --- a/README.md +++ b/README.md @@ -547,11 +547,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 1570 Ebuilds in total, 1563 of them have in total 1575 (34 different) licenses assigned. +There are 1569 Ebuilds in total, 1562 of them have in total 1574 (34 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|930| +|MIT|929| |Apache-2.0|310| |GPL-3|95| |BSD|89| diff --git a/dev-python/pvo/Manifest b/dev-python/pvo/Manifest index ee53962b3..ab2f16adf 100644 --- a/dev-python/pvo/Manifest +++ b/dev-python/pvo/Manifest @@ -1,5 +1,3 @@ -DIST pvo-0.2.1.tar.gz 7903 BLAKE2B 4b167a5a08ab2ea50d47a4cc33dc4aba46b5dfc69955ff9fde5791b15888bd0c704bf2a266759169dfb73a36d6e1f65762475f002b7d915a96412cbf77c3eb38 SHA512 ef87a28a235f30b0a9872e20cc0cec41b01f0d2bd21fd8b23b2957fbd995344b5749252a10fdebff4fa24e72f8598a750fb6ddce021121bdb04e67194fa37d04 DIST pvo-0.2.2.tar.gz 7986 BLAKE2B 539c1cad9f8e735cb92784b5a153ba2e763e8b8777a31a8eacdd98a6ed26ae4cfe8c1c602ac15dbd5ef6b95b385f1995e253db6538a94e6d5de8dda15ea03ee1 SHA512 14b8c81fda90bb6d08641c5af3deeac06ca953bca626dbbc244e327dbaa0f4c77a290d688203951883979da032aa093a1f85c455cabc1049505b555b6d2eac93 -EBUILD pvo-0.2.1.ebuild 941 BLAKE2B 1b767543a4d89b046f555034f84f3dd9627aea195d88e9ee33eecdc6e0e8698a10ed6fbab4a2490d918ceec1333e75f47a48c54a2022c5e747d2ed212c82f691 SHA512 72bcd518f4d2a054413aee2f2031cf637964904ad647e010ef2c2b7fe2385c70f2fb8000cab6f41f6d14fbcc5a0c10a9b87f0e70070ec623bc131a99cb56c644 -EBUILD pvo-0.2.2.ebuild 941 BLAKE2B 1b767543a4d89b046f555034f84f3dd9627aea195d88e9ee33eecdc6e0e8698a10ed6fbab4a2490d918ceec1333e75f47a48c54a2022c5e747d2ed212c82f691 SHA512 72bcd518f4d2a054413aee2f2031cf637964904ad647e010ef2c2b7fe2385c70f2fb8000cab6f41f6d14fbcc5a0c10a9b87f0e70070ec623bc131a99cb56c644 +EBUILD pvo-0.2.2.ebuild 944 BLAKE2B 9ff49752f414a2b5d9e0929a02987200d4b94c16babc5a49e84cf09179b5fb38fef9a8c1df4a34aa388bd4550ac6055b6f12995ddf1c895e38bbe5d1a52c291a SHA512 703b331dd4368fdf8c5b71e12084bf352d27a6f4b53162ccfa5fe81b5e9763594d0bd6e8ef1e567b9813e33c028d896db998244649976fe9f48039ee681e75c4 MISC metadata.xml 450 BLAKE2B 2b1b19060909f969d28f8dfe8e2e4437e8305a50d73208f38da29c74e0397720f5876199550b5a6da743805391f78c70f7f196617a8d5023fbf85ac11b46a145 SHA512 4aa060d91e1c1b85807f17820c0d7ca57a24d6ba2a664836d10c8c65ff77ebe61608348c2fd86ec9f3115a0184c5f5b3d573d7eefa10c7297eed925b6150f5ec diff --git a/dev-python/pvo/pvo-0.2.1.ebuild b/dev-python/pvo/pvo-0.2.1.ebuild deleted file mode 100644 index 8d6648027..000000000 --- a/dev-python/pvo/pvo-0.2.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="Asynchronous client for the PVOutput API." -HOMEPAGE="https://github.com/frenck/python-pvoutput https://pypi.org/project/pvo/" -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/aiohttp-3.0.0[${PYTHON_USEDEP}] - >=dev-python/pydantic-1.8.0[${PYTHON_USEDEP}] - >=dev-python/yarl-1.6.0[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/nose[${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/pvo/pvo-0.2.2.ebuild b/dev-python/pvo/pvo-0.2.2.ebuild index 8d6648027..bc0e01edb 100644 --- a/dev-python/pvo/pvo-0.2.2.ebuild +++ b/dev-python/pvo/pvo-0.2.2.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 )" @@ -35,3 +35,5 @@ python_test() { nosetests --verbose || die py.test -v -v || die } + +distutils_enable_tests pytest