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 437AD158089 for ; Wed, 8 Nov 2023 16:26:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7EFF32BC02D; Wed, 8 Nov 2023 16:26:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 590D02BC027 for ; Wed, 8 Nov 2023 16:26:50 +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 68656335D79 for ; Wed, 8 Nov 2023 16:26:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97650133B for ; Wed, 8 Nov 2023 16:26:46 +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: <1699460798.cd482d64b5777de2eda8d32168194f076fe4ee03.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-6.29.0.ebuild X-VCS-Directories: app-text/calibre/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: cd482d64b5777de2eda8d32168194f076fe4ee03 X-VCS-Branch: master Date: Wed, 8 Nov 2023 16:26:46 +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: 2938725c-987b-4eb0-ae2a-570b42b80159 X-Archives-Hash: 886a9690a3ac037189de6b1805ae1fd6 commit: cd482d64b5777de2eda8d32168194f076fe4ee03 Author: Eli Schwartz gmail com> AuthorDate: Sun Nov 5 23:35:22 2023 +0000 Commit: Zac Medico gentoo org> CommitDate: Wed Nov 8 16:26:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd482d64 app-text/calibre: use modern xdg pkg_* approach We inherit xdg and let it take care of defining these phases, rather than inheriting a low-level eclass and manually performing it. Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Zac Medico gentoo.org> app-text/calibre/calibre-6.29.0.ebuild | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/app-text/calibre/calibre-6.29.0.ebuild b/app-text/calibre/calibre-6.29.0.ebuild index d6c474831e8c..7d036b7860fd 100644 --- a/app-text/calibre/calibre-6.29.0.ebuild +++ b/app-text/calibre/calibre-6.29.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..11} ) PYTHON_REQ_USE="sqlite,ssl" -inherit edo toolchain-funcs python-single-r1 qmake-utils verify-sig xdg-utils +inherit edo toolchain-funcs python-single-r1 qmake-utils verify-sig xdg DESCRIPTION="Ebook management application" HOMEPAGE="https://calibre-ebook.com/" @@ -241,15 +241,3 @@ src_install() { newinitd "${FILESDIR}"/calibre-server-3.init calibre-server newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server } - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - xdg_icon_cache_update -}