summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/gitstats/gitstats-0_pre20201124.ebuild')
-rw-r--r--dev-vcs/gitstats/gitstats-0_pre20201124.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-vcs/gitstats/gitstats-0_pre20201124.ebuild b/dev-vcs/gitstats/gitstats-0_pre20201124.ebuild
index 9dfd0467a905..ce08093e401a 100644
--- a/dev-vcs/gitstats/gitstats-0_pre20201124.ebuild
+++ b/dev-vcs/gitstats/gitstats-0_pre20201124.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit python-r1
@@ -30,9 +30,12 @@ BDEPEND="
DOCS=( doc/{AUTHOR,README,TODO.txt} )
src_prepare() {
+ eapply "${FILESDIR}/${P}-py312.patch"
+
sed \
-e "s:basedirs = \[binarypath, secondarypath, '/usr/share/gitstats'\]:basedirs = \['${EPREFIX}/usr/share/gitstats'\]:g" \
-i gitstats || die "failed to fix static files path"
+
default
}