From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 028F31384B4 for ; Wed, 16 Dec 2015 12:55:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4CA25E0893; Wed, 16 Dec 2015 12:55:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DAA34E0893 for ; Wed, 16 Dec 2015 12:55:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 95EFA33D3CE for ; Wed, 16 Dec 2015 12:55:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 238C4B05 for ; Wed, 16 Dec 2015 12:55:49 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1450270525.d5ac2dd224f7402cb95c81073777e17ef59c16b4.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/kde5.eclass X-VCS-Directories: eclass/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: d5ac2dd224f7402cb95c81073777e17ef59c16b4 X-VCS-Branch: master Date: Wed, 16 Dec 2015 12:55:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 28048a72-4eca-4d21-9984-ae578e7f68ef X-Archives-Hash: 59ca288b85ab4b1ec68308355b0b7ec6 commit: d5ac2dd224f7402cb95c81073777e17ef59c16b4 Author: Michael Palimaka gentoo org> AuthorDate: Wed Dec 16 12:55:25 2015 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Wed Dec 16 12:55:25 2015 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=d5ac2dd2 kde5.eclass: enable automatic fetching for out-of-band point releases eclass/kde5.eclass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 2bfe335..13ae56b 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -277,15 +277,17 @@ _calculate_src_uri() { kde-frameworks) SRC_URI="mirror://kde/stable/frameworks/${PV%.*}/${_kmname}-${PV}.tar.xz" ;; kde-plasma) + local plasmapv=$(get_version_component_range 1-3) + case ${PV} in 5.?.[6-9]? ) # Plasma 5 beta releases - SRC_URI="mirror://kde/unstable/plasma/${PV}/${_kmname}-${PV}.tar.xz" + SRC_URI="mirror://kde/unstable/plasma/${plasmapv}/${_kmname}-${PV}.tar.xz" RESTRICT+=" mirror" ;; *) # Plasma 5 stable releases - SRC_URI="mirror://kde/stable/plasma/${PV}/${_kmname}-${PV}.tar.xz" ;; + SRC_URI="mirror://kde/stable/plasma/${plasmapv}/${_kmname}-${PV}.tar.xz" ;; esac ;; esac