summaryrefslogtreecommitdiff
path: root/dev-python/progressbar2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-18 19:50:47 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-18 19:50:47 +0000
commit1252b7a51c2cc6bd3a81830544cacce0aefc0bf1 (patch)
tree46f7231a8d885b3bd21739910f346623e6d92c86 /dev-python/progressbar2
parent64602f81dd4ecc257e8c5139f42b902d3555ea78 (diff)
gentoo auto-resync : 18:12:2023 - 19:50:47
Diffstat (limited to 'dev-python/progressbar2')
-rw-r--r--dev-python/progressbar2/Manifest2
-rw-r--r--dev-python/progressbar2/progressbar2-4.3.2.ebuild44
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/progressbar2/Manifest b/dev-python/progressbar2/Manifest
index ebfe1ff2cfc5..daa2c82c9623 100644
--- a/dev-python/progressbar2/Manifest
+++ b/dev-python/progressbar2/Manifest
@@ -1,3 +1,5 @@
DIST progressbar2-4.2.0.tar.gz 650564 BLAKE2B 7b4d9604626d0944040e59af1b52bf1cf2c045b6a256c7fd4233fa2ee22491484ecb721fe680ad326f7ef383c7070cebad38729c45e91ca2d3b6fcc6c51127a1 SHA512 d49c154e48bd730c2a7916ed53272ff20cb6fac8c9752734cf645d4701ffcdf25309bf493d03fdc5b6072a85b5f758332fa7448f307d4acc001ad4ab36303a68
+DIST progressbar2-4.3.2.tar.gz 92504 BLAKE2B d5e0149fc54f3c4397c3de946db1aeef5c41e104ead1b0db1b19f81071a685c87ab3b425ea5eb3098db046db3a2ebfb29bce9a954f653327b5735fbb4f2c1f7f SHA512 d885a8b568149acf7a2cb5e5698f8677ee777c11a907f187c70c4ff4b52c656c40439ac8af00b652e5ddd4325721863c66b9f1a1b9a95d84f5fe081f94e4e0bf
EBUILD progressbar2-4.2.0.ebuild 765 BLAKE2B 364ee3f6391aa83af2aa1eeae9cc926ed09214bda009e32dc184b708243e04524b215adc83c467fee128ba9eabe11382740365c486389f6c9a22750f90649381 SHA512 781840ea97ed192b2904e0a7c604f7fcf162895cbcd0d6b1195f0b89d184e8fa4e71bcee4367f5fb214efc2e80df95216a6a9fce6ff3b5ba70c70159d9c57fd8
+EBUILD progressbar2-4.3.2.ebuild 873 BLAKE2B cb3b50e5fd3148b63253e821c279752d3c3e9c3e26aa51714270959a2a3de9ed81e34a20b4f0bbd34244c0275eaa94abb7c5ea118151a840ba184a5b4b98b0b1 SHA512 42c28a7dce46ec5c7bf86ffb970d09cd4e750b1ccd3ba2e28f6212de5eb2354ae5581959172d5de153b8aecd67fce78c710c8ecc7ca66b79f03f039dc6798d8b
MISC metadata.xml 404 BLAKE2B 774a579e397ff18f4196eaf238847e52062742b1ff00999e6b970c4a0f5e032d6caf57e2f64903882269738bdeefa3b3533711d36c68694989ffe6b508c9c467 SHA512 95bd7c3ad0f1addc6d6dd57aa89f04b20ad7019b35468aa44cb5077a819c4658cf64196c5443a671d8beb339f5bdbf40e544807b21c7e2bc11b39da5e0e8dc99
diff --git a/dev-python/progressbar2/progressbar2-4.3.2.ebuild b/dev-python/progressbar2/progressbar2-4.3.2.ebuild
new file mode 100644
index 000000000000..05702970ee6f
--- /dev/null
+++ b/dev-python/progressbar2/progressbar2-4.3.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 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
+}