summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-09-15 22:02:50 +0200
committerMichał Górny <mgorny@gentoo.org>2021-09-15 22:26:07 +0200
commitd994f2b21c406273848e5396205e231d5c7c667b (patch)
treef8d3cf06399e03760dd58cded98ec8a1afe5ea4a /dev-python/progressbar2
parentdev-python/breathe: Bump to 4.31.0 (diff)
downloadgentoo-d994f2b21c406273848e5396205e231d5c7c667b.tar.gz
gentoo-d994f2b21c406273848e5396205e231d5c7c667b.tar.bz2
gentoo-d994f2b21c406273848e5396205e231d5c7c667b.zip
dev-python/progressbar2: Bump to 3.53.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/progressbar2')
-rw-r--r--dev-python/progressbar2/Manifest1
-rw-r--r--dev-python/progressbar2/progressbar2-3.53.3.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/progressbar2/Manifest b/dev-python/progressbar2/Manifest
index 91e1ccfb2905..06d3c6e07672 100644
--- a/dev-python/progressbar2/Manifest
+++ b/dev-python/progressbar2/Manifest
@@ -1 +1,2 @@
DIST progressbar2-3.53.1.tar.gz 44741 BLAKE2B 80f406adf42c5c57ecad87002426115e1254339d5cd310dd42f560f48a1123702dffbba8f26114a01f2bd5be75a29cb12cc1c091d5554509b6282ceb2b66fb76 SHA512 4817bbb45d0f51ee2b3feceec56b3177ed5d0561894a13eea53a30e8b9aad5805483b5b669af93f3fd0cc958984b8a5c2a14ba3591e0a85be12180d057bc2f81
+DIST progressbar2-3.53.3.tar.gz 240718 BLAKE2B 01f0d0cf6c546855d2cac10cc1164fb68308b60e1095499f8838d7c82127860235f65d742a137db5acdce6ac50e65aff7580a6f6a344942d4c78375cc23085b4 SHA512 6399d8fa8270fc0241969d94ce284161516b42c0fdc3fbf2dfe8a0dfcca72933d23ec9b99c4118cebbca376f5821337aacd11fcee6eee5988d6caf73d1f3112d
diff --git a/dev-python/progressbar2/progressbar2-3.53.3.ebuild b/dev-python/progressbar2/progressbar2-3.53.3.ebuild
new file mode 100644
index 000000000000..3ef7e67ff9f9
--- /dev/null
+++ b/dev-python/progressbar2/progressbar2-3.53.3.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
+}