commit:     3bee07f5b98403895848e08765949fb4d34a08e8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  1 10:22:27 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan  1 10:34:45 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bee07f5

app-portage/eix: Switch to tmpfiles.eclass (from systemd.eclass)

 app-portage/eix/eix-0.33.0-r1.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-portage/eix/eix-0.33.0-r1.ebuild 
b/app-portage/eix/eix-0.33.0-r1.ebuild
index bd9217a151f..f651221ce02 100644
--- a/app-portage/eix/eix-0.33.0-r1.ebuild
+++ b/app-portage/eix/eix-0.33.0-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 PLOCALES="de ru"
-inherit autotools bash-completion-r1 l10n systemd flag-o-matic
+inherit autotools bash-completion-r1 flag-o-matic l10n tmpfiles
 
 DESCRIPTION="Search and query ebuilds"
 HOMEPAGE="https://github.com/vaeth/eix/";
@@ -83,7 +83,7 @@ src_configure() {
 src_install() {
        default
        dobashcomp bash/eix
-       systemd_dotmpfilesd tmpfiles.d/eix.conf
+       dotmpfiles tmpfiles.d/eix.conf
 
        rm -r "${ED%/}"/usr/bin/eix-functions.sh || die
 
@@ -94,7 +94,7 @@ pkg_postinst() {
        if ! use prefix; then
                # note: if this is done in src_install(), portage:portage
                # ownership may be reset to root
-               chown portage:portage "${EROOT%/}"/var/cache/eix || die
+               tmpfiles_process eix.conf
        fi
 
        local obs=${EROOT%/}/var/cache/eix.previous

Reply via email to