summaryrefslogtreecommitdiff
path: root/dev-python/coloredlogs
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-python/coloredlogs
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'dev-python/coloredlogs')
-rw-r--r--dev-python/coloredlogs/Manifest1
-rw-r--r--dev-python/coloredlogs/coloredlogs-15.0.1-r2.ebuild47
-rw-r--r--dev-python/coloredlogs/files/coloredlogs-14.0-fix-install-prefix.patch35
-rw-r--r--dev-python/coloredlogs/files/coloredlogs-15.0.1-py3.13.patch43
-rw-r--r--dev-python/coloredlogs/metadata.xml12
5 files changed, 0 insertions, 138 deletions
diff --git a/dev-python/coloredlogs/Manifest b/dev-python/coloredlogs/Manifest
deleted file mode 100644
index db81430ab4ea..000000000000
--- a/dev-python/coloredlogs/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST coloredlogs-15.0.1.tar.gz 278520 BLAKE2B 446aea9adfc8a1ea7f2e5b4a0279d124a3e174feec4a6d9346059fa00fbcb2717d6480392051cc44f0c1f66e022cfc03238acae59b9496e9f70695d99143dfd6 SHA512 577af26af8d27bca3f10e6aaa257245aba608cc3832985ba57bcb2b590b10bf054796a2210749c15ee1b1a17623e007e4ac3ba17bed6af95544f85f5dfafaf21
diff --git a/dev-python/coloredlogs/coloredlogs-15.0.1-r2.ebuild b/dev-python/coloredlogs/coloredlogs-15.0.1-r2.ebuild
deleted file mode 100644
index 01738756f04a..000000000000
--- a/dev-python/coloredlogs/coloredlogs-15.0.1-r2.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1 pypi
-
-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/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~x86"
-
-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}/${PN}-14.0-fix-install-prefix.patch"
- "${FILESDIR}/${PN}-15.0.1-py3.13.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
-}
diff --git a/dev-python/coloredlogs/files/coloredlogs-14.0-fix-install-prefix.patch b/dev-python/coloredlogs/files/coloredlogs-14.0-fix-install-prefix.patch
deleted file mode 100644
index d6b60c3bdf57..000000000000
--- a/dev-python/coloredlogs/files/coloredlogs-14.0-fix-install-prefix.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-commit 6f566c799323feb3b8dc2b82e62953040a6a5129
-Author: Louis Sautier <sautier.louis@gmail.com>
-Date: Sat Sep 26 10:30:37 2020 +0200
-
- setup.py: use absolute paths for pth files
-
- On some systems (such as PyPy3 on Gentoo), distutils' `data` path is not
- `sys.prefix`, which means that we cannot rely on relative paths.
-
-diff --git a/setup.py b/setup.py
-index 057dd80..7674adc 100755
---- a/setup.py
-+++ b/setup.py
-@@ -66,9 +66,9 @@ def find_pth_directory():
- Determine the correct directory pathname for installing ``*.pth`` files.
-
- To install a ``*.pth`` file using a source distribution archive (created
-- when ``python setup.py sdist`` is called) the relative directory pathname
-- ``lib/pythonX.Y/site-packages`` needs to be passed to the ``data_files``
-- option to ``setup()``.
-+ when ``python setup.py sdist`` is called) the directory pathname
-+ ``/usr/lib/pythonX.Y/site-packages`` needs to be passed to the ``data_files``
-+ option of ``setup()``.
-
- Unfortunately this breaks universal wheel archives (created when ``python
- setup.py bdist_wheel --universal`` is called) because a specific Python
-@@ -81,7 +81,7 @@ def find_pth_directory():
- directory without hard coding its location.
- """
- return ('/' if 'bdist_wheel' in sys.argv
-- else os.path.relpath(distutils.sysconfig.get_python_lib(), sys.prefix))
-+ else distutils.sysconfig.get_python_lib())
-
-
- setup(name='coloredlogs',
diff --git a/dev-python/coloredlogs/files/coloredlogs-15.0.1-py3.13.patch b/dev-python/coloredlogs/files/coloredlogs-15.0.1-py3.13.patch
deleted file mode 100644
index 649683b4944e..000000000000
--- a/dev-python/coloredlogs/files/coloredlogs-15.0.1-py3.13.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 9d4f4020897fcf48d381de8e099dc29b53fc9531 Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Wed, 12 Jun 2024 14:00:28 -0400
-Subject: [PATCH] Replace pipes.quote with shlex.quote on Python 3
-
-The shlex.quote() API is available from Python 3.3 on; pipes.quote() was
-never documented, and is removed in Python 3.13.
-
-Fixes #119.
-
-Upstream-PR: https://github.com/xolox/python-coloredlogs/pull/120
-Upstream-Issue: https://github.com/xolox/python-coloredlogs/issues/119
-
-diff --git a/coloredlogs/converter/__init__.py b/coloredlogs/converter/__init__.py
-index a424469..96817a0 100644
---- a/coloredlogs/converter/__init__.py
-+++ b/coloredlogs/converter/__init__.py
-@@ -9,11 +9,15 @@
- # Standard library modules.
- import codecs
- import os
--import pipes
- import re
- import subprocess
- import tempfile
-
-+try:
-+ from shlex import quote # Python 3
-+except ImportError:
-+ from pipes import quote # Python 2 (removed in 3.13)
-+
- # External dependencies.
- from humanfriendly.terminal import (
- ANSI_CSI,
-@@ -75,7 +79,7 @@ def capture(command, encoding='UTF-8'):
- #
- # [1] http://man7.org/linux/man-pages/man1/script.1.html
- # [2] https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/script.1.html
-- command_line = ['script', '-qc', ' '.join(map(pipes.quote, command)), '/dev/null']
-+ command_line = ['script', '-qc', ' '.join(map(quote, command)), '/dev/null']
- script = subprocess.Popen(command_line, stdout=subprocess.PIPE, stderr=dev_null)
- stdout, stderr = script.communicate()
- if script.returncode == 0:
diff --git a/dev-python/coloredlogs/metadata.xml b/dev-python/coloredlogs/metadata.xml
deleted file mode 100644
index 4a1738b9498b..000000000000
--- a/dev-python/coloredlogs/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
- <upstream>
- <remote-id type="pypi">coloredlogs</remote-id>
- <remote-id type="github">xolox/python-coloredlogs</remote-id>
- </upstream>
-</pkgmetadata>