Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 474108

Summary: app-portage/gentoolkit-dev-0.2.8.3: ekeyword produces leading space if KEYWORDS were empty
Product: Portage Development Reporter: Johannes Huber (RETIRED) <johu>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: normal CC: kensington
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Johannes Huber (RETIRED) gentoo-dev 2013-06-22 08:56:33 UTC
Simple test:
johu@elia ~/tmp $ ekeyword ~amd64 test.ebuild 
test.ebuild
--- test.ebuild 2013-06-22 12:52:34.379523350 +0200
+++ test.ebuild.new     2013-06-22 12:52:46.111522331 +0200
@@ -13 +13 @@
-KEYWORDS=""
+KEYWORDS=" ~amd64"
Comment 1 SpanKY gentoo-dev 2014-01-20 05:41:00 UTC
i've rewritten ekeyword in python from scratch and made sure this is handled

http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commitdiff;h=840bf7e8df3c86e161f7855a37b008b5cf16f2d8
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2014-03-16 10:25:21 UTC
(In reply to SpanKY from comment #1)
> i've rewritten ekeyword in python from scratch and made sure this is handled
> 
> http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commitdiff;
> h=840bf7e8df3c86e161f7855a37b008b5cf16f2d8

When will hit this the tree?