summaryrefslogtreecommitdiff
path: root/dev-python/loguru/loguru-0.6.0-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/loguru/loguru-0.6.0-r1.ebuild')
-rw-r--r--dev-python/loguru/loguru-0.6.0-r1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-python/loguru/loguru-0.6.0-r1.ebuild b/dev-python/loguru/loguru-0.6.0-r1.ebuild
index 6c59eba2c805..d4b4aeee1ce2 100644
--- a/dev-python/loguru/loguru-0.6.0-r1.ebuild
+++ b/dev-python/loguru/loguru-0.6.0-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
@@ -16,6 +16,8 @@ HOMEPAGE="
SRC_URI="
https://github.com/Delgan/loguru/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
+ https://github.com/Delgan/loguru/commit/4fe21f66991abeb1905e24c3bc3c634543d959a2.patch
+ -> ${P}-py311-repr-tests.patch
"
LICENSE="MIT"
@@ -29,7 +31,9 @@ BDEPEND="
"
PATCHES=(
- "${FILESDIR}/0.6.0-typos.patch"
+ "${FILESDIR}/${PV}-typos.patch"
+ "${FILESDIR}/${PV}-py311-fix.patch"
+ "${DISTDIR}/${P}-py311-repr-tests.patch"
)
# filesystem buffering tests may fail