commit:     8528f58460bb0bdc9c57911efc72974a27304db5
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  5 14:54:51 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Fri Nov  5 14:54:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8528f584

sys-auth/polkit-pkla-compat: Port to EAPI 8

Closes: https://bugs.gentoo.org/819228
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 ...la-compat-0.1.ebuild => polkit-pkla-compat-0.1-r1.ebuild} | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1.ebuild 
b/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r1.ebuild
similarity index 76%
rename from sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1.ebuild
rename to sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r1.ebuild
index ff1865e975e..1f0ef021b4c 100644
--- a/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1.ebuild
+++ b/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=8
 
 DESCRIPTION="Rules for polkit to add compatibility with pklocalauthority"
 HOMEPAGE="https://pagure.io/polkit-pkla-compat";
@@ -10,22 +10,20 @@ SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.xz";
 LICENSE="LGPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~arm ~ppc x86"
-IUSE=""
 
 RDEPEND=">=dev-libs/glib-2.30
        >=sys-auth/polkit-0.110"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
        app-text/docbook-xsl-stylesheets
        dev-libs/libxslt
        virtual/pkgconfig"
 
-DOCS="AUTHORS NEWS README"
-
 src_install() {
        default
        fowners -R root:polkitd /etc/polkit-1/localauthority
 }
 
 pkg_postinst() {
-       chown -R root:polkitd "${EROOT}"/etc/polkit-1/localauthority
+       chown -R root:polkitd "${EROOT}"/etc/polkit-1/localauthority || die
 }

Reply via email to