diff options
author | band-a-prend <torokhov-s-a@yandex.ru> | 2019-06-08 00:15:54 +0300 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-06-15 16:19:16 +0200 |
commit | 59a57bc85a8e9f85097ab41478c385ba00510997 (patch) | |
tree | fdae2097347c75ffed8af2739d42d993502096a8 /dev-util/scons | |
parent | dev-util/scons: 3.0.5-r1 fix test exit status processing (diff) | |
download | gentoo-59a57bc85a8e9f85097ab41478c385ba00510997.tar.gz gentoo-59a57bc85a8e9f85097ab41478c385ba00510997.tar.bz2 gentoo-59a57bc85a8e9f85097ab41478c385ba00510997.zip |
dev-util/scons: 3.0.5-r1 repair src_unpack() to fix Docbook tests
Now after the unpacking of scons github package (scons*.gh.tar.gz for test env)
no files are removed from "/src" directory to store files that
are necessary for some Docbook tests (*.xsl, *.xml, *.ent etc)
and for additional Scons env tests (some *.py files within 'engine' directory).
Signed-off-by: Sergey Torokhov <torokhov_s_a@mail.ru>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-util/scons')
-rw-r--r-- | dev-util/scons/scons-3.0.5-r1.ebuild | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/dev-util/scons/scons-3.0.5-r1.ebuild b/dev-util/scons/scons-3.0.5-r1.ebuild index e4524ab4aba5..5dba6c1f8dab 100644 --- a/dev-util/scons/scons-3.0.5-r1.ebuild +++ b/dev-util/scons/scons-3.0.5-r1.ebuild @@ -43,14 +43,11 @@ src_unpack() { # inside src/ subdirectory to make our life easier if use test; then unpack "${P}.gh.tar.gz" - rm -r "${P}/src" || die else - mkdir "${P}" || die + mkdir -p "${P}"/src || die fi - cd "${P}" || die - unpack "${P}.tar.gz" - mv "${P}" src || die + tar -C "${P}"/src --strip-components=1 -xzf "${DISTDIR}/${P}.tar.gz" || die } src_prepare() { |