diff options
Diffstat (limited to 'dev-python/progressbar2')
| -rw-r--r-- | dev-python/progressbar2/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/progressbar2/progressbar2-4.6.0.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/progressbar2/Manifest b/dev-python/progressbar2/Manifest index 3f58da7d31a1..e494180281ea 100644 --- a/dev-python/progressbar2/Manifest +++ b/dev-python/progressbar2/Manifest @@ -1 +1,3 @@ DIST progressbar2-4.5.0.tar.gz 101449 BLAKE2B 3c4adc503d1b6e0121dd579719aa6758a52459cf7c2d63016032edd89d9f22918b1e0b497237b1658f703d790273feb64818e420b752a5f0e04e99e75042fc1d SHA512 84d13cce516aebc184285479849a1f4d16d16bbd48c7eab55c28ce131f5c770d97368df1ca57499a59e4d2994bce5a0cef7cc3d7c3a358b2dd6beba785f5db33 +DIST progressbar2-4.6.0.tar.gz 542464 BLAKE2B 52bc0d64d762b4292490838c192a617d6e68bd17bb9f2231d521ba7ee1da4b94e6a2e8e564280d4d434741a001348931da5b97ec721726b23624cebd1c47918f SHA512 c5c60867fa46a2d1828d6cacef06b1d6b41563aa5e3e188b312b74a7dd745b89ad4c11b7147dd02d9a8ab8a80d2c366ca7348dcb9a677e2efe91dd4fa2dbd3bf +DIST progressbar2-4.6.0.tar.gz.provenance 10004 BLAKE2B 3c7e00e26646833488162c3d498ce06598d08c3162c55944425027ebc04e4bb39068d9097786b3c401b70ad6d990ccfb3d884967924d1f9ea0c4c51e708c29d0 SHA512 75abe23df0ac2d1d9650f2016dfdf697f7dc4a258c87f4bd554abe56510d284abfc133c194e9a213c6c144ffa152c2ce995c982acae06fa58816430450c7ba59 diff --git a/dev-python/progressbar2/progressbar2-4.6.0.ebuild b/dev-python/progressbar2/progressbar2-4.6.0.ebuild new file mode 100644 index 000000000000..7d437a5d7f3a --- /dev/null +++ b/dev-python/progressbar2/progressbar2-4.6.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/wolph/python-progressbar +PYTHON_COMPAT=( python3_{13..14} ) + +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=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/dill-0.3.6[${PYTHON_USEDEP}] + >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # wall clock timing + tests/test_fastpath.py::test_iterator_overhead_is_low + ) + + local -x PYTHONDONTWRITEBYTECODE=1 + epytest tests +} |
