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 230FD158089 for ; Thu, 7 Sep 2023 08:38:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65FDE2BC02E; Thu, 7 Sep 2023 08:38:45 +0000 (UTC) Received: from smtp.gentoo.org (mail.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E6832BC02E for ; Thu, 7 Sep 2023 08:38:45 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A7D8335C52 for ; Thu, 7 Sep 2023 08:38:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D4DC31104 for ; Thu, 7 Sep 2023 08:38:42 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1694075909.5c7e102c618f78275f994d75344766fdb42a1426.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/gramps/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/gramps/gramps-5.1.6-r2.ebuild X-VCS-Directories: app-misc/gramps/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 5c7e102c618f78275f994d75344766fdb42a1426 X-VCS-Branch: master Date: Thu, 7 Sep 2023 08:38:42 +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: 1aca359d-cef8-451d-936b-0864f685b9a9 X-Archives-Hash: e2e6a2833302bc02ae0ea3f129cc3e86 commit: 5c7e102c618f78275f994d75344766fdb42a1426 Author: Marek Szuba gentoo org> AuthorDate: Thu Sep 7 08:29:51 2023 +0000 Commit: Marek Szuba gentoo org> CommitDate: Thu Sep 7 08:38:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c7e102c app-misc/gramps: set the resource path again Still needed, as it turns out. In the past we did it using the upstream setup.py option --resource-path but that seems to be broken in PEP-517 mode, and a single echo call utilising ebuild helper functions and variables produces exactly the same result. Signed-off-by: Marek Szuba gentoo.org> app-misc/gramps/gramps-5.1.6-r2.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app-misc/gramps/gramps-5.1.6-r2.ebuild b/app-misc/gramps/gramps-5.1.6-r2.ebuild index 21e33b40891f..cfe79f32a435 100644 --- a/app-misc/gramps/gramps-5.1.6-r2.ebuild +++ b/app-misc/gramps/gramps-5.1.6-r2.ebuild @@ -69,6 +69,13 @@ src_prepare() { default } +python_install() { + distutils-r1_python_install + + # setup.py option --resourcepath appears to have problems at the moment + echo -n "/usr/share" > "${ED}"$(python_get_sitedir)/${PN}/gen/utils/resource-path || die +} + pkg_postinst() { xdg_desktop_database_update xdg_icon_cache_update