diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2021-08-25 20:34:43 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2021-08-25 20:40:33 +0300 |
commit | 0bbbbf4a443d59400c642ba0dbae55fbd196bff6 (patch) | |
tree | 25ff1e87533528e63ad8324e66ebf8d3e2e84f57 /dev-python | |
parent | dev-python/progressbar2: add github upstream metadata (diff) | |
download | gentoo-0bbbbf4a443d59400c642ba0dbae55fbd196bff6.tar.gz gentoo-0bbbbf4a443d59400c642ba0dbae55fbd196bff6.tar.bz2 gentoo-0bbbbf4a443d59400c642ba0dbae55fbd196bff6.zip |
dev-python/progressbar2: enable py3.10, epytest, clean deps
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/progressbar2/progressbar2-3.53.1.ebuild | 16 |
1 files changed, 8 insertions, 8 deletions
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 } |