From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6FEE2158089 for ; Wed, 18 Oct 2023 04:26:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D5D32BC130; Wed, 18 Oct 2023 04:26:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 17CEE2BC130 for ; Wed, 18 Oct 2023 04:26:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 660FC335D1C for ; Wed, 18 Oct 2023 04:26:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 281EA129C for ; Wed, 18 Oct 2023 04:26:15 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1697603165.e5eb7ece10e4f33512525f7935c225553a2a559c.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/calibre/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/calibre/calibre-5.44.0-r2.ebuild X-VCS-Directories: app-text/calibre/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: e5eb7ece10e4f33512525f7935c225553a2a559c X-VCS-Branch: master Date: Wed, 18 Oct 2023 04:26:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 41d933a6-fe93-4b2f-a6e8-fa30ce17e68e X-Archives-Hash: ed19b7845aa5feb42fe29aa4647976f5 commit: e5eb7ece10e4f33512525f7935c225553a2a559c Author: Eli Schwartz gmail com> AuthorDate: Fri Oct 6 00:18:05 2023 +0000 Commit: Zac Medico gentoo org> CommitDate: Wed Oct 18 04:26:05 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5eb7ece app-text/calibre: install zsh completions Since there is no real standard and no real detection method for zsh completions (and Debian tunes this to be something that doesn't work anywhere else) the build system probes for the common locations. Also, this probe is carried out against staging-root, not /, which means that it will NEVER work. Not even if you have zsh installed. Unless you create the directory in advance in the staging-root, which you have to do anyways because otherwise you would need zsh as a BDEPEND which is silly. ;) Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Zac Medico gentoo.org> app-text/calibre/calibre-5.44.0-r2.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild b/app-text/calibre/calibre-5.44.0-r2.ebuild index 74b91f0af828..8b10da02930c 100644 --- a/app-text/calibre/calibre-5.44.0-r2.ebuild +++ b/app-text/calibre/calibre-5.44.0-r2.ebuild @@ -228,6 +228,9 @@ src_install() { addpredict /dev/dri #665310 + # If this directory doesn't exist, zsh completion won't install + dodir /usr/share/zsh/site-functions + "${PYTHON}" setup.py install \ --staging-root="${ED}/usr" \ --prefix="${EPREFIX}/usr" \