From: Zac Medico Date: Thu, 4 Jan 2018 23:55:17 +0000 (-0800) Subject: sys-apps/portage: eliminate virtual/tmpfiles dependency X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=72533ec33e2fa41ac5f9859a4e1826a1baac512a;p=gentoo.git sys-apps/portage: eliminate virtual/tmpfiles dependency Closes: https://bugs.gentoo.org/643386 Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- diff --git a/sys-apps/portage/portage-2.3.19-r1.ebuild b/sys-apps/portage/portage-2.3.19-r1.ebuild index 1c78b4a699f7..ad03ed45ed62 100644 --- a/sys-apps/portage/portage-2.3.19-r1.ebuild +++ b/sys-apps/portage/portage-2.3.19-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -10,7 +10,7 @@ PYTHON_COMPAT=( ) PYTHON_REQ_USE='bzip2(+),threads(+)' -inherit distutils-r1 tmpfiles +inherit distutils-r1 DESCRIPTION="Portage is the package management and distribution system for Gentoo" HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" @@ -203,7 +203,8 @@ python_install_all() { esetup.py "${targets[@]}" fi - dotmpfiles "${FILESDIR}"/portage-ccache.conf + insinto /usr/lib/tmpfiles.d + doins "${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 e025371418af..db45902de9a1 100644 --- a/sys-apps/portage/portage-9999.ebuild +++ b/sys-apps/portage/portage-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,7 +10,7 @@ PYTHON_COMPAT=( ) PYTHON_REQ_USE='bzip2(+),threads(+)' -inherit distutils-r1 git-r3 tmpfiles +inherit distutils-r1 git-r3 DESCRIPTION="Portage is the package management and distribution system for Gentoo" HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" @@ -202,7 +202,8 @@ python_install_all() { esetup.py "${targets[@]}" fi - dotmpfiles "${FILESDIR}"/portage-ccache.conf + insinto /usr/lib/tmpfiles.d + doins "${FILESDIR}"/portage-ccache.conf # Due to distutils/python-exec limitations # they must be installed to /usr/bin.