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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F25C713835A for ; Sat, 12 Jun 2021 06:39:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5546EE08CE; Sat, 12 Jun 2021 06:39:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C4AEE08CE for ; Sat, 12 Jun 2021 06:39:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3BB11335C77 for ; Sat, 12 Jun 2021 06:39:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E6197AC for ; Sat, 12 Jun 2021 06:39: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: <1623479946.bc667cdf16fc0f38395f9168b4942449698f6938.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/coloredlogs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/coloredlogs/Manifest dev-python/coloredlogs/coloredlogs-15.0.1.ebuild X-VCS-Directories: dev-python/coloredlogs/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: bc667cdf16fc0f38395f9168b4942449698f6938 X-VCS-Branch: master Date: Sat, 12 Jun 2021 06:39: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: c2cc37ae-1ab9-4757-9a25-7efdf2b19dbc X-Archives-Hash: 2a0741f38501bc343be17abea6d2119c commit: bc667cdf16fc0f38395f9168b4942449698f6938 Author: Michał Górny gentoo org> AuthorDate: Sat Jun 12 06:12:06 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jun 12 06:39:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc667cdf dev-python/coloredlogs: Bump to 15.0.1 Signed-off-by: Michał Górny gentoo.org> dev-python/coloredlogs/Manifest | 1 + dev-python/coloredlogs/coloredlogs-15.0.1.ebuild | 43 ++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/coloredlogs/Manifest b/dev-python/coloredlogs/Manifest index 33c860803bc..b338c23d8ef 100644 --- a/dev-python/coloredlogs/Manifest +++ b/dev-python/coloredlogs/Manifest @@ -1 +1,2 @@ DIST coloredlogs-14.0.tar.gz 275863 BLAKE2B 0a8c026220955397378ad2b43a69c89c5710a09e2d9ed81a3f25408c60e171f4b8f78239696a0bc1b51fc3dd9bfca80df63e1f1d7afb6bee0046209a089e0d6d SHA512 3434a95f3216d19af5d7a48324e5afd5e975f92d9f6b99f40df2c0a635f1738e0bc6d7277a549a42a0fec5a8601f82908c4b0205ceeb3666f49210f66fe58671 +DIST coloredlogs-15.0.1.tar.gz 278520 BLAKE2B 446aea9adfc8a1ea7f2e5b4a0279d124a3e174feec4a6d9346059fa00fbcb2717d6480392051cc44f0c1f66e022cfc03238acae59b9496e9f70695d99143dfd6 SHA512 577af26af8d27bca3f10e6aaa257245aba608cc3832985ba57bcb2b590b10bf054796a2210749c15ee1b1a17623e007e4ac3ba17bed6af95544f85f5dfafaf21 diff --git a/dev-python/coloredlogs/coloredlogs-15.0.1.ebuild b/dev-python/coloredlogs/coloredlogs-15.0.1.ebuild new file mode 100644 index 00000000000..806bf1c5c1a --- /dev/null +++ b/dev-python/coloredlogs/coloredlogs-15.0.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{8..9} ) +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 + +python_test() { + # test_cli_conversion requires the package to be installed + distutils_install_for_testing + # test_auto_install fails because the pth file isn't being loaded + epytest coloredlogs/tests.py \ + --deselect coloredlogs/tests.py::ColoredLogsTestCase::test_auto_install +}