Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/polkit-pkla-compat/
Date: Fri, 05 Nov 2021 15:05:19
Message-Id: 1636124091.8528f58460bb0bdc9c57911efc72974a27304db5.jsmolic@gentoo
1 commit: 8528f58460bb0bdc9c57911efc72974a27304db5
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 5 14:54:51 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 5 14:54:51 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8528f584
7
8 sys-auth/polkit-pkla-compat: Port to EAPI 8
9
10 Closes: https://bugs.gentoo.org/819228
11 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
12
13 ...la-compat-0.1.ebuild => polkit-pkla-compat-0.1-r1.ebuild} | 12 +++++-------
14 1 file changed, 5 insertions(+), 7 deletions(-)
15
16 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
17 similarity index 76%
18 rename from sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1.ebuild
19 rename to sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r1.ebuild
20 index ff1865e975e..1f0ef021b4c 100644
21 --- a/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1.ebuild
22 +++ b/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r1.ebuild
23 @@ -1,7 +1,7 @@
24 -# Copyright 1999-2018 Gentoo Foundation
25 +# Copyright 1999-2021 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 -EAPI=5
29 +EAPI=8
30
31 DESCRIPTION="Rules for polkit to add compatibility with pklocalauthority"
32 HOMEPAGE="https://pagure.io/polkit-pkla-compat"
33 @@ -10,22 +10,20 @@ SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.xz"
34 LICENSE="LGPL-2"
35 SLOT="0"
36 KEYWORDS="amd64 ~arm ~ppc x86"
37 -IUSE=""
38
39 RDEPEND=">=dev-libs/glib-2.30
40 >=sys-auth/polkit-0.110"
41 -DEPEND="${RDEPEND}
42 +DEPEND="${RDEPEND}"
43 +BDEPEND="
44 app-text/docbook-xsl-stylesheets
45 dev-libs/libxslt
46 virtual/pkgconfig"
47
48 -DOCS="AUTHORS NEWS README"
49 -
50 src_install() {
51 default
52 fowners -R root:polkitd /etc/polkit-1/localauthority
53 }
54
55 pkg_postinst() {
56 - chown -R root:polkitd "${EROOT}"/etc/polkit-1/localauthority
57 + chown -R root:polkitd "${EROOT}"/etc/polkit-1/localauthority || die
58 }