diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-01-05 19:16:27 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-01-05 19:17:39 +0200 |
commit | 72f8115e30f45c4bd666a470f12c1a0fdc0de4a7 (patch) | |
tree | 4fd92672919d58ef4b8409e3fb18417a0f87d835 /dev-python | |
parent | dev-python/requests: add 2.27.1 (diff) | |
download | gentoo-72f8115e30f45c4bd666a470f12c1a0fdc0de4a7.tar.gz gentoo-72f8115e30f45c4bd666a470f12c1a0fdc0de4a7.tar.bz2 gentoo-72f8115e30f45c4bd666a470f12c1a0fdc0de4a7.zip |
dev-python/progressbar2: add 4.0.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/progressbar2/Manifest | 1 | ||||
-rw-r--r-- | dev-python/progressbar2/progressbar2-4.0.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/progressbar2/Manifest b/dev-python/progressbar2/Manifest index 317ad24402e7..fafd0b7acf27 100644 --- a/dev-python/progressbar2/Manifest +++ b/dev-python/progressbar2/Manifest @@ -1 +1,2 @@ DIST progressbar2-3.55.0.tar.gz 371356 BLAKE2B 89034af2cc623063e98c9de1683f159c2eeb491354c66357d9c3fb5a7ac0503b5c9d2dd6ebf36d3e2803558f3841820188eaf6dc931e992c352e0e02fa020f87 SHA512 16dcdffeba6e9cb6696ac41c16701874c5f314432332d7ae2d898d1040e603c428240a8ca5718789d0d431750e2ae923a6f63fe75785213e80494bcc5825aab5 +DIST progressbar2-4.0.0.tar.gz 663046 BLAKE2B 1616f1b9c5f720f370dc9eb02ba37cf83391c853a525fca523fb33af1b580f38647b835a83558674a78dacc33bf7652cb9af8799ad13763f62d33417abaa35cf SHA512 b9b9dabb3093e42bc6f40c0e284caae2d29ebfa450db379c214a5ae39e7ccb8c690655da21a44882d0b68f24d83f55a3342671087a25ada168bce9d236685666 diff --git a/dev-python/progressbar2/progressbar2-4.0.0.ebuild b/dev-python/progressbar2/progressbar2-4.0.0.ebuild new file mode 100644 index 000000000000..4508bebf68fd --- /dev/null +++ b/dev-python/progressbar2/progressbar2-4.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 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-3.0.0[${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 +} |