summaryrefslogtreecommitdiff
path: root/dev-python/loguru
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-08 02:07:29 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-08 02:07:29 +0000
commit494168b06b81a32b889c3cb1f721f925d0a6824f (patch)
tree0ec763ffa61af808a83f365fb6680258d2e28a50 /dev-python/loguru
parent2198f8593ae0312add1bdccb49edfcb935e5f8a6 (diff)
gentoo auto-resync : 08:12:2024 - 02:07:28
Diffstat (limited to 'dev-python/loguru')
-rw-r--r--dev-python/loguru/Manifest2
-rw-r--r--dev-python/loguru/loguru-0.7.3.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/loguru/Manifest b/dev-python/loguru/Manifest
index b83392c166d5..6d07ac243351 100644
--- a/dev-python/loguru/Manifest
+++ b/dev-python/loguru/Manifest
@@ -1,3 +1,5 @@
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
EBUILD loguru-0.7.2.ebuild 748 BLAKE2B e8473c4a9d51446c24ba33d0e80d0fdb37050a551d06d5d7c977b215d53b8ab699c34e845a99d08b8e8bc513b7c9720797b8f52174062e3778a913bfad33fc9c SHA512 afb0586d2afedda1b84416ee835f239f5261afc605b04d304ced53407c85fa4cb591631e919864d8a152f8a29809bb70123e41654a8747808de5664d652d1deb
+EBUILD loguru-0.7.3.ebuild 909 BLAKE2B a5663e1740d860afb01c8cb7191932fc851a0856e787ae2590a8a62ed6df185aebc16ff7d209ee4210b872cd8cc638dea366c75061e6328ddc645b4727e41ef7 SHA512 69da2a0dcd00e7767ffd8c43a7b4a4b27a66ad3562e080007863e880ff3e4d94d14c937a58b3119a1ca1799e689d007bc08c027198f5cd57acf0e89876dbc202
MISC metadata.xml 680 BLAKE2B 49425d2b621120f4cf4c38f62cdda57a2f3240189b1ccc3c3cd4bd6b25015f294838f70e3bb961e26fbcfecc3651ec899de2611b4c7a21948a76617fe9b412bf SHA512 2edc73636018c4fea4436da3047ae7f3b56d249ffc72a90a97963ea423e4d2a21b6e2dcb241bc79a782204e6eecc7fb26d9129306e7846f590d782477bc0b111
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
+}