summaryrefslogtreecommitdiff
path: root/dev-python/colorlog
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-12-20 18:25:44 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-12-20 18:25:44 +0000
commit75faf0bfb80ae2fdf6ebfefc6f85a25d0b92edcb (patch)
tree10ba46afe4687003a9cffe3b1bed384854c28055 /dev-python/colorlog
parente8e63602dd835388febd56302f9d0cedcd525c15 (diff)
downloadbaldeagleos-repo-75faf0bfb80ae2fdf6ebfefc6f85a25d0b92edcb.tar.gz
baldeagleos-repo-75faf0bfb80ae2fdf6ebfefc6f85a25d0b92edcb.tar.xz
baldeagleos-repo-75faf0bfb80ae2fdf6ebfefc6f85a25d0b92edcb.zip
Adding metadata
Diffstat (limited to 'dev-python/colorlog')
-rw-r--r--dev-python/colorlog/Manifest1
-rw-r--r--dev-python/colorlog/colorlog-6.7.0.ebuild25
-rw-r--r--dev-python/colorlog/colorlog-6.8.0.ebuild2
-rw-r--r--dev-python/colorlog/files/colorlog-6.7.0-nocolor.patch31
4 files changed, 1 insertions, 58 deletions
diff --git a/dev-python/colorlog/Manifest b/dev-python/colorlog/Manifest
index acff1ab09cbb..134a7e97a81f 100644
--- a/dev-python/colorlog/Manifest
+++ b/dev-python/colorlog/Manifest
@@ -1,2 +1 @@
-DIST colorlog-6.7.0.tar.gz 29920 BLAKE2B b4240f3fd17b17ead968293e54d5f4e589515d333a6cdf157a6d913c7457deff67d320ee87270ce05b853616134901c8ac47c4a542ef74158e1174d92de00b3c SHA512 19b3c04beb8ac26d3db69f78bc1e7db40288c95ba7edc7c1d2495d592262dea9a1bf91e42dce0e575341eb2a572f0050866970f23d3be8c5adae518c4115787d
DIST colorlog-6.8.0.tar.gz 29939 BLAKE2B fd260f0c4149283a008d0902962848c579500f24937c2ae7a0ef75f6f10552f9739c5c1dce9553e264617f6662a9d3c8c31943d6690a4769abfa550dc4862f76 SHA512 a16752be362ed1ed5104e54d872d847873b9bc9138d59a8e525e32b386c8824c7a21689c354517392de6f16035601ce0f30daebc32d08b911c18ca4004292e02
diff --git a/dev-python/colorlog/colorlog-6.7.0.ebuild b/dev-python/colorlog/colorlog-6.7.0.ebuild
deleted file mode 100644
index 4ceb5a392b14..000000000000
--- a/dev-python/colorlog/colorlog-6.7.0.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Log formatting with colors"
-HOMEPAGE="
- https://pypi.org/project/colorlog/
- https://github.com/borntyping/python-colorlog/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm64 ~riscv x86"
-
-distutils_enable_tests pytest
-
-PATCHES=(
- "${FILESDIR}/${P}-nocolor.patch"
-)
diff --git a/dev-python/colorlog/colorlog-6.8.0.ebuild b/dev-python/colorlog/colorlog-6.8.0.ebuild
index 7ed39d7eaadc..0a7afc91590a 100644
--- a/dev-python/colorlog/colorlog-6.8.0.ebuild
+++ b/dev-python/colorlog/colorlog-6.8.0.ebuild
@@ -16,6 +16,6 @@ HOMEPAGE="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 arm64 ~riscv x86"
distutils_enable_tests pytest
diff --git a/dev-python/colorlog/files/colorlog-6.7.0-nocolor.patch b/dev-python/colorlog/files/colorlog-6.7.0-nocolor.patch
deleted file mode 100644
index cbd799a2f0d7..000000000000
--- a/dev-python/colorlog/files/colorlog-6.7.0-nocolor.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 4babdb5f18bd4799c25d61f0f7937b5e164770cc Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Fri, 24 Nov 2023 16:45:42 +0100
-Subject: [PATCH] Fix running tests in environment with NO_COLOR=1
-
-Fix running the test suite when pytest is run with NO_COLOR=1 set
-in the environment. An fixture is autoused to ensure that the variables
-are removed for the scope of the test, while they are respected
-e.g. by pytest itself.
----
- colorlog/tests/conftest.py | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/colorlog/tests/conftest.py b/colorlog/tests/conftest.py
-index 65fd6d4..33e23e6 100644
---- a/colorlog/tests/conftest.py
-+++ b/colorlog/tests/conftest.py
-@@ -28,6 +28,13 @@ def assert_log_message(capsys, log_function, message, *args):
- return err
-
-
-+@pytest.fixture(autouse=True)
-+def clean_env(monkeypatch):
-+ monkeypatch.delenv("FORCE_COLOR", raising=False)
-+ monkeypatch.delenv("NO_COLOR", raising=False)
-+ yield
-+
-+
- @pytest.fixture()
- def reset_loggers():
- logging.root.handlers = list()