commit: de5ed6b1f82c2f48f3bcafb2a81c5d820f857f76 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Tue Nov 15 03:48:27 2022 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Tue Nov 15 03:51:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de5ed6b1
x11-terms/kitty: update live (now uses go) Build system does not let this be optional at the moment. Just a quickfix for now given was barely added, will review handling this when there is release. Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> x11-terms/kitty/kitty-9999.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/x11-terms/kitty/kitty-9999.ebuild b/x11-terms/kitty/kitty-9999.ebuild index b22f36ef47df..40981a3c7d82 100644 --- a/x11-terms/kitty/kitty-9999.ebuild +++ b/x11-terms/kitty/kitty-9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8..11} ) -inherit edo optfeature multiprocessing python-single-r1 toolchain-funcs xdg +inherit edo go-module optfeature multiprocessing python-single-r1 toolchain-funcs xdg if [[ ${PV} == 9999 ]]; then inherit git-r3 @@ -66,6 +66,15 @@ BDEPEND=" wayland? ( dev-util/wayland-scanner )" [[ ${PV} == 9999 ]] || BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )" +src_unpack() { + if [[ ${PV} == 9999 ]]; then + git-r3_src_unpack + go-module_live_vendor + else + go-module_src_unpack + fi +} + src_prepare() { default