summaryrefslogtreecommitdiff
path: root/dev-python/loguru
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
commitf716a9fe6455d39eef01e718aae68dae61c19704 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-python/loguru
parent3f9cf298e89cd5037b982abba06091224ee76daf (diff)
downloadbaldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip
Adding metadata
Diffstat (limited to 'dev-python/loguru')
-rw-r--r--dev-python/loguru/Manifest1
-rw-r--r--dev-python/loguru/files/loguru-0.7.3-py314.patch58
-rw-r--r--dev-python/loguru/loguru-0.7.3.ebuild52
-rw-r--r--dev-python/loguru/metadata.xml19
4 files changed, 0 insertions, 130 deletions
diff --git a/dev-python/loguru/Manifest b/dev-python/loguru/Manifest
deleted file mode 100644
index c72c64e9f689..000000000000
--- a/dev-python/loguru/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST loguru-0.7.3.gh.tar.gz 459102 BLAKE2B 7d7cf167e1350814eea6a358cc00bac217ea6b153ae29ffd70c026f3be63cc126fbc184668ea643ea03416fc8f805bd51502fd8cc9e8d9bcc19099814b8c3fe6 SHA512 9bceddf7c83a14b4c62e3f48f9dc5d6957e068b4f0a8ce3e83ade0b558acd35dda86372d4c6c7abc489aebac3a3203eca56615c5973f42e15973e85894799fe7
diff --git a/dev-python/loguru/files/loguru-0.7.3-py314.patch b/dev-python/loguru/files/loguru-0.7.3-py314.patch
deleted file mode 100644
index c47d81608288..000000000000
--- a/dev-python/loguru/files/loguru-0.7.3-py314.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From 84023e2bd8339de95250470f422f096edcb8f7b7 Mon Sep 17 00:00:00 2001
-From: Delgan <delgan.py@gmail.com>
-Date: Sat, 5 Jul 2025 22:43:12 +0200
-Subject: [PATCH] Fix failing "exception_modern" unit test with Python 3.14
- (#1331)
-
-The test relies on the "repr()" output of a few classes which are
-not meant to be considered as a stabilized API. In this
-specific case, "Union" representation was changed upstream from
-"typing.Union" to "<class 'typing.Union'>" (kind of leak
-implementation details).
-
-I simply replaced the dummy "Union" with "Tuple" in the unit test,
-since its representation appears stable acrcoss versions.
----
- tests/exceptions/output/modern/type_hints.txt | 4 ++--
- tests/exceptions/source/modern/type_hints.py | 4 ++--
- 2 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/tests/exceptions/output/modern/type_hints.txt b/tests/exceptions/output/modern/type_hints.txt
-index 64484d3f..917180a3 100644
---- a/tests/exceptions/output/modern/type_hints.txt
-+++ b/tests/exceptions/output/modern/type_hints.txt
-@@ -10,11 +10,11 @@
-  └ <function foo at 0xDEADBEEF>
-
- File "tests/exceptions/source/modern/type_hints.py", line 15, in foo
-- def foo(a: int, b: Union[Name, float], c: "Name") -> T: 1 / 0
-+ def foo(a: int, b: Tuple[Name, float], c: "Name") -> T: 1 / 0
-  │ │ │ │ │ │ └ ~T
-  │ │ │ │ │ └ 3
-  │ │ │ │ └ <class 'str'>
--  │ │ │ └ typing.Union
-+  │ │ │ └ typing.Tuple
-  │ │ └ 2
-  │ └ 1
-  └ <function foo at 0xDEADBEEF>
-diff --git a/tests/exceptions/source/modern/type_hints.py b/tests/exceptions/source/modern/type_hints.py
-index 84b36e51..cda95a68 100644
---- a/tests/exceptions/source/modern/type_hints.py
-+++ b/tests/exceptions/source/modern/type_hints.py
-@@ -1,6 +1,6 @@
- # fmt: off
- import sys
--from typing import TypeVar, Union
-+from typing import TypeVar, Tuple
-
- from loguru import logger
-
-@@ -12,7 +12,7 @@
- Name = str
-
-
--def foo(a: int, b: Union[Name, float], c: "Name") -> T: 1 / 0
-+def foo(a: int, b: Tuple[Name, float], c: "Name") -> T: 1 / 0
-
-
- def main():
diff --git a/dev-python/loguru/loguru-0.7.3.ebuild b/dev-python/loguru/loguru-0.7.3.ebuild
deleted file mode 100644
index 738e3bbfa373..000000000000
--- a/dev-python/loguru/loguru-0.7.3.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2019-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=flit
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit distutils-r1
-
-DESCRIPTION="Python logging made (stupidly) simple"
-HOMEPAGE="
- https://github.com/Delgan/loguru/
- https://pypi.org/project/loguru/
-"
-SRC_URI="
- https://github.com/Delgan/loguru/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-BDEPEND="
- test? (
- >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}]
- >=dev-python/freezegun-1.5.0[${PYTHON_USEDEP}]
- )
-"
-
-# filesystem buffering tests may fail
-# on tmpfs with 64k PAGESZ, but pass fine on ext4
-EPYTEST_PLUGINS=()
-distutils_enable_tests pytest
-
-EPYTEST_IGNORE=(
- # mypy
- tests/test_type_hinting.py
-)
-
-src_prepare() {
- local PATCHES=(
- # https://github.com/Delgan/loguru/commit/84023e2bd8339de95250470f422f096edcb8f7b7
- "${FILESDIR}/${P}-py314.patch"
- )
-
- distutils-r1_src_prepare
-
- # neuter mypy integration
- sed -i -e 's:sys.version_info >= (3, 6):False:' tests/conftest.py || die
-}
diff --git a/dev-python/loguru/metadata.xml b/dev-python/loguru/metadata.xml
deleted file mode 100644
index 726516bfb038..000000000000
--- a/dev-python/loguru/metadata.xml
+++ /dev/null
@@ -1,19 +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>
- <longdescription lang="en">
- This library is intended to make Python logging less painful
- by adding a bunch of useful functionalities that solve caveats
- of the standard loggers. Using logs in your application should
- be an automatism, Loguru tries to make it both pleasant
- and powerful.
- </longdescription>
- <upstream>
- <remote-id type="github">Delgan/loguru</remote-id>
- <remote-id type="pypi">loguru</remote-id>
- </upstream>
-</pkgmetadata>