Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413133 - app-portage/gentoolkit-dev: ekeyword breaks keywords
Summary: app-portage/gentoolkit-dev: ekeyword breaks keywords
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 411301
  Show dependency tree
 
Reported: 2012-04-22 18:07 UTC by Raúl Porcel (RETIRED)
Modified: 2013-05-10 20:37 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raúl Porcel (RETIRED) gentoo-dev 2012-04-22 18:07:34 UTC
I want to drop a lot of keywords from ruby ebuilds. There are some cases where some ebuilds of a package are keyworded, and others aren't.

For example: dev-ruby/actionmailer. The actionmailer-3.0.12.ebuild has sparc keywords, but actionmailer-3.1.4-r1.ebuild doesn't.

So i do:

cd dev-ruby/actionmailer
ekeyword ^sparc *.ebuild

It drops correctly the keywords from the 3.0.12 ebuild, but in the 3.1.4-r1 ebuild there are ~sparc-solaris keywords, and it does this:
--- actionmailer-3.1.4-r1.ebuild	2012-04-22 18:05:17.000000000 +0000
+++ actionmailer-3.1.4-r1.ebuild.new	2012-04-22 18:05:18.000000000 +0000
@@ -21 +21 @@
-KEYWORDS="~amd64 ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~amd64 ~ppc64 -solaris ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc64-solaris ~x64-solaris ~x86-solaris"

For some reason it removes sparc from ~sparc-solaris
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2012-04-23 03:16:40 UTC
Should be fixed in git. Thanks! :)
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2012-06-03 16:54:44 UTC
(In reply to comment #1)
> Should be fixed in git. Thanks! :)

Tested, works fine
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2013-05-10 20:37:56 UTC
This should be fixed in app-portage/gentoolkit-dev-0.2.8.2. Please test.