Re: [gentoo-user] query ebuild fields

2019-06-21 Thread Bill Kenworthy
and
rattus ~ # esearch x11-terms/rxvt-unicode
[ Results for search key : x11-terms/rxvt-unicode ]
[ Applications found : 1 ]

*  x11-terms/rxvt-unicode
  Latest version available: 9.21
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 903 kB
  Homepage:    http://software.schmorp.de/pkg/rxvt-unicode.html
  Description: rxvt clone with xft and unicode support
  License: GPL-3
 
rattus ~ #

its less a search than a database lookup like the locate command so its
very fast

rattus ~ # esearch app-portage/esearch
[ Results for search key : app-portage/esearch ]
[ Applications found : 1 ]

*  app-portage/esearch
  Latest version available: 1.3-r2
  Latest version installed: 1.3-r2
  Size of downloaded files: 18 kB
  Homepage:    https://github.com/fuzzyray/esearch
  Description: Replacement for 'emerge --search' with search-index
  License: GPL-2
 
rattus ~ #



On 22/6/19 1:42 am, Mick wrote:
> On Friday, 21 June 2019 18:27:58 BST Ian Zimmerman wrote:
>> Is there a command to show the fields like DESCRIPTION and HOMEPAGE from
>> an installed ebuild, or is this one of the annoying gaps in the
>> framework that must be (and can be) trivially worked around?
>>
>> Example: I have installed x11-terms/rxvt-unicode.  I don't know what it
>> is (no, really! :-P ) and I sure as h*ll don't know the exact version
>> number I have.  I want to visit the upstream website to learn more.
>>
>> I know the following command will mostly do it, but it will
>> occassionally show too much and scroll the relevant result off the
>> screen.  Also, being a search, it is much slower than necessary.
>>
>> emerge --search --quiet n x11-terms/rxvt-unicode
> I use 'eix -l ' to get this sort of information.  I'm sure there are 
> cleverer options to use with eix, so it only prints the database fields you 
> want, but the above has served most of my needs well.  Install app-portage/
> eix, then run eix-update and from then on you can use eix-sync to sync 
> portage 
> and/or overlays with a mirror and search for the package you want.
>
> rxvt-unicode is a terminal emulator, like xterm, konsole, terminology, xfce4-
> terminal , etc. which you use within your xsession, instead of having to 
> switch over to a tty.
>
> There's even a page about it - I can't recall having read before, but it 
> looks 
> quite detailed:
>
> https://wiki.gentoo.org/wiki/Rxvt-unicode
> https://wiki.gentoo.org/wiki/Terminal_emulator
>
> HTH





Re: [gentoo-user] query ebuild fields

2019-06-21 Thread throwd

* Ian Zimmerman  [2019-06-21 10:27:58 -0700]:


Is there a command to show the fields like DESCRIPTION and HOMEPAGE from
an installed ebuild, or is this one of the annoying gaps in the
framework that must be (and can be) trivially worked around?


You could use portageq

portageq metadata /usr/portage/ ebuild $(qlist -Iv rxvt-unicode) DESCRIPTION 
HOMEPAGE




Re: [gentoo-user] query ebuild fields

2019-06-21 Thread Urs Schütz

On 6/21/19 7:27 PM, Ian Zimmerman wrote:

Is there a command to show the fields like DESCRIPTION and HOMEPAGE from
an installed ebuild, or is this one of the annoying gaps in the
framework that must be (and can be) trivially worked around?

...

Eix is faster for such things. You can format the output as you need it. 
Does the following do what you want?


eix -I --format '\n\n\n\n' rxvt-unicode

urs



Re: [gentoo-user] query ebuild fields

2019-06-21 Thread Mick
On Friday, 21 June 2019 18:27:58 BST Ian Zimmerman wrote:
> Is there a command to show the fields like DESCRIPTION and HOMEPAGE from
> an installed ebuild, or is this one of the annoying gaps in the
> framework that must be (and can be) trivially worked around?
> 
> Example: I have installed x11-terms/rxvt-unicode.  I don't know what it
> is (no, really! :-P ) and I sure as h*ll don't know the exact version
> number I have.  I want to visit the upstream website to learn more.
> 
> I know the following command will mostly do it, but it will
> occassionally show too much and scroll the relevant result off the
> screen.  Also, being a search, it is much slower than necessary.
> 
> emerge --search --quiet n x11-terms/rxvt-unicode

I use 'eix -l ' to get this sort of information.  I'm sure there are 
cleverer options to use with eix, so it only prints the database fields you 
want, but the above has served most of my needs well.  Install app-portage/
eix, then run eix-update and from then on you can use eix-sync to sync portage 
and/or overlays with a mirror and search for the package you want.

rxvt-unicode is a terminal emulator, like xterm, konsole, terminology, xfce4-
terminal , etc. which you use within your xsession, instead of having to 
switch over to a tty.

There's even a page about it - I can't recall having read before, but it looks 
quite detailed:

https://wiki.gentoo.org/wiki/Rxvt-unicode
https://wiki.gentoo.org/wiki/Terminal_emulator

HTH
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] query ebuild fields

2019-06-21 Thread Grant Taylor

On 6/21/19 11:27 AM, Ian Zimmerman wrote:
Is there a command to show the fields like DESCRIPTION and HOMEPAGE 
from an installed ebuild, or is this one of the annoying gaps in the 
framework that must be (and can be) trivially worked around?


Does equery meta not show what you want?

% equery meta x11-terms/rxvt-unicode
 * x11-terms/rxvt-unicode [gentoo]
Maintainer:  j...@gentoo.org (Jeroen Roovers)
Upstream:Remote-ID:   cpe:/a:rxvt-unicode:rxvt-unicode ID: cpe
Homepage:http://software.schmorp.de/pkg/rxvt-unicode.html
Location:/usr/portage/x11-terms/rxvt-unicode
Keywords:9.22-r1:0: alpha amd64 arm hppa ia64 ppc ppc64 sparc x86
Keywords:9.22-r3:0: ~alpha ~amd64 ~amd64-linux ~arm ~arm64 ~hppa 
~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~sparc-solaris

~x64-macos ~x86 ~x86-fbsd ~x86-linux ~x86-macos
Keywords::0:
License: GPL-3

There's always something like this too.  ;-)

% egrep "(DESCRIPTION|HOMEPATE)" 
/usr/portage/x11-terms/rxvt-unicode/*.ebuild
/usr/portage/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r1.ebuild:DESCRIPTION="rxvt 
clone with xft and unicode support"
/usr/portage/x11-terms/rxvt-unicode/rxvt-unicode-9.22-r3.ebuild:DESCRIPTION="rxvt 
clone with xft and unicode support"
/usr/portage/x11-terms/rxvt-unicode/rxvt-unicode-.ebuild:DESCRIPTION="rxvt 
clone with xft and unicode support"




x



[gentoo-user] query ebuild fields

2019-06-21 Thread Ian Zimmerman
Is there a command to show the fields like DESCRIPTION and HOMEPAGE from
an installed ebuild, or is this one of the annoying gaps in the
framework that must be (and can be) trivially worked around?

Example: I have installed x11-terms/rxvt-unicode.  I don't know what it
is (no, really! :-P ) and I sure as h*ll don't know the exact version
number I have.  I want to visit the upstream website to learn more.

I know the following command will mostly do it, but it will
occassionally show too much and scroll the relevant result off the
screen.  Also, being a search, it is much slower than necessary.

emerge --search --quiet n x11-terms/rxvt-unicode

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.