sys-apps/portage: eliminate virtual/tmpfiles dependency
authorZac Medico <zmedico@gentoo.org>
Thu, 4 Jan 2018 23:55:17 +0000 (15:55 -0800)
committerZac Medico <zmedico@gentoo.org>
Thu, 4 Jan 2018 23:56:38 +0000 (15:56 -0800)
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
sys-apps/portage/portage-9999.ebuild

index 1c78b4a699f72c509695122e586a451164b2db1a..ad03ed45ed626392d6f63f1698cee2b8e196e7f8 100644 (file)
@@ -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.
index e025371418afde09bb20588b45f9fdef34b56bd5..db45902de9a12a19788e239d964dd6009b3296a5 100644 (file)
@@ -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.