commit: 97e0a952ab948d15b859afc0b36703352db50d35
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 7 06:58:34 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 7 07:06:58 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97e0a952
dev-python/loguru: Bump to 0.7.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/loguru/Manifest | 1 +
dev-python/loguru/loguru-0.7.3.ebuild | 46 +++++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/dev-python/loguru/Manifest b/dev-python/loguru/Manifest
index 4d7b0008da94..6a13fdb39b73 100644
--- a/dev-python/loguru/Manifest
+++ b/dev-python/loguru/Manifest
@@ -1 +1,2 @@
DIST loguru-0.7.2.gh.tar.gz 443643 BLAKE2B
208c4ad989257e0e0d5cecf41c9722f398e5c73528f8a88c92e28490121723d5c19b4170ff246446e94237e8bb732f83e4b9fcc66c42aa7e3c1ba25aaa069e34
SHA512
e4d358f12ec33393bdac836206a15a3161653684b69839f58bbdc692155e4aee4b6ec700ab13b83f431a67df5ec86cacf2cb90fa052827e5e03c68c1f132e339
+DIST loguru-0.7.3.gh.tar.gz 459102 BLAKE2B
7d7cf167e1350814eea6a358cc00bac217ea6b153ae29ffd70c026f3be63cc126fbc184668ea643ea03416fc8f805bd51502fd8cc9e8d9bcc19099814b8c3fe6
SHA512
9bceddf7c83a14b4c62e3f48f9dc5d6957e068b4f0a8ce3e83ade0b558acd35dda86372d4c6c7abc489aebac3a3203eca56615c5973f42e15973e85894799fe7
diff --git a/dev-python/loguru/loguru-0.7.3.ebuild
b/dev-python/loguru/loguru-0.7.3.ebuild
new file mode 100644
index 000000000000..c536b710757f
--- /dev/null
+++ b/dev-python/loguru/loguru-0.7.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{10..13} )
+
+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
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+ # mypy
+ tests/test_type_hinting.py
+)
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # neuter mypy integration
+ sed -i -e 's:sys.version_info >= (3, 6):False:' tests/conftest.py || die
+}