diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-02-26 05:33:41 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-02-26 05:33:41 +0100 |
commit | a14369673885c6f44412c7e0a4d3f325c42980c7 (patch) | |
tree | 3e5e8df20ee70e4ea801308b1324e2f79bb98ea3 /dev-python/progressbar2 | |
parent | dev-python/html2text: Bump to 2024.2.25 (diff) | |
download | gentoo-a14369673885c6f44412c7e0a4d3f325c42980c7.tar.gz gentoo-a14369673885c6f44412c7e0a4d3f325c42980c7.tar.bz2 gentoo-a14369673885c6f44412c7e0a4d3f325c42980c7.zip |
dev-python/progressbar2: Bump to 4.4.1
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.4.1.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/progressbar2/Manifest b/dev-python/progressbar2/Manifest index 806d8a5916a0..1bde591b7515 100644 --- a/dev-python/progressbar2/Manifest +++ b/dev-python/progressbar2/Manifest @@ -1 +1,2 @@ DIST progressbar2-4.3.2.tar.gz 92504 BLAKE2B d5e0149fc54f3c4397c3de946db1aeef5c41e104ead1b0db1b19f81071a685c87ab3b425ea5eb3098db046db3a2ebfb29bce9a954f653327b5735fbb4f2c1f7f SHA512 d885a8b568149acf7a2cb5e5698f8677ee777c11a907f187c70c4ff4b52c656c40439ac8af00b652e5ddd4325721863c66b9f1a1b9a95d84f5fe081f94e4e0bf +DIST progressbar2-4.4.1.tar.gz 101229 BLAKE2B 0817682a33910dd4e1f5c84528298fae3acca49003c9cc3af6034bde8e5a3214e3d87f733ba5a7e04b9648cf87272257a24d2c73c64a7d2dd2992fec5254d0ab SHA512 41748c4d51bbf51dc6c91e4612c22e8350753a9c4c0984a4b6cc170ae367224c413833c7e9853880012f746c8d2bb52c62a812f5d4c0054f081b39573228a29c diff --git a/dev-python/progressbar2/progressbar2-4.4.1.ebuild b/dev-python/progressbar2/progressbar2-4.4.1.ebuild new file mode 100644 index 000000000000..c22fa61d1930 --- /dev/null +++ b/dev-python/progressbar2/progressbar2-4.4.1.ebuild @@ -0,0 +1,44 @@ +# 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..12} 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}] + !dev-python/progressbar +" +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 +} |