diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-10-18 20:22:09 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-10-18 21:07:37 +0300 |
commit | a086f3e09d7f82ad2bdd2f54bb69d4aba525d5b6 (patch) | |
tree | ee0d66cbd600244cbd2da04b8552ed564702ae59 | |
parent | dev-vcs/git: bump for security: CVE 2022-39253, CVE 2022-39260 (diff) | |
download | gentoo-a086f3e09d7f82ad2bdd2f54bb69d4aba525d5b6.tar.gz gentoo-a086f3e09d7f82ad2bdd2f54bb69d4aba525d5b6.tar.bz2 gentoo-a086f3e09d7f82ad2bdd2f54bb69d4aba525d5b6.zip |
dev-python/progressbar2: add 4.1.1
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | dev-python/progressbar2/Manifest | 1 | ||||
-rw-r--r-- | dev-python/progressbar2/progressbar2-4.1.1.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/progressbar2/Manifest b/dev-python/progressbar2/Manifest index 0d877556c2e0..42ecadf766ce 100644 --- a/dev-python/progressbar2/Manifest +++ b/dev-python/progressbar2/Manifest @@ -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 diff --git a/dev-python/progressbar2/progressbar2-4.1.1.ebuild b/dev-python/progressbar2/progressbar2-4.1.1.ebuild new file mode 100644 index 000000000000..cdd74919e01e --- /dev/null +++ b/dev-python/progressbar2/progressbar2-4.1.1.ebuild @@ -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 +} |