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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2369F158041 for ; Mon, 26 Feb 2024 04:35:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A87CE29CC; Mon, 26 Feb 2024 04:35:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 52A27E29CC for ; Mon, 26 Feb 2024 04:35:15 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 99591335D2B for ; Mon, 26 Feb 2024 04:35:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D615F14D3 for ; Mon, 26 Feb 2024 04:35:11 +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: <1708922021.a14369673885c6f44412c7e0a4d3f325c42980c7.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.4.1.ebuild X-VCS-Directories: dev-python/progressbar2/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a14369673885c6f44412c7e0a4d3f325c42980c7 X-VCS-Branch: master Date: Mon, 26 Feb 2024 04:35:11 +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: 851400fd-6cc3-4ca9-afbc-a79c2e7da331 X-Archives-Hash: 31afebc0429887e0df2cc44337e164f4 commit: a14369673885c6f44412c7e0a4d3f325c42980c7 Author: Michał Górny gentoo org> AuthorDate: Mon Feb 26 04:33:41 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Feb 26 04:33:41 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1436967 dev-python/progressbar2: Bump to 4.4.1 Signed-off-by: Michał Górny gentoo.org> dev-python/progressbar2/Manifest | 1 + dev-python/progressbar2/progressbar2-4.4.1.ebuild | 44 +++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/progressbar2/Manifest b/dev-python/progressbar2/Manifest index 806d8a5916a0..1bde591b7515 100644 --- a/dev-python/progressbar2/Manifest +++ b/dev-python/progressbar2/Manifest @@ -1 +1,2 @@ DIST progressbar2-4.3.2.tar.gz 92504 BLAKE2B d5e0149fc54f3c4397c3de946db1aeef5c41e104ead1b0db1b19f81071a685c87ab3b425ea5eb3098db046db3a2ebfb29bce9a954f653327b5735fbb4f2c1f7f SHA512 d885a8b568149acf7a2cb5e5698f8677ee777c11a907f187c70c4ff4b52c656c40439ac8af00b652e5ddd4325721863c66b9f1a1b9a95d84f5fe081f94e4e0bf +DIST progressbar2-4.4.1.tar.gz 101229 BLAKE2B 0817682a33910dd4e1f5c84528298fae3acca49003c9cc3af6034bde8e5a3214e3d87f733ba5a7e04b9648cf87272257a24d2c73c64a7d2dd2992fec5254d0ab SHA512 41748c4d51bbf51dc6c91e4612c22e8350753a9c4c0984a4b6cc170ae367224c413833c7e9853880012f746c8d2bb52c62a812f5d4c0054f081b39573228a29c diff --git a/dev-python/progressbar2/progressbar2-4.4.1.ebuild b/dev-python/progressbar2/progressbar2-4.4.1.ebuild new file mode 100644 index 000000000000..c22fa61d1930 --- /dev/null +++ b/dev-python/progressbar2/progressbar2-4.4.1.ebuild @@ -0,0 +1,44 @@ +# 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..12} 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}] + !dev-python/progressbar +" +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 +}