dev-python/progressbar2: add 4.1.1

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin 2022-10-18 20:22:09 +03:00
parent c16537f9b0
commit a086f3e09d
No known key found for this signature in database
GPG Key ID: 02A0AF503D120504
2 changed files with 35 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST progressbar2-4.0.0.tar.gz 663046 BLAKE2B 1616f1b9c5f720f370dc9eb02ba37cf83391c853a525fca523fb33af1b580f38647b835a83558674a78dacc33bf7652cb9af8799ad13763f62d33417abaa35cf SHA512 b9b9dabb3093e42bc6f40c0e284caae2d29ebfa450db379c214a5ae39e7ccb8c690655da21a44882d0b68f24d83f55a3342671087a25ada168bce9d236685666
DIST progressbar2-4.1.1.tar.gz 638622 BLAKE2B f9e73c29aac68f3f12c978e29990382dd2a31f668159f9198c162901b2e4ae1e52943fb0a3259fadb8aa62e45e57c0f867923e064953c6f9ddc5ff2c62a5dea1 SHA512 4df7652584c867589448ea8765ba2da99ce5e4c9cfc27268ff850dfe41efa6342a6a44f19384c5c54ef8c79432db35a755958ed9561cf2d37f98fc661a42099f

View File

@ -0,0 +1,34 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} 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
}