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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 75AD6138331 for ; Sat, 24 Mar 2018 19:58:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F678E0821; Sat, 24 Mar 2018 19:58:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 45AD8E0821 for ; Sat, 24 Mar 2018 19:58:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 164B1335C5A for ; Sat, 24 Mar 2018 19:58:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D0017268 for ; Sat, 24 Mar 2018 19:58:00 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1521920382.5813c61666a019002f48fe95459bd12f61270f97.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/gramps/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/gramps/gramps-4.2.8.ebuild X-VCS-Directories: app-misc/gramps/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5813c61666a019002f48fe95459bd12f61270f97 X-VCS-Branch: master Date: Sat, 24 Mar 2018 19:58:00 +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-Archives-Salt: 3392f3fe-4bd1-4bda-86d9-ee39b5ebd471 X-Archives-Hash: a6b16e9b0dea42974167f70bf824b3b6 commit: 5813c61666a019002f48fe95459bd12f61270f97 Author: Herb Miller Jr hlmjr com> AuthorDate: Sun Mar 4 00:19:58 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Mar 24 19:39:42 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5813c616 app-misc/gramps: Fix MimeType QA notice. Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-misc/gramps/gramps-4.2.8.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/app-misc/gramps/gramps-4.2.8.ebuild b/app-misc/gramps/gramps-4.2.8.ebuild index 8b6fa4bcdef..556bb44410a 100644 --- a/app-misc/gramps/gramps-4.2.8.ebuild +++ b/app-misc/gramps/gramps-4.2.8.ebuild @@ -5,7 +5,7 @@ EAPI=6 PYTHON_COMPAT=( python3_{4,5} ) DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 +inherit distutils-r1 xdg-utils DESCRIPTION="Genealogical Research and Analysis Management Programming System" HOMEPAGE="https://gramps-project.org/" @@ -44,3 +44,13 @@ python_prepare_all() { sed -i "s:share/doc/gramps:share/doc/${PF}:g" setup.py || die distutils-r1_python_prepare_all } + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +}