mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/loguru: add 0.6.0
Closes: https://bugs.gentoo.org/832534 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST loguru-0.5.3.tar.gz 413858 BLAKE2B 995df880138e09ae80c33c1c96aea36acc635c8915687ca708b708eb4a92722908da4c5c4b03e8dd01ef1a3be560c072821405010f03e131781c4f3dbb7bd9cf SHA512 d26e9fcc79b6eb3437b53a03b8200679bdda8de2bced7710fb252ff3c19622fea48c20c8258a62bcd625bd18bfee080ed0a182876d91f34e1f2ef3524ac9bb46
|
||||
DIST loguru-0.6.0.tar.gz 417660 BLAKE2B a7b7d95ffcf652769503db3423768ff85a4fa4898f0e2b155d96ce0c42fa7f24255f9dc49ba62e8a4f19bb3b7cc8b374580fe0965c9683b14d9bcea9866e71a5 SHA512 6ca7087cde3b4ce11255e31af988e5e118a7ebfbb338b97ebd6e7e4af716f0301c0180a59b18c879fd799c25802b428411b868290b7593212f06d70bcbd6a9ca
|
||||
|
||||
45
dev-python/loguru/files/0.6.0-typos.patch
Normal file
45
dev-python/loguru/files/0.6.0-typos.patch
Normal file
@@ -0,0 +1,45 @@
|
||||
From 8b820c7a138f0b320311c85e8ea6e1c017576000 Mon Sep 17 00:00:00 2001
|
||||
From: Delgan <4193924+Delgan@users.noreply.github.com>
|
||||
Date: Sat, 29 Jan 2022 14:50:59 +0100
|
||||
Subject: [PATCH 1/2] Fix small typo in CHANGELOG.md
|
||||
|
||||
---
|
||||
CHANGELOG.rst | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
|
||||
index 4c57fad..1d08f9d 100644
|
||||
--- a/CHANGELOG.rst
|
||||
+++ b/CHANGELOG.rst
|
||||
@@ -184,7 +184,7 @@ Initial release.
|
||||
|
||||
|
||||
.. _Unreleased: https://github.com/delgan/loguru/compare/0.6.0...master
|
||||
-.. -0.6.0: https://github.com/delgan/loguru/releases/tag/0.6.0
|
||||
+.. _0.6.0: https://github.com/delgan/loguru/releases/tag/0.6.0
|
||||
.. _0.5.3: https://github.com/delgan/loguru/releases/tag/0.5.3
|
||||
.. _0.5.2: https://github.com/delgan/loguru/releases/tag/0.5.2
|
||||
.. _0.5.1: https://github.com/delgan/loguru/releases/tag/0.5.1
|
||||
|
||||
From ee1ce85a047fc396276e10ae92b72610cbafd57b Mon Sep 17 00:00:00 2001
|
||||
From: Delgan <4193924+Delgan@users.noreply.github.com>
|
||||
Date: Sun, 30 Jan 2022 20:28:37 +0100
|
||||
Subject: [PATCH 2/2] Fix another small typo in CHANGELOG.rst
|
||||
|
||||
---
|
||||
CHANGELOG.rst | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
|
||||
index 1d08f9d..6e1c182 100644
|
||||
--- a/CHANGELOG.rst
|
||||
+++ b/CHANGELOG.rst
|
||||
@@ -1,7 +1,7 @@
|
||||
`0.6.0`_ (2022-01-29)
|
||||
=====================
|
||||
|
||||
-- Remove internal use of ``pickle.loads()`` considered as a security vulnerability referenced as `CVE-2022-0329 https://nvd.nist.gov/vuln/detail/CVE-2022-0329`_ (`#563 <https://github.com/Delgan/loguru/issues/563>`_).
|
||||
+- Remove internal use of ``pickle.loads()`` considered as a security vulnerability referenced as `CVE-2022-0329 <https://nvd.nist.gov/vuln/detail/CVE-2022-0329>`_ (`#563 <https://github.com/Delgan/loguru/issues/563>`_).
|
||||
- Modify coroutine sink to make it discard log messages when ``loop=None`` and no event loop is running (due to internally using ``asyncio.get_running_loop()`` in place of ``asyncio.get_event_loop()``).
|
||||
- Remove the possibility to add a coroutine sink with ``enqueue=True`` if ``loop=None`` and no event loop is running.
|
||||
- Change default encoding of file sink to be ``utf8`` instead of ``locale.getpreferredencoding()`` (`#339 <https://github.com/Delgan/loguru/issues/339>`_).
|
||||
24
dev-python/loguru/loguru-0.6.0.ebuild
Normal file
24
dev-python/loguru/loguru-0.6.0.ebuild
Normal file
@@ -0,0 +1,24 @@
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python logging made (stupidly) simple"
|
||||
HOMEPAGE="https://github.com/Delgan/loguru"
|
||||
SRC_URI="https://github.com/Delgan/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="$(python_gen_cond_dep 'dev-python/aiocontextvars[${PYTHON_USEDEP}]' 'python3_6')"
|
||||
BDEPEND="test? ( >=dev-python/colorama-0.3.4[${PYTHON_USEDEP}] )"
|
||||
# filesystem buffering tests may fail
|
||||
# on tmpfs with 64k PAGESZ, but pass fine on ext4
|
||||
distutils_enable_tests pytest
|
||||
|
||||
PATCHES=( "${FILESDIR}/0.6.0-typos.patch" )
|
||||
Reference in New Issue
Block a user