summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-10-15 22:33:28 +0200
committerMichał Górny <mgorny@gentoo.org>2021-10-15 23:07:34 +0200
commitf2152aea0f95a1a246335261e95d12375c6254cc (patch)
tree95051bacb8d6cb062b514728d373429f019a2029 /dev-python
parentdev-python/smmap: Bump to 5.0.0 (diff)
downloadgentoo-f2152aea0f95a1a246335261e95d12375c6254cc.tar.gz
gentoo-f2152aea0f95a1a246335261e95d12375c6254cc.tar.bz2
gentoo-f2152aea0f95a1a246335261e95d12375c6254cc.zip
dev-python/progressbar2: Bump to 3.55.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/progressbar2/Manifest1
-rw-r--r--dev-python/progressbar2/progressbar2-3.55.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/progressbar2/Manifest b/dev-python/progressbar2/Manifest
index 2547cd0657c9..4615a79ba6f6 100644
--- a/dev-python/progressbar2/Manifest
+++ b/dev-python/progressbar2/Manifest
@@ -1,3 +1,4 @@
DIST progressbar2-3.53.1.tar.gz 44741 BLAKE2B 80f406adf42c5c57ecad87002426115e1254339d5cd310dd42f560f48a1123702dffbba8f26114a01f2bd5be75a29cb12cc1c091d5554509b6282ceb2b66fb76 SHA512 4817bbb45d0f51ee2b3feceec56b3177ed5d0561894a13eea53a30e8b9aad5805483b5b669af93f3fd0cc958984b8a5c2a14ba3591e0a85be12180d057bc2f81
DIST progressbar2-3.53.3.tar.gz 240718 BLAKE2B 01f0d0cf6c546855d2cac10cc1164fb68308b60e1095499f8838d7c82127860235f65d742a137db5acdce6ac50e65aff7580a6f6a344942d4c78375cc23085b4 SHA512 6399d8fa8270fc0241969d94ce284161516b42c0fdc3fbf2dfe8a0dfcca72933d23ec9b99c4118cebbca376f5821337aacd11fcee6eee5988d6caf73d1f3112d
DIST progressbar2-3.54.0.tar.gz 365257 BLAKE2B b36c7b795a9afa5f35f447e325f217a0d6ff092081265f43654fb093c67bf94fe8ffcb2d8d2a51ed50036ccdc535afac69b5a1b1ead4515b636105edbe927f55 SHA512 d8a896aea4eed5e65347227417e691156890c202f40a792a111a86fb9ea788a9d85e1e6923a2227160dbb890f9767dd9156d396fe7d1307cb9445fd057c0342a
+DIST progressbar2-3.55.0.tar.gz 371356 BLAKE2B 89034af2cc623063e98c9de1683f159c2eeb491354c66357d9c3fb5a7ac0503b5c9d2dd6ebf36d3e2803558f3841820188eaf6dc931e992c352e0e02fa020f87 SHA512 16dcdffeba6e9cb6696ac41c16701874c5f314432332d7ae2d898d1040e603c428240a8ca5718789d0d431750e2ae923a6f63fe75785213e80494bcc5825aab5
diff --git a/dev-python/progressbar2/progressbar2-3.55.0.ebuild b/dev-python/progressbar2/progressbar2-3.55.0.ebuild
new file mode 100644
index 000000000000..511a1bafb990
--- /dev/null
+++ b/dev-python/progressbar2/progressbar2-3.55.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Text progressbar library for python"
+HOMEPAGE="https://progressbar-2.readthedocs.io/ https://pypi.org/project/progressbar2/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/python-utils[${PYTHON_USEDEP}]
+ !dev-python/progressbar
+"
+BDEPEND="
+ test? ( dev-python/freezegun[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ sed -i -e '/cov/d' pytest.ini || die
+ default
+}
+
+python_test() {
+ PYTHONDONTWRITEBYTECODE=1 epytest tests
+}