From patchwork Tue Jan 14 11:00:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Koen Kooi X-Patchwork-Id: 23181 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A8B5420DF3 for ; Tue, 14 Jan 2014 11:02:40 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wm4sf9872012obc.9 for ; Tue, 14 Jan 2014 03:02:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=NMDK89JV80aFMzIsV1PX09nOJPH94P5LIxlrdi7YHv4=; b=T4+QcCx+GqQReBnkxE7DDlGtCpfP7UiFMNk9CtgeXOnpWRQaBUKaFo5vMRz7Oq21j7 TLBpPSLXG4zg7AEZynZ+xIXsGT5PdW7G5WXdXXf5dRViH6uySgXRRJuzqNSqOfNAaHiA IOSgCVP5DevRYAU5Rf0lirh2uWWc1womVK0SgKhfvMLQ+c4wxwOtxIM7dE5EI6GRjC34 31UxVp9K0DpbnahH7PEL/2FnbKlDzuC9lrRG3Galr0li0MYlph/e/PTejbMxqppDaYN9 4P1PfRHMyoU/kjvxMs/U++C9Xtbnetc+w5WCsGi745rdy/x2uaJKPj6ul9mZeYyHF5ge Fb3w== X-Gm-Message-State: ALoCoQk2elpTV+J/QgWFGAyPBvqWs3Ge7oKt59ob6sgCH+fDMAw34ZALSo5L0ky2CkbO4x8Gwjvm X-Received: by 10.182.108.136 with SMTP id hk8mr309310obb.11.1389697359827; Tue, 14 Jan 2014 03:02:39 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.11.173 with SMTP id r13ls69076qeb.12.gmail; Tue, 14 Jan 2014 03:02:39 -0800 (PST) X-Received: by 10.52.181.98 with SMTP id dv2mr642667vdc.30.1389697359721; Tue, 14 Jan 2014 03:02:39 -0800 (PST) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id gq1si79533vec.61.2014.01.14.03.02.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Jan 2014 03:02:39 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.178; Received: by mail-ve0-f178.google.com with SMTP id oz11so1138082veb.23 for ; Tue, 14 Jan 2014 03:02:39 -0800 (PST) X-Received: by 10.58.255.233 with SMTP id at9mr20850908ved.20.1389697359638; Tue, 14 Jan 2014 03:02:39 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp192212ved; Tue, 14 Jan 2014 03:02:39 -0800 (PST) X-Received: by 10.66.249.134 with SMTP id yu6mr918744pac.37.1389697353585; Tue, 14 Jan 2014 03:02:33 -0800 (PST) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id im1si150803pbb.215.2014.01.14.03.02.32 for ; Tue, 14 Jan 2014 03:02:33 -0800 (PST) Received-SPF: pass (google.com: domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Received: from mail.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id CA5756E3E9; Tue, 14 Jan 2014 11:02:26 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) by mail.openembedded.org (Postfix) with ESMTP id A238A6DDF5 for ; Tue, 14 Jan 2014 11:02:23 +0000 (UTC) Received: by mail-we0-f169.google.com with SMTP id u57so221960wes.0 for ; Tue, 14 Jan 2014 03:02:24 -0800 (PST) X-Received: by 10.180.187.36 with SMTP id fp4mr19873416wic.9.1389697344270; Tue, 14 Jan 2014 03:02:24 -0800 (PST) Received: from localhost ([2001:610:612:0:5e51:4fff:fec8:7c15]) by mx.google.com with ESMTPSA id j3sm904361wiy.3.2014.01.14.03.02.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jan 2014 03:02:23 -0800 (PST) From: Koen Kooi To: openembedded-core@lists.openembedded.org Date: Tue, 14 Jan 2014 12:00:47 +0100 Message-Id: <1389697249-4062-3-git-send-email-koen.kooi@linaro.org> X-Mailer: git-send-email 1.8.4.2 In-Reply-To: <1389697249-4062-1-git-send-email-koen.kooi@linaro.org> References: <1389697249-4062-1-git-send-email-koen.kooi@linaro.org> Cc: Koen Kooi Subject: [OE-core] [PATCH 3/5] distrodata bbclass: add support for lz4 archives X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: koen.kooi@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Koen Kooi --- meta/classes/distrodata.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass index 2c365f9..b47358b 100644 --- a/meta/classes/distrodata.bbclass +++ b/meta/classes/distrodata.bbclass @@ -289,9 +289,9 @@ python do_checkpkg() { ver_regex = "(([A-Z]*\d+[a-zA-Z]*[\.\-_]*)+)"#"((\d+[\.\-_[a-z]])+)" # src.rpm extension was added only for rpm package. Can be removed if the rpm # packaged will always be considered as having to be manually upgraded - suffix = "(tar\.gz|tgz|tar\.bz2|zip|xz|rpm|bz2|orig\.tar\.gz|tar\.xz|src\.tar\.gz|src\.tgz|svnr\d+\.tar\.bz2|stable\.tar\.gz|src\.rpm)" + suffix = "(tar\.gz|tgz|tar\.bz2|tar\.lz4|zip|xz|rpm|bz2|lz4|orig\.tar\.gz|tar\.xz|src\.tar\.gz|src\.tgz|svnr\d+\.tar\.bz2|stable\.tar\.gz|src\.rpm)" - suffixtuple = ("tar.gz", "tgz", "zip", "tar.bz2", "tar.xz", "bz2", "orig.tar.gz", "src.tar.gz", "src.rpm", "src.tgz", "svnr\d+.tar.bz2", "stable.tar.gz", "src.rpm") + suffixtuple = ("tar.gz", "tgz", "zip", "tar.bz2", "tar.xz", "tar.lz4", "bz2", "lz4", "orig.tar.gz", "src.tar.gz", "src.rpm", "src.tgz", "svnr\d+.tar.bz2", "stable.tar.gz", "src.rpm") sinterstr = "(?P%s?)v?(?P%s)(\-source)?" % (prefix, ver_regex) sdirstr = "(?P%s)\.?v?(?P%s)(\-source)?[\.\-](?P%s$)" % (prefix, ver_regex, suffix)