Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508114 - app-portage/gentoolkit: equery meta always displays the license field
Summary: app-portage/gentoolkit: equery meta always displays the license field
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: 346443
  Show dependency tree
 
Reported: 2014-04-19 16:52 UTC by Tobias Heinlein (RETIRED)
Modified: 2014-11-12 18:24 UTC (History)
1 user (show)

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


Attachments
Patch (0001-equery-Don-t-always-print-the-license-field.patch,1.29 KB, patch)
2014-04-19 16:54 UTC, Tobias Heinlein (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Heinlein (RETIRED) gentoo-dev 2014-04-19 16:52:30 UTC
Running equery meta with specific options, e.g. --keywords, also displays the license field:

$ equery meta apache -k
 * www-servers/apache [gentoo]
2.2.24:2: ppc64
2.2.25:2: alpha amd64 arm arm64 hppa ia64 ppc s390 sh sparc x86
2.2.26:2:
2.2.27:2:
2.4.9:2: ~alpha ~amd64 ~amd64-fbsd ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd
License:     Apache-2.0 Apache-1.1
$

The attached patch makes it print the license field only when no options are given, or if printing the license is explicitly requested.
Comment 1 Tobias Heinlein (RETIRED) gentoo-dev 2014-04-19 16:54:50 UTC
Created attachment 375306 [details, diff]
Patch
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2014-04-19 17:02:55 UTC
The patch looks good. Please commit it to the gentoolkit branch.
Comment 3 Tobias Heinlein (RETIRED) gentoo-dev 2014-04-19 18:28:02 UTC
Done, thanks.
Comment 5 Paul Varner (RETIRED) gentoo-dev 2014-11-12 18:24:10 UTC
This is released in gentoolkit-0.3.0.9-r2