diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-05-15 03:03:33 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-05-15 03:03:33 +0000 |
commit | 37660d940e71693eb4ab7a64e26e1dabb9344b51 (patch) | |
tree | 97f7789adb884d9ecd98192b18c4c6bef495dca7 /sys-devel/gnuconfig | |
parent | on arm, use user -O flags instead of hard coding -O0, as per bug 340607. Than... (diff) | |
download | gentoo-2-37660d940e71693eb4ab7a64e26e1dabb9344b51.tar.gz gentoo-2-37660d940e71693eb4ab7a64e26e1dabb9344b51.tar.bz2 gentoo-2-37660d940e71693eb4ab7a64e26e1dabb9344b51.zip |
Simplify version extraction from ChangeLog.
(Portage version: 2.2.0_alpha102/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel/gnuconfig')
-rw-r--r-- | sys-devel/gnuconfig/ChangeLog | 7 | ||||
-rw-r--r-- | sys-devel/gnuconfig/gnuconfig-20100924.ebuild | 6 | ||||
-rw-r--r-- | sys-devel/gnuconfig/gnuconfig-20110202.ebuild | 6 | ||||
-rw-r--r-- | sys-devel/gnuconfig/gnuconfig-20110814.ebuild | 4 | ||||
-rw-r--r-- | sys-devel/gnuconfig/gnuconfig-20120116.ebuild | 4 | ||||
-rw-r--r-- | sys-devel/gnuconfig/gnuconfig-99999999.ebuild | 4 |
6 files changed, 18 insertions, 13 deletions
diff --git a/sys-devel/gnuconfig/ChangeLog b/sys-devel/gnuconfig/ChangeLog index 173e9b9749ec..ac46a818f397 100644 --- a/sys-devel/gnuconfig/ChangeLog +++ b/sys-devel/gnuconfig/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/gnuconfig # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/ChangeLog,v 1.63 2012/04/26 12:15:06 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/ChangeLog,v 1.64 2012/05/15 03:03:33 vapier Exp $ + + 15 May 2012; Mike Frysinger <vapier@gentoo.org> gnuconfig-20100924.ebuild, + gnuconfig-20110202.ebuild, gnuconfig-20110814.ebuild, + gnuconfig-20120116.ebuild, gnuconfig-99999999.ebuild: + Simplify version extraction from ChangeLog. 26 Apr 2012; Alexis Ballier <aballier@gentoo.org> gnuconfig-20120116.ebuild, gnuconfig-99999999.ebuild: diff --git a/sys-devel/gnuconfig/gnuconfig-20100924.ebuild b/sys-devel/gnuconfig/gnuconfig-20100924.ebuild index d25c1addb762..ad902011146d 100644 --- a/sys-devel/gnuconfig/gnuconfig-20100924.ebuild +++ b/sys-devel/gnuconfig/gnuconfig-20100924.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/gnuconfig-20100924.ebuild,v 1.3 2011/02/06 11:35:41 leio Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/gnuconfig-20100924.ebuild,v 1.4 2012/05/15 03:03:33 vapier Exp $ inherit eutils if [[ ${PV} == "99999999" ]] ; then @@ -23,7 +23,7 @@ S=${WORKDIR} maint_pkg_create() { cd "${S}" - local ver=$(head -n 1 ChangeLog | awk '{print $1}' | sed -e 's:-::g') + local ver=$(gawk '{ gsub(/-/, "", $1); print $1; exit }' ChangeLog) [[ ${#ver} != 8 ]] && die "invalid version '${ver}'" cp "${FILESDIR}"/${PV}/*.patch . || die diff --git a/sys-devel/gnuconfig/gnuconfig-20110202.ebuild b/sys-devel/gnuconfig/gnuconfig-20110202.ebuild index 13b525abbb0c..bdb2246ce7f9 100644 --- a/sys-devel/gnuconfig/gnuconfig-20110202.ebuild +++ b/sys-devel/gnuconfig/gnuconfig-20110202.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/gnuconfig-20110202.ebuild,v 1.3 2011/08/15 03:25:55 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/gnuconfig-20110202.ebuild,v 1.4 2012/05/15 03:03:33 vapier Exp $ EAPI="2" @@ -25,7 +25,7 @@ S=${WORKDIR} maint_pkg_create() { cd "${S}" - local ver=$(head -n 1 ChangeLog | awk '{print $1}' | sed -e 's:-::g') + local ver=$(gawk '{ gsub(/-/, "", $1); print $1; exit }' ChangeLog) [[ ${#ver} != 8 ]] && die "invalid version '${ver}'" cp "${FILESDIR}"/${PV}/*.patch . || die diff --git a/sys-devel/gnuconfig/gnuconfig-20110814.ebuild b/sys-devel/gnuconfig/gnuconfig-20110814.ebuild index a348f4ac0a4a..20576305b6c1 100644 --- a/sys-devel/gnuconfig/gnuconfig-20110814.ebuild +++ b/sys-devel/gnuconfig/gnuconfig-20110814.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/gnuconfig-20110814.ebuild,v 1.2 2012/03/03 22:23:19 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/gnuconfig-20110814.ebuild,v 1.3 2012/05/15 03:03:33 vapier Exp $ EAPI="2" @@ -25,7 +25,7 @@ S=${WORKDIR} maint_pkg_create() { cd "${S}" - local ver=$(head -n 1 ChangeLog | awk '{print $1}' | sed -e 's:-::g') + local ver=$(gawk '{ gsub(/-/, "", $1); print $1; exit }' ChangeLog) [[ ${#ver} != 8 ]] && die "invalid version '${ver}'" cp "${FILESDIR}"/${PV}/*.patch . || die diff --git a/sys-devel/gnuconfig/gnuconfig-20120116.ebuild b/sys-devel/gnuconfig/gnuconfig-20120116.ebuild index 942d22a71a5f..41769e2b228f 100644 --- a/sys-devel/gnuconfig/gnuconfig-20120116.ebuild +++ b/sys-devel/gnuconfig/gnuconfig-20120116.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/gnuconfig-20120116.ebuild,v 1.3 2012/04/26 12:15:06 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/gnuconfig-20120116.ebuild,v 1.4 2012/05/15 03:03:33 vapier Exp $ EAPI="2" @@ -27,7 +27,7 @@ S=${WORKDIR} maint_pkg_create() { cd "${S}" - local ver=$(head -n 1 ChangeLog | awk '{print $1}' | sed -e 's:-::g') + local ver=$(gawk '{ gsub(/-/, "", $1); print $1; exit }' ChangeLog) [[ ${#ver} != 8 ]] && die "invalid version '${ver}'" cp "${FILESDIR}"/${PV}/*.patch . || die diff --git a/sys-devel/gnuconfig/gnuconfig-99999999.ebuild b/sys-devel/gnuconfig/gnuconfig-99999999.ebuild index c0f587752f16..1e7895078110 100644 --- a/sys-devel/gnuconfig/gnuconfig-99999999.ebuild +++ b/sys-devel/gnuconfig/gnuconfig-99999999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/gnuconfig-99999999.ebuild,v 1.9 2012/04/26 12:15:06 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/gnuconfig-99999999.ebuild,v 1.10 2012/05/15 03:03:33 vapier Exp $ EAPI="2" @@ -27,7 +27,7 @@ S=${WORKDIR} maint_pkg_create() { cd "${S}" - local ver=$(head -n 1 ChangeLog | awk '{print $1}' | sed -e 's:-::g') + local ver=$(gawk '{ gsub(/-/, "", $1); print $1; exit }' ChangeLog) [[ ${#ver} != 8 ]] && die "invalid version '${ver}'" cp "${FILESDIR}"/${PV}/*.patch . || die |