mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
dev-python/loguru: Bump to 0.8.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST loguru-0.7.3.gh.tar.gz 459102 BLAKE2B 7d7cf167e1350814eea6a358cc00bac217ea6b153ae29ffd70c026f3be63cc126fbc184668ea643ea03416fc8f805bd51502fd8cc9e8d9bcc19099814b8c3fe6 SHA512 9bceddf7c83a14b4c62e3f48f9dc5d6957e068b4f0a8ce3e83ade0b558acd35dda86372d4c6c7abc489aebac3a3203eca56615c5973f42e15973e85894799fe7
|
||||
DIST loguru-0.8.0.gh.tar.gz 477026 BLAKE2B 5f45e465c4d939a1ee607eef633ad3f9d5c174fdc4bb09fb6ef122e46d72b5b4c72b6dd361af41fd74cb78b3da815bb14b8b2bacbbf234f221624e100efb9dae SHA512 8940176cc8fa1ff959a3ec92100c9abbd6d6f73a8b0b1bcb9bcd74572b4ab1cf718d5470832ed153c152f0db2be99e04a78f85132acf30d24770d425589a0fd1
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
# Copyright 2019-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit-core
|
||||
PYTHON_COMPAT=( python3_{12..15} )
|
||||
|
||||
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() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# neuter mypy integration
|
||||
sed -i -e 's:sys.version_info >= (3, 6):False:' tests/conftest.py || die
|
||||
}
|
||||
Reference in New Issue
Block a user