Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 375306 Details for
Bug 508114
app-portage/gentoolkit: equery meta always displays the license field
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
0001-equery-Don-t-always-print-the-license-field.patch (text/plain), 1.29 KB, created by
Tobias Heinlein (RETIRED)
on 2014-04-19 16:54:50 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Tobias Heinlein (RETIRED)
Created:
2014-04-19 16:54:50 UTC
Size:
1.29 KB
patch
obsolete
>From 296f41a4ac4ba05f6812e09d4b91c70535a9ce86 Mon Sep 17 00:00:00 2001 >From: Tobias Heinlein <keytoaster@gentoo.org> >Date: Sat, 19 Apr 2014 18:39:03 +0200 >Subject: [PATCH] equery: Don't always print the license field. > >Signed-off-by: Tobias Heinlein <keytoaster@gentoo.org> >--- > pym/gentoolkit/equery/meta.py | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-) > >diff --git a/pym/gentoolkit/equery/meta.py b/pym/gentoolkit/equery/meta.py >index e2d2124..d3342cd 100644 >--- a/pym/gentoolkit/equery/meta.py >+++ b/pym/gentoolkit/equery/meta.py >@@ -373,12 +373,13 @@ def call_format_functions(best_match, matches): > useflags = format_useflags(best_match.metadata.use()) > print_sequence(format_list(useflags)) > >- _license = best_match.environment(["LICENSE"]) >- if QUERY_OPTS["license"]: >- _license = format_list(_license) >- else: >- _license = format_list(_license, "License: ", " " * 13) >- print_sequence(_license) >+ if QUERY_OPTS["license"] or not got_opts: >+ _license = best_match.environment(["LICENSE"]) >+ if QUERY_OPTS["license"]: >+ _license = format_list(_license) >+ else: >+ _license = format_list(_license, "License: ", " " * 13) >+ print_sequence(_license) > > if QUERY_OPTS["stablereq"]: > # Get {<Package 'dev-libs/glib-2.20.5'>: [u'ia64', u'm68k', ...], ...} >-- >1.8.5.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 508114
: 375306