From e860dfa5acdb67f8e2b8938b005dbaaaaf2c984a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 31 Jan 2023 15:02:11 +0000 Subject: gentoo auto-resync : 31:01:2023 - 15:02:11 --- x11-terms/kitty/kitty-9999.ebuild | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'x11-terms/kitty/kitty-9999.ebuild') diff --git a/x11-terms/kitty/kitty-9999.ebuild b/x11-terms/kitty/kitty-9999.ebuild index 90f8d00348ee..9d20478938f2 100644 --- a/x11-terms/kitty/kitty-9999.ebuild +++ b/x11-terms/kitty/kitty-9999.ebuild @@ -13,6 +13,7 @@ else inherit verify-sig SRC_URI=" https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz + https://dev.gentoo.org/~ionen/distfiles/${P}-vendor.tar.xz verify-sig? ( https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz.sig )" VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/kovidgoyal.gpg" KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" @@ -76,14 +77,16 @@ src_unpack() { cd "${S}" || die edo go mod vendor else - verify-sig_src_unpack + use verify-sig && + verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.sig} + default fi } src_prepare() { default - # sed unfortunately feels easier on maintainenance than patches here + # sed unfortunately feels easier on maintenance than patches here local sedargs=( -e "/num_workers =/s/=.*/= $(makeopts_jobs)/" -e "s/cflags.append.*-O3.*/pass/" -e 's/-O3//' @@ -100,11 +103,15 @@ src_prepare() { sed -i setup.py "${sedargs[@]}" || die - # test relies on 'who' command which doesn't detect users with pid-sandbox - rm kitty_tests/utmp.py || die - - # test may fail/hang depending on environment and shell initialization scripts - rm kitty_tests/{shell_integration,ssh}.py || die + local skiptests=( + # relies on 'who' command which doesn't detect users with pid-sandbox + kitty_tests/utmp.py + # may fail/hang depending on environment and shell initialization + kitty_tests/{shell_integration,ssh}.py + # relies on /proc/self/fd and gets confused when ran from here + tools/utils/tpmfile_test.go + ) + use !test || rm "${skiptests[@]}" || die } src_compile() { @@ -144,7 +151,6 @@ src_install() { pkg_postinst() { xdg_pkg_postinst - optfeature "in-terminal image display with kitty icat" media-gfx/imagemagick optfeature "audio-based terminal bell support" media-libs/libcanberra optfeature "opening links from the terminal" x11-misc/xdg-utils } -- cgit v1.2.3