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 1934A158091 for ; Fri, 17 Jun 2022 06:02:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F12DE0923; Fri, 17 Jun 2022 06:02:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 386F9E0916 for ; Fri, 17 Jun 2022 06:02:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 14197342110 for ; Fri, 17 Jun 2022 06:02:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 62D1F509 for ; Fri, 17 Jun 2022 06:02:36 +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: <1655445736.3d2da1feda6268ea24d7c8afa6613e90e894b501.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/colorama/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/colorama/Manifest dev-python/colorama/colorama-0.4.5.ebuild X-VCS-Directories: dev-python/colorama/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3d2da1feda6268ea24d7c8afa6613e90e894b501 X-VCS-Branch: master Date: Fri, 17 Jun 2022 06:02:36 +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: 89f5efb4-3f65-417f-baa2-94228ace439a X-Archives-Hash: 849fdda717c597097bc7533d2237d583 commit: 3d2da1feda6268ea24d7c8afa6613e90e894b501 Author: Michał Górny gentoo org> AuthorDate: Fri Jun 17 05:19:59 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jun 17 06:02:16 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d2da1fe dev-python/colorama: Bump to 0.4.5 Signed-off-by: Michał Górny gentoo.org> dev-python/colorama/Manifest | 1 + dev-python/colorama/colorama-0.4.5.ebuild | 50 +++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-python/colorama/Manifest b/dev-python/colorama/Manifest index a2a495069170..275fcb107dca 100644 --- a/dev-python/colorama/Manifest +++ b/dev-python/colorama/Manifest @@ -1 +1,2 @@ DIST colorama-0.4.4.github.tar.gz 109439 BLAKE2B cbf08d4bd26924e269fd8b2ae6f9c7ecec905907acb296ded52b6b9c473c1a3b88945563cf00d4ddbf01c5bbfc4244997da20b47051594ca86a632a33c29fed2 SHA512 35501915b79bfc5fe46a36f83790ecd79c82150d6b73a57cd55fbe6431ea5ed7a86676504af90147eeb3a963ffd16890e0220099df579a66f2d8f1f7494f862e +DIST colorama-0.4.5.gh.tar.gz 113373 BLAKE2B d7b071b1efa585c26c48f26af7a0df9bff25e3986f2615889fd25c34d785c256ac3c4655375f13e7d1bc6972f7fa64bd48a819d988160ceb75fda356d645876d SHA512 d4d3b2a4c6a0966b5c15a12cd789e4b68e5b632c4d745d93fcff5e250fe10e5d45dd2a8bd25f4399cca31a358aecf99f354aa3e1b74369ae382b51bd6c87644f diff --git a/dev-python/colorama/colorama-0.4.5.ebuild b/dev-python/colorama/colorama-0.4.5.ebuild new file mode 100644 index 000000000000..643b99ccd355 --- /dev/null +++ b/dev-python/colorama/colorama-0.4.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="ANSI escape character sequences for colored terminal text & cursor positioning" +HOMEPAGE=" + https://pypi.org/project/colorama/ + https://github.com/tartley/colorama/ +" +SRC_URI=" + https://github.com/tartley/colorama/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + docinto examples + dodoc -r demos/. + docompress -x /usr/share/doc/${PF}/examples + fi +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # Some tests require stdout to be a TTY + # https://github.com/tartley/colorama/issues/169 + script -eqc "${EPYTHON} -m pytest -vv -s" /dev/null \ + || die "tests failed with ${EPYTHON}" +}