summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Smith <matthew@gentoo.org>2023-02-18 08:05:47 +0000
committerMatthew Smith <matthew@gentoo.org>2023-02-18 08:05:47 +0000
commit19092e54a18db98210b41b53594b9b6e82453a27 (patch)
tree4d504b5c00272cd8b20902de28a115378ed669c9 /x11-terms/zutty/zutty-0.13.ebuild
parentprofiles: last-rite dev-python/setuptools_trial (diff)
downloadgentoo-19092e54a18db98210b41b53594b9b6e82453a27.tar.gz
gentoo-19092e54a18db98210b41b53594b9b6e82453a27.tar.bz2
gentoo-19092e54a18db98210b41b53594b9b6e82453a27.zip
x11-terms/zutty: enable py3.11
The bundled version of waf is too old to work with Python 3.11, so also update waf by replacing it with the next version. Signed-off-by: Matthew Smith <matthew@gentoo.org>
Diffstat (limited to 'x11-terms/zutty/zutty-0.13.ebuild')
-rw-r--r--x11-terms/zutty/zutty-0.13.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/x11-terms/zutty/zutty-0.13.ebuild b/x11-terms/zutty/zutty-0.13.ebuild
index 5dfc18f70f1b..0284eaf0e295 100644
--- a/x11-terms/zutty/zutty-0.13.ebuild
+++ b/x11-terms/zutty/zutty-0.13.ebuild
@@ -3,14 +3,17 @@
EAPI=7
-PYTHON_COMPAT=( python3_{9,10} )
+PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE="threads(+)"
inherit python-any-r1 waf-utils
DESCRIPTION="X terminal emulator rendering through OpenGL ES Compute Shaders"
HOMEPAGE="https://tomscii.sig7.se/zutty/ https://github.com/tomszilagyi/zutty"
-SRC_URI="https://github.com/tomszilagyi/zutty/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="
+ https://github.com/tomszilagyi/zutty/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/tomscii/zutty/raw/8db89ee270f3130d8a2c5c1201d08e7d627278ce/waf -> ${PF}-waf
+"
LICENSE="GPL-3+"
SLOT="0"
@@ -40,3 +43,8 @@ PATCHES=(
)
DOCS=( doc/KEYS.org doc/USAGE.org )
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cp "${DISTDIR}"/${PF}-waf "${S}"/waf || die
+}