From 0bbbbf4a443d59400c642ba0dbae55fbd196bff6 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Wed, 25 Aug 2021 20:34:43 +0300 Subject: dev-python/progressbar2: enable py3.10, epytest, clean deps Signed-off-by: Arthur Zamarin --- dev-python/progressbar2/progressbar2-3.53.1.ebuild | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'dev-python/progressbar2') diff --git a/dev-python/progressbar2/progressbar2-3.53.1.ebuild b/dev-python/progressbar2/progressbar2-3.53.1.ebuild index dc065e44f017..8e572770470d 100644 --- a/dev-python/progressbar2/progressbar2-3.53.1.ebuild +++ b/dev-python/progressbar2/progressbar2-3.53.1.ebuild @@ -2,22 +2,23 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} pypy3) +PYTHON_COMPAT=( python3_{8..10} pypy3) inherit distutils-r1 DESCRIPTION="Text progressbar library for python" -HOMEPAGE="https://pypi.org/project/progressbar2/" +HOMEPAGE="https://progressbar-2.readthedocs.io/ https://pypi.org/project/progressbar2/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~x86" -CDEPEND="!dev-python/progressbar[${PYTHON_USEDEP}] - dev-python/python-utils[${PYTHON_USEDEP}]" -RDEPEND="${CDEPEND}" -BDEPEND="${CDEPEND} +RDEPEND=" + dev-python/python-utils[${PYTHON_USEDEP}] + !dev-python/progressbar +" +BDEPEND=" test? ( dev-python/freezegun[${PYTHON_USEDEP}] )" distutils_enable_tests pytest @@ -28,6 +29,5 @@ src_prepare() { } python_test() { - cd tests || die - PYTHONDONTWRITEBYTECODE=1 pytest -vv || die "Tests failed with ${EPYTHON}" + PYTHONDONTWRITEBYTECODE=1 epytest tests } -- cgit v1.2.3-65-gdbad