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 70E61158020 for ; Tue, 8 Nov 2022 09:18:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94D1EE09CC; Tue, 8 Nov 2022 09:18:24 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 810A4E09CC for ; Tue, 8 Nov 2022 09:18:24 +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 7B62C340FFC for ; Tue, 8 Nov 2022 09:18:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B82616EA for ; Tue, 8 Nov 2022 09:18:21 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1667899093.a2f7f2523b9fe739bb67df101c6b01c856e81cbb.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/coloredlogs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/coloredlogs/coloredlogs-15.0.1-r1.ebuild X-VCS-Directories: dev-python/coloredlogs/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: a2f7f2523b9fe739bb67df101c6b01c856e81cbb X-VCS-Branch: master Date: Tue, 8 Nov 2022 09:18:21 +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: e90a3a10-da69-41e6-954f-cd193f855b64 X-Archives-Hash: 0c75dddde8d4b2794bad2c84d9a7a3d0 commit: a2f7f2523b9fe739bb67df101c6b01c856e81cbb Author: Andrew Ammerlaan gentoo org> AuthorDate: Tue Nov 8 09:16:58 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Nov 8 09:18:13 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2f7f252 dev-python/coloredlogs: update EAPI 7 -> 8, pep517, enable py3.11 Signed-off-by: Andrew Ammerlaan gentoo.org> .../coloredlogs/coloredlogs-15.0.1-r1.ebuild | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/dev-python/coloredlogs/coloredlogs-15.0.1-r1.ebuild b/dev-python/coloredlogs/coloredlogs-15.0.1-r1.ebuild new file mode 100644 index 000000000000..6512b8283079 --- /dev/null +++ b/dev-python/coloredlogs/coloredlogs-15.0.1-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( pypy3 python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Colored stream handler for the logging module" +HOMEPAGE=" + https://pypi.org/project/coloredlogs/ + https://github.com/xolox/python-coloredlogs + https://coloredlogs.readthedocs.io/en/latest/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/humanfriendly-9.1[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/capturer[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/verboselogs[${PYTHON_USEDEP}] + ) +" + +PATCHES=( "${FILESDIR}/coloredlogs-14.0-fix-install-prefix.patch" ) + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # test_auto_install fails because the pth file isn't being loaded + coloredlogs/tests.py::ColoredLogsTestCase::test_auto_install +) + +python_test() { + epytest coloredlogs/tests.py +}