summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/progressbar2/progressbar2-3.53.1.ebuild16
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
}