From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 77A6415852A for ; Thu, 29 Aug 2024 04:53:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68012E29E0; Thu, 29 Aug 2024 04:53:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 464CAE29E0 for ; Thu, 29 Aug 2024 04:53:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 89B82340C53 for ; Thu, 29 Aug 2024 04:52:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8D61A11DA for ; Thu, 29 Aug 2024 04:52:57 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1724905476.aa5d86ae50a8f9d2ba63bc30861b60eb4fed392e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/progressbar2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/progressbar2/Manifest dev-python/progressbar2/progressbar2-4.5.0.ebuild X-VCS-Directories: dev-python/progressbar2/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: aa5d86ae50a8f9d2ba63bc30861b60eb4fed392e X-VCS-Branch: master Date: Thu, 29 Aug 2024 04:52:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b867e53e-6b75-49ea-be42-939361fce1a4 X-Archives-Hash: 68ac24571846191c9bcc43ac6d876242 commit: aa5d86ae50a8f9d2ba63bc30861b60eb4fed392e Author: Michał Górny gentoo org> AuthorDate: Thu Aug 29 04:24:36 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Aug 29 04:24:36 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa5d86ae dev-python/progressbar2: Bump to 4.5.0 Signed-off-by: Michał Górny gentoo.org> dev-python/progressbar2/Manifest | 1 + dev-python/progressbar2/progressbar2-4.5.0.ebuild | 43 +++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/progressbar2/Manifest b/dev-python/progressbar2/Manifest index b5d609fac57c..c2a5750a2dd1 100644 --- a/dev-python/progressbar2/Manifest +++ b/dev-python/progressbar2/Manifest @@ -1 +1,2 @@ DIST progressbar2-4.4.2.tar.gz 101342 BLAKE2B 67625a794bd19a4ed78be25789980038c69a6590277f085befeef805397972ff1160543814523c425218e019647f1c1641451198e2dd08a5f8eacd9e507a04af SHA512 705383badb3943d3d339854d02ee4114f0e76261373deb8f9aff00fe6aae7f37bacccbbc673c2cb36114c7f8ebbafa96a06408ce6e90c3d26a2e2c65ece86958 +DIST progressbar2-4.5.0.tar.gz 101449 BLAKE2B 3c4adc503d1b6e0121dd579719aa6758a52459cf7c2d63016032edd89d9f22918b1e0b497237b1658f703d790273feb64818e420b752a5f0e04e99e75042fc1d SHA512 84d13cce516aebc184285479849a1f4d16d16bbd48c7eab55c28ce131f5c770d97368df1ca57499a59e4d2994bce5a0cef7cc3d7c3a358b2dd6beba785f5db33 diff --git a/dev-python/progressbar2/progressbar2-4.5.0.ebuild b/dev-python/progressbar2/progressbar2-4.5.0.ebuild new file mode 100644 index 000000000000..35fd688e6504 --- /dev/null +++ b/dev-python/progressbar2/progressbar2-4.5.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Text progressbar library for python" +HOMEPAGE=" + https://progressbar-2.readthedocs.io/ + https://github.com/WoLpH/python-progressbar/ + https://pypi.org/project/progressbar2/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/python-utils-3.8.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/dill-0.3.6[${PYTHON_USEDEP}] + >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/cov/d' pytest.ini || die + default +} + +python_test() { + local -x PYTHONDONTWRITEBYTECODE=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests +}