From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 3124CE013A2 for ; Wed, 24 Jul 2013 08:23:08 -0700 (PDT) Received: from azsmga002.ch.intel.com ([10.2.17.35]) by azsmga102.ch.intel.com with ESMTP; 24 Jul 2013 08:23:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.89,736,1367996400"; d="scan'208";a="272612268" Received: from unknown (HELO [10.255.14.43]) ([10.255.14.43]) by AZSMGA002.ch.intel.com with ESMTP; 24 Jul 2013 08:23:05 -0700 Message-ID: <51EFF159.4080203@linux.intel.com> Date: Wed, 24 Jul 2013 08:23:05 -0700 From: Saul Wold User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: Emilia Ciobanu References: <1374665079-11266-1-git-send-email-emilia.maria.silvia.ciobanu@intel.com> In-Reply-To: <1374665079-11266-1-git-send-email-emilia.maria.silvia.ciobanu@intel.com> Cc: yocto@yoctoproject.org Subject: Re: [PATCH v2] package_reges.inc: Add/Update REGEX and PRSPV variable X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jul 2013 15:23:09 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Typo in the file name should be regex Sau! On 07/24/2013 04:24 AM, Emilia Ciobanu wrote: > The PRSPV variable is used for the packages: > * zip > * unzip > * docbook-sgml-dtd-3.1-native > * docbook-sgml-dtd-4.1-native > > The REGEX variable has been added/changed for the following packages: > * btrfs-tools > * bjam-native > * build-appliance-image > * mpeg2dec > * mpfr-native > * nativesdk-mpfr > * xf86-video-omap > * remake > > Signed-off-by: Emilia Ciobanu > --- > meta-yocto/conf/distro/include/package_regex.inc | 20 ++++++++++++++------ > 1 file changed, 14 insertions(+), 6 deletions(-) > > diff --git a/meta-yocto/conf/distro/include/package_regex.inc b/meta-yocto/conf/distro/include/package_regex.inc > index 42d17e5..1572729 100644 > --- a/meta-yocto/conf/distro/include/package_regex.inc > +++ b/meta-yocto/conf/distro/include/package_regex.inc > @@ -24,11 +24,13 @@ REGEX_URI_pn-beecrypt-native = "http://sourceforge.net/projects/beecrypt/files/b > REGEX_pn-beecrypt-native = "[hH][rR][eE][fF]=\"/projects/beecrypt/files/beecrypt/(?P((\d+[\.\-_]*)+))/\"" > REGEX_pn-bdwgc = "[hH][rR][eE][fF]=\"gc\-(?P((\d+[a-z]?[\.\-_]*)+))\.tar\.gz\"" > REGEX_URI_pn-bjam-native = "http://sourceforge.net/projects/boost/files/boost/" > +REGEX_pn-bjam-native = "[hH][rR][eE][fF]=\"/projects/boost/files/boost/(?P((\d+[\.\-_]*)+))/\"" > REGEX_URI_pn-blktool = "ftp://ftp.debian.org/debian/pool/main/b/blktool/" > REGEX_pn-blktool = "[hH][rR][eE][fF]=\"ftp://ftp.debian.org:21/debian/pool/main/b/blktool/blktool_(?P((\d+[\.\-_]*)+))\.(diff|orig\.tar)\.gz\"" > REGEX_URI_pn-boost = "http://sourceforge.net/projects/boost/files/boost/" > REGEX_pn-boost = "[hH][rR][eE][fF]=\"/projects/boost/files/boost/(?P((\d+[\.\-_]*)+))/\"" > -REGEX_pn-btrfs-tools = "(\d+(\.\d+)*(\-rc\d+)*)" > +REGEX_pn-btrfs-tools = "(?P(\d+(\.\d+)*(\-rc\d+)*))" > +REGEX_pn-build-appliance-image = "(?P([0-9][\.|_]?)+)$" > REGEX_pn-chkconfig-alternatives-native = "chkconfig\-(?P((\d+[\.\-_]*)+))" > REGEX_URI_pn-chrpath = "http://alioth.debian.org/frs/?group_id=31052" > REGEX_pn-chrpath = "[hH][rR][eE][fF]=\"/frs/download.php/file/\d+/chrpath-(?P((\d+[\.\-_]*)+))\.tar\.gz\"" > @@ -165,13 +167,13 @@ REGEX_pn-minicom = "[hH][rR][eE][fF]=\"/frs/download.php/file/\d+/minicom\-(?P

REGEX_URI_pn-mingetty = "http://sourceforge.net/projects/mingetty/files/mingetty" > REGEX_pn-mingetty = "[hH][rR][eE][fF]=\"/projects/mingetty/files/mingetty/(?P((\d+[\.\-_]*)+))/\"" > REGEX_URI_pn-mpeg2dec = "http://libmpeg2.sourceforge.net/downloads.html" > -REGEX_pn-mpeg2dec = "[hH][rR][eE][fF]=\"/files/mpeg2dec-(?P((\d+[\.\-_]*)+)).tar.gz"" > +REGEX_pn-mpeg2dec = "[hH][rR][eE][fF]=\"/files/mpeg2dec-(?P((\d+[\.\-_]*)+)).tar.gz\"" > REGEX_URI_pn-mpfr = "http://ftp.gnu.org/gnu/mpfr/" > REGEX_pn-mpfr = "[hH][rR][eE][fF]=\"mpfr-(?P((\d+[\.\-_]*)+)).tar.gz"" > REGEX_URI_pn-mpfr-native = "http://ftp.gnu.org/gnu/mpfr/" > -REGEX_pn-mpfr-native = "[hH][rR][eE][fF]=\"mpfr-(?P((\d+[\.\-_]*)+)).tar.gz"" > +REGEX_pn-mpfr-native = "[hH][rR][eE][fF]=\"mpfr-(?P((\d+[\.\-_]*)+)).tar.gz\"" > REGEX_URI_pn-nativesdk-mpfr = "http://ftp.gnu.org/gnu/mpfr/" > -REGEX_pn-nativesdk-mpfr = "[hH][rR][eE][fF]=\"mpfr-(?P((\d+[\.\-_]*)+)).tar.gz"" > +REGEX_pn-nativesdk-mpfr = "[hH][rR][eE][fF]=\"mpfr-(?P((\d+[\.\-_]*)+)).tar.gz\"" > REGEX_URI_pn-nfs-utils = "http://sourceforge.net/projects/nfs/files/nfs-utils/" > REGEX_pn-nfs-utils = "[hH][rR][eE][fF]=\"/projects/nfs/files/nfs-utils/(?P((\d+[\.\-_]*)+))/\"" > REGEX_URI_pn-ocf-linux = "http://sourceforge.net/projects/ocf-linux/files/ocf-linux/" > @@ -244,8 +246,10 @@ REGEX_URI_pn-tzdata = "ftp://ftp.iana.org/tz/releases/" > REGEX_pn-tzdata = "[hH][rR][eE][fF]=\"ftp://ftp.iana.org:21/tz/releases/tzdata(?P((\d+[a-z])+))\.tar\.gz\"" > REGEX_URI_pn-unzip = "http://sourceforge.net/projects/infozip/files/UnZip%206.x%20%28latest%29/UnZip%206.0/" > REGEX_pn-unzip = "[hH][rR][eE][fF]=\"http://sourceforge.net/projects/infozip/files/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip(?P(\d+))\.tar\.gz/download\"" > +PRSPV_pn-unzip = "${@d.getVar('PV',1).replace('.','')}" > REGEX_URI_pn-unzip-native = "http://sourceforge.net/projects/infozip/files/UnZip%206.x%20%28latest%29/UnZip%206.0/" > REGEX_pn-unzip-native = "[hH][rR][eE][fF]=\"http://sourceforge.net/projects/infozip/files/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip(?P(\d+))\.tar\.gz/download\"" > +PRSPV_pn-unzip-native = "${@d.getVar('PV',1).replace('.','')}" > REGEX_URI_pn-v86d = "http://dev.gentoo.org/~spock/projects/uvesafb/archive/" > REGEX_pn-v86d = "[hH][rR][eE][fF]=\"v86d\-(?P((\d+[\.]*)+))\.tar\.bz2\"" > REGEX_URI_pn-watchdog = "http://sourceforge.net/projects/watchdog/files/watchdog/" > @@ -255,16 +259,18 @@ REGEX_pn-wireless-tools = "[hH][rR][eE][fF]=\"wireless_tools\.(?P(\d+))\.t > REGEX_URI_pn-x11vnc = "http://sourceforge.net/projects/libvncserver/files/x11vnc/" > REGEX_pn-x11vnc = "[hH][rR][eE][fF]=\"/projects/libvncserver/files/x11vnc/(?P((\d+[\.\-_]*)+))/\"" > REGEX_pn-xdg-utils = "[hH][rR][eE][fF]=\"xdg\-utils\-(?P((\d+[\.\-_]*)+))\.(tar\.gz|tgz)\"" > -REGEX_pn-xf86-video-omap = "\d+\.(\d\.?)*" > +REGEX_pn-xf86-video-omap = "(?P(\d+\.(\d\.?)*))" > REGEX_URI_pn-zip = "http://sourceforge.net/projects/infozip/files/Zip%203.x%20%28latest%29/3.0/" > REGEX_pn-zip = "[hH][rR][eE][fF]=\"http://sourceforge.net/projects/infozip/files/Zip%203.x%20%28latest%29/3.0/zip(?P(\d+))\.tar\.gz/download\"" > +PRSPV_pn-zip = "${@d.getVar('PV',1).replace('.','')}" > REGEX_URI_pn-zip-native = "http://sourceforge.net/projects/infozip/files/Zip%203.x%20%28latest%29/3.0/" > REGEX_pn-zip-native = "[hH][rR][eE][fF]=\"http://sourceforge.net/projects/infozip/files/Zip%203.x%20%28latest%29/3.0/zip(?P(\d+))\.tar\.gz/download\"" > +PRSPV_pn-zip-native = "${@d.getVar('PV',1).replace('.','')}" > REGEX_URI_pn-msmtp = "http://sourceforge.net/projects/msmtp/files/msmtp/" > REGEX_pn-msmtp = "[hH][rR][eE][fF]=\"/projects/msmtp/files/msmtp/(?P((\d+[\.\-_]*)+))/\"" > REGEX_URI_pn-docbook-dsssl-stylesheets-native = "http://sourceforge.net/projects/docbook/files/docbook-dsssl/" > REGEX_pn-docbook-dsssl-stylesheets-native = "[hH][rR][eE][fF]=\"/projects/docbook/files/docbook-dsssl/(?P((\d+[\.\-_]*)+))/\"" > -REGEX_pn-remake = "(\d+\.(\d+\.)*\d*(\+dbg\-\d+(\.\d+)*)*)" > +REGEX_pn-remake = "(?P(\d+\.(\d+\.)*\d*(\+dbg\-\d+(\.\d+)*)*))" > REGEX_URI_pn-libical = "http://sourceforge.net/projects/libical/files/libical/" > REGEX_pn-libical = "[hH][rR][eE][fF]=\"/projects/libical/files/libical/libical-(?P((\d+[\.\-_]*)+))/\"" > REGEX_URI_pn-telepathy-mission-control = "http://telepathy.freedesktop.org/releases/telepathy-mission-control/" > @@ -316,7 +322,9 @@ REGEX_pn-cmake = "[hH][rR][eE][fF]=\"cmake\-(?P((\d+[\.\-_]*)+))\.tar\.gz\ > REGEX_pn-cmake-native = "[hH][rR][eE][fF]=\"cmake\-(?P((\d+[\.\-_]*)+))\.tar\.gz\"" > REGEX_pn-nativeesdk-cmake = "[hH][rR][eE][fF]=\"cmake\-(?P((\d+[\.\-_]*)+))\.tar\.gz\"" > REGEX_URI_pn-docbook-sgml-dtd-3.1-native = "http://docbook.org/sgml/3.1/" > +PRSPV_pn-docbook-sgml-dtd-3.1-native = "${@d.getVar('PV',1).replace('.','')}" > REGEX_URI_pn-docbook-sgml-dtd-4.1-native = "http://docbook.org/sgml/4.1/" > +PRSPV_pn-docbook-sgml-dtd-4.1-native = "${@d.getVar('PV',1).replace('.','')}" > REGEX_URI_pn-docbook-sgml-dtd-4.5-native = "http://docbook.org/sgml/4.5/" > REGEX_pn-libxml2 = "[hH][rR][eE][fF]=\"ftp://xmlsoft.org:21/libxml2/libxml2\-(?P((\d+[\.\-_]*)+))\.tar\.gz\"" > REGEX_pn-python-setuptools = "[hH][rR][eE][fF]=\"setuptools\-(?P((\d+([a-z]\d+)?[\.\-_]*)+))\.(tar\.gz|\.zip)\"" >