diff options
author | Marek Szuba <marecki@gentoo.org> | 2023-09-07 09:29:51 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2023-09-07 09:38:29 +0100 |
commit | 5c7e102c618f78275f994d75344766fdb42a1426 (patch) | |
tree | 2a66a8e704a7a565cb669163cf031583b01086a9 /app-misc | |
parent | sec-keys/openpgp-keys-gentoo-developers: add 20230904 (diff) | |
download | gentoo-5c7e102c618f78275f994d75344766fdb42a1426.tar.gz gentoo-5c7e102c618f78275f994d75344766fdb42a1426.tar.bz2 gentoo-5c7e102c618f78275f994d75344766fdb42a1426.zip |
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 <marecki@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/gramps/gramps-5.1.6-r2.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
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 |