diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-08-29 06:24:36 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-08-29 06:24:36 +0200 |
commit | aa5d86ae50a8f9d2ba63bc30861b60eb4fed392e (patch) | |
tree | 5c7df78bb8f3c76a6f51976461fda3e3f2475984 /dev-python/progressbar2 | |
parent | dev-python/scikit-build: Bump to 0.18.1 (diff) | |
download | gentoo-aa5d86ae50a8f9d2ba63bc30861b60eb4fed392e.tar.gz gentoo-aa5d86ae50a8f9d2ba63bc30861b60eb4fed392e.tar.bz2 gentoo-aa5d86ae50a8f9d2ba63bc30861b60eb4fed392e.zip |
dev-python/progressbar2: Bump to 4.5.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/progressbar2')
-rw-r--r-- | dev-python/progressbar2/Manifest | 1 | ||||
-rw-r--r-- | dev-python/progressbar2/progressbar2-4.5.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/progressbar2/Manifest b/dev-python/progressbar2/Manifest index b5d609fac57c..c2a5750a2dd1 100644 --- a/dev-python/progressbar2/Manifest +++ b/dev-python/progressbar2/Manifest @@ -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 diff --git a/dev-python/progressbar2/progressbar2-4.5.0.ebuild b/dev-python/progressbar2/progressbar2-4.5.0.ebuild new file mode 100644 index 000000000000..35fd688e6504 --- /dev/null +++ b/dev-python/progressbar2/progressbar2-4.5.0.ebuild @@ -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 +} |