summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-11-05 15:54:51 +0100
committerJakov Smolić <jsmolic@gentoo.org>2021-11-05 15:54:51 +0100
commit8528f58460bb0bdc9c57911efc72974a27304db5 (patch)
tree2aef57c5182ea859ae1a9bb6eee34a7933bb4d61
parentapp-i18n/zinnia-tomoe: update to EAPI 8 (diff)
downloadgentoo-8528f58460bb0bdc9c57911efc72974a27304db5.tar.gz
gentoo-8528f58460bb0bdc9c57911efc72974a27304db5.tar.bz2
gentoo-8528f58460bb0bdc9c57911efc72974a27304db5.zip
sys-auth/polkit-pkla-compat: Port to EAPI 8
Closes: https://bugs.gentoo.org/819228 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
-rw-r--r--sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r1.ebuild (renamed from sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1.ebuild)12
1 files 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
index ff1865e975e8..1f0ef021b4cf 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
}