Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267250 - ekeyword from app-portage/gentoolkit-dev-0.2.6.9 breaks with multi-line KEYWORD= lines
Summary: ekeyword from app-portage/gentoolkit-dev-0.2.6.9 breaks with multi-line KEYWO...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-04-23 17:24 UTC by Tobias Klausmann (RETIRED)
Modified: 2009-05-08 17:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixed ekeyword (ekeyword,3.53 KB, text/plain)
2009-04-24 16:15 UTC, Paul Varner (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2009-04-23 17:24:32 UTC
$ grep -2 KEYWORD setuptools-0.6_rc9.ebuild 
LICENSE="PSF-2.2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc
~sparc-fbsd ~x86 ~x86-fbsd"
IUSE=""
$ ekeyword alpha setuptools-0.6_rc9.ebuild
setuptools-0.6_rc9.ebuild
$ grep -2 KEYWORD setuptools-0.6_rc9.ebuild 
LICENSE="PSF-2.2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc
~sparc-fbsd ~x86 ~x86-fbsd"
IUSE=""
Comment 1 Paul Varner (RETIRED) gentoo-dev 2009-04-24 16:15:34 UTC
Created attachment 189331 [details]
Fixed ekeyword

Output:
$ grep -2 KEYWORDS setuptools-0.6_rc9.ebuild
LICENSE="PSF-2.2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390
~sh~sparc~sparc-fbsd ~x86 ~x86-fbsd"
IUSE=""

$ ./ekeyword x86 setuptools-0.6_rc9.ebuild
setuptools-0.6_rc9.ebuild
< KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390
< ~sh~sparc~sparc-fbsd ~x86 ~x86-fbsd"
---
> KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390~sh~sparc~sparc-fbsd x86 ~x86-fbsd"

$ grep -2 KEYWORDS setuptools-0.6_rc9.ebuild
LICENSE="PSF-2.2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390~sh~sparc~sparc-fbsd x86 ~x86-fbsd"
IUSE=""
Comment 2 Paul Varner (RETIRED) gentoo-dev 2009-04-24 16:39:49 UTC
The fixed version does have the side effect of changing a multiline KEYWORDS back to a single line KEYWORDS

svn commit -m "Fix ekeyword to handle multiline KEYWORDS" src/ekeyword/ChangeLog src/ekeyword/ekeyword ChangeLog
Sending        ChangeLog
Sending        src/ekeyword/ChangeLog
Sending        src/ekeyword/ekeyword
Transmitting file data ...
Committed revision 549.
Comment 3 Paul Varner (RETIRED) gentoo-dev 2009-04-29 20:53:33 UTC
gentoolkit-0.2.6.10 has been released. I will close after independent verification that the bug is fixed.
Comment 4 Tobias Klausmann (RETIRED) gentoo-dev 2009-05-08 16:00:21 UTC
Works for me.