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
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')
-rw-r--r--x11-terms/zutty/Manifest1
-rw-r--r--x11-terms/zutty/zutty-0.13.ebuild12
2 files changed, 11 insertions, 2 deletions
diff --git a/x11-terms/zutty/Manifest b/x11-terms/zutty/Manifest
index bf308a9f5b9c..6c5451a30555 100644
--- a/x11-terms/zutty/Manifest
+++ b/x11-terms/zutty/Manifest
@@ -1 +1,2 @@
+DIST zutty-0.13-waf 105632 BLAKE2B 9edbaab125e398d3e0794f0ea0650cda833514f7e571ce5549d74c563c6adfd4483af34be4845d67993fe14bcacee89c02a8ca221673c472f6b16c6e27c0ad4d SHA512 ab756b7e3248bd6b87a58fd94d8d786c058889fa5015a2ed2eb2a05869af898324297a903810e43899de8eb226dc30a0a9605d7fdf6bec3bc05c68b74907e79f
DIST zutty-0.13.tar.gz 348348 BLAKE2B 35887597798ecee4912a76d74e943ab93682ee637eed0966d70e198d64c9960060eeb1a0b93a76596dd77aeea99b897bd2d54900f10a41a6a786776a5f202997 SHA512 b6514299520562f3ca9f29c80d252a571c0347603c918d15dde095b92be8e96e23a249b23d1d0efc0d7aca03138c07913d7f3dc0f3e91c8bf04e78a3444ac43e
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
+}