From 4cdff2fa7fb67c6d2765c19403d61b541944d8ff Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 13 Mar 2023 13:15:56 +0000 Subject: [PATCH] dev-util/catalyst: Sync with Gentoo It's from Gentoo commit a28d72e1da1ed7c8f73df467f230b93d7871261b. --- .../dev-util/catalyst/catalyst-9999.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-util/catalyst/catalyst-9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/catalyst/catalyst-9999.ebuild index 81289d3b60..537719e862 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/catalyst/catalyst-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-util/catalyst/catalyst-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ fi PYTHON_COMPAT=( python3_{9..10} ) DISTUTILS_USE_SETUPTOOLS=no -inherit distutils-r1 linux-info optfeature ${SRC_ECLASS} +inherit distutils-r1 linux-info optfeature tmpfiles ${SRC_ECLASS} DESCRIPTION="Release metatool used for creating releases based on Gentoo Linux" HOMEPAGE="https://wiki.gentoo.org/wiki/Catalyst" @@ -102,6 +102,13 @@ python_install_all() { fi } +src_install() { + distutils-r1_src_install + + echo 'd /var/tmp/catalyst 0755 root root' > "${T}"/catalyst-tmpdir.conf + dotmpfiles "${T}"/catalyst-tmpdir.conf +} + pkg_postinst() { if [[ -z ${REPLACING_VERSIONS} ]]; then optfeature "ccache support" dev-util/ccache