Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Mon, 01 May 2017 08:03:25
Message-Id: 1493624938.2ccfbb0fd792136cbc7e3480214daee70dcc50d5.asturm@gentoo
1 commit: 2ccfbb0fd792136cbc7e3480214daee70dcc50d5
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 30 11:35:13 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon May 1 07:48:58 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ccfbb0f
7
8 kde4-meta.eclass: Limit _pre extra mangling to 20160211 snapshot
9
10 eclass/kde4-meta.eclass | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13 diff --git a/eclass/kde4-meta.eclass b/eclass/kde4-meta.eclass
14 index bcbee1a9f1b..e07161d2160 100644
15 --- a/eclass/kde4-meta.eclass
16 +++ b/eclass/kde4-meta.eclass
17 @@ -184,7 +184,7 @@ kde4-meta_src_extract() {
18 if [[ ${PV} =~ 4.4.11 ]]; then
19 postfix="bz2"
20 KMTARPARAMS+=" --bzip2"
21 - elif [[ ${PV} =~ _pre ]]; then
22 + elif [[ ${PV} =~ _pre20160211 ]]; then
23 postfix="gz"
24 KMTARPARAMS+=" --gz"
25 else
26 @@ -200,7 +200,7 @@ kde4-meta_src_extract() {
27 # Detect real toplevel dir from tarball name - it will be used upon extraction
28 # and in _list_needed_subdirectories
29 topdir="${tarball%.tar.*}/"
30 - if [[ ${topdir} =~ _pre ]]; then
31 + if [[ ${topdir} =~ _pre20160211 ]]; then
32 topdir="${topdir%-$PV*}/"
33 fi