dev-python/progressbar2: Bump to 4.5.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-08-29 06:24:36 +02:00
parent 0a2d4729c6
commit aa5d86ae50
2 changed files with 44 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST progressbar2-4.4.2.tar.gz 101342 BLAKE2B 67625a794bd19a4ed78be25789980038c69a6590277f085befeef805397972ff1160543814523c425218e019647f1c1641451198e2dd08a5f8eacd9e507a04af SHA512 705383badb3943d3d339854d02ee4114f0e76261373deb8f9aff00fe6aae7f37bacccbbc673c2cb36114c7f8ebbafa96a06408ce6e90c3d26a2e2c65ece86958
DIST progressbar2-4.5.0.tar.gz 101449 BLAKE2B 3c4adc503d1b6e0121dd579719aa6758a52459cf7c2d63016032edd89d9f22918b1e0b497237b1658f703d790273feb64818e420b752a5f0e04e99e75042fc1d SHA512 84d13cce516aebc184285479849a1f4d16d16bbd48c7eab55c28ce131f5c770d97368df1ca57499a59e4d2994bce5a0cef7cc3d7c3a358b2dd6beba785f5db33

View File

@@ -0,0 +1,43 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} pypy3 )
inherit distutils-r1 pypi
DESCRIPTION="Text progressbar library for python"
HOMEPAGE="
https://progressbar-2.readthedocs.io/
https://github.com/WoLpH/python-progressbar/
https://pypi.org/project/progressbar2/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
>=dev-python/python-utils-3.8.1[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/dill-0.3.6[${PYTHON_USEDEP}]
>=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
sed -i -e '/cov/d' pytest.ini || die
default
}
python_test() {
local -x PYTHONDONTWRITEBYTECODE=1
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest tests
}