From 302eff51953f1258205feba67936bfb779fc3478 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 4 Jan 2018 16:19:22 -0800 Subject: [PATCH] sys-apps/portage: use systemd eclass for tmpfiles support Closes: https://bugs.gentoo.org/643386 Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- sys-apps/portage/portage-2.3.19-r1.ebuild | 5 ++--- sys-apps/portage/portage-9999.ebuild | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/sys-apps/portage/portage-2.3.19-r1.ebuild b/sys-apps/portage/portage-2.3.19-r1.ebuild index ad03ed45ed62..b4d889b80920 100644 --- a/sys-apps/portage/portage-2.3.19-r1.ebuild +++ b/sys-apps/portage/portage-2.3.19-r1.ebuild @@ -10,7 +10,7 @@ PYTHON_COMPAT=( ) PYTHON_REQ_USE='bzip2(+),threads(+)' -inherit distutils-r1 +inherit distutils-r1 systemd DESCRIPTION="Portage is the package management and distribution system for Gentoo" HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" @@ -203,8 +203,7 @@ python_install_all() { esetup.py "${targets[@]}" fi - insinto /usr/lib/tmpfiles.d - doins "${FILESDIR}"/portage-ccache.conf + systemd_dotmpfilesd "${FILESDIR}"/portage-ccache.conf # Due to distutils/python-exec limitations # these must be installed to /usr/bin. diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild index db45902de9a1..3464c42d7189 100644 --- a/sys-apps/portage/portage-9999.ebuild +++ b/sys-apps/portage/portage-9999.ebuild @@ -10,7 +10,7 @@ PYTHON_COMPAT=( ) PYTHON_REQ_USE='bzip2(+),threads(+)' -inherit distutils-r1 git-r3 +inherit distutils-r1 git-r3 systemd DESCRIPTION="Portage is the package management and distribution system for Gentoo" HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" @@ -202,8 +202,7 @@ python_install_all() { esetup.py "${targets[@]}" fi - insinto /usr/lib/tmpfiles.d - doins "${FILESDIR}"/portage-ccache.conf + systemd_dotmpfilesd "${FILESDIR}"/portage-ccache.conf # Due to distutils/python-exec limitations # they must be installed to /usr/bin. -- 2.26.2