diff options
author | Maksim Ivanov <emaxx@google.com> | 2023-10-06 01:56:53 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-10-06 14:29:23 +0200 |
commit | 9dc551eb72e41a6e2def5a52034c3bd0f25f3da0 (patch) | |
tree | 7f6585babb8678d98e4f478c2094d8ad5059f4be /dev-util | |
parent | mail-client/thunderbird: drop 102.15.1, 115.3.0 (diff) | |
download | gentoo-9dc551eb72e41a6e2def5a52034c3bd0f25f3da0.tar.gz gentoo-9dc551eb72e41a6e2def5a52034c3bd0f25f3da0.tar.bz2 gentoo-9dc551eb72e41a6e2def5a52034c3bd0f25f3da0.zip |
dev-util/scons: Pass --no-same-owner to tar
Use tar with "--no-same-owner" when unpacking sources.
This is to avoid permission errors in specific environments, and also to
be consistent with existing code like unpacker.eclass or llvm.org.eclass.
Signed-off-by: Maksim Ivanov <emaxx@google.com>
Closes: https://github.com/gentoo/gentoo/pull/33212
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/scons/scons-4.4.0-r1.ebuild | 5 | ||||
-rw-r--r-- | dev-util/scons/scons-4.4.0.ebuild | 5 | ||||
-rw-r--r-- | dev-util/scons/scons-4.5.1-r2.ebuild | 5 | ||||
-rw-r--r-- | dev-util/scons/scons-4.5.2.ebuild | 5 |
4 files changed, 12 insertions, 8 deletions
diff --git a/dev-util/scons/scons-4.4.0-r1.ebuild b/dev-util/scons/scons-4.4.0-r1.ebuild index 6a9226c08f03..08f12df37ec8 100644 --- a/dev-util/scons/scons-4.4.0-r1.ebuild +++ b/dev-util/scons/scons-4.4.0-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 multiprocessing @@ -60,7 +60,8 @@ src_unpack() { mkdir -p "${P}"/src || die fi - tar -C "${P}"/src --strip-components=1 -xzf "${DISTDIR}/${MY_P}.tar.gz" || die + tar -C "${P}"/src --strip-components=1 --no-same-owner \ + -xzf "${DISTDIR}/${MY_P}.tar.gz" || die } src_prepare() { diff --git a/dev-util/scons/scons-4.4.0.ebuild b/dev-util/scons/scons-4.4.0.ebuild index ba0b51d2452c..7f8ec6d1a72d 100644 --- a/dev-util/scons/scons-4.4.0.ebuild +++ b/dev-util/scons/scons-4.4.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 multiprocessing @@ -50,7 +50,8 @@ src_unpack() { mkdir -p "${P}"/src || die fi - tar -C "${P}"/src --strip-components=1 -xzf "${DISTDIR}/${MY_P}.tar.gz" || die + tar -C "${P}"/src --strip-components=1 --no-same-owner \ + -xzf "${DISTDIR}/${MY_P}.tar.gz" || die } src_prepare() { diff --git a/dev-util/scons/scons-4.5.1-r2.ebuild b/dev-util/scons/scons-4.5.1-r2.ebuild index 0677fb162655..abf7ca5ec4a0 100644 --- a/dev-util/scons/scons-4.5.1-r2.ebuild +++ b/dev-util/scons/scons-4.5.1-r2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 multiprocessing @@ -47,7 +47,8 @@ src_unpack() { # use the git directory structure, then unpack the pypi tarball # on top of it to make our life easier unpack "${P}.gh.tar.gz" - tar -C "${P}" --strip-components=1 -xzf "${DISTDIR}/${MY_P}.tar.gz" || die + tar -C "${P}" --strip-components=1 --no-same-owner \ + -xzf "${DISTDIR}/${MY_P}.tar.gz" || die } src_prepare() { diff --git a/dev-util/scons/scons-4.5.2.ebuild b/dev-util/scons/scons-4.5.2.ebuild index a21519501e5e..ffb0cc1ce2a0 100644 --- a/dev-util/scons/scons-4.5.2.ebuild +++ b/dev-util/scons/scons-4.5.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 multiprocessing @@ -52,7 +52,8 @@ src_unpack() { mkdir -p "${P}" || die fi - tar -C "${P}" --strip-components=1 -xzf "${DISTDIR}/${MY_P}.tar.gz" || die + tar -C "${P}" --strip-components=1 --no-same-owner \ + -xzf "${DISTDIR}/${MY_P}.tar.gz" || die } src_prepare() { |