commit: 302eff51953f1258205feba67936bfb779fc3478 Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Fri Jan 5 00:19:22 2018 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Fri Jan 5 00:20:10 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=302eff51
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 ad03ed45ed6..b4d889b8092 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 db45902de9a..3464c42d718 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.
