From: Zac Medico <zmedico@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] get unversioned list of installed packages without eix or esearch
Date: Mon, 26 Jun 2006 02:03:39 -0700 [thread overview]
Message-ID: <449FA2EB.5050506@gentoo.org> (raw)
In-Reply-To: <200606260844.28702.bo.andresen@zlin.dk>
[-- Attachment #1: Type: text/plain, Size: 782 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bo Ørsted Andresen wrote:
> But I have found it impossible to make a regular expression that does break
> for at least one of those:
>
> media-fonts/font-adobe-100dpi-1.0.0
> media-fonts/font-adobe-75dpi-1.0.0
> media-fonts/font-adobe-utopia-type1-1.0.1
> media-libs/jpeg-6b-r7
> net-misc/cisco-vpnclient-3des-4.8.00.0490
> sys-apps/portage-2.1.1_pre1-r2
> sys-fs/udev-090
> sys-fs/udev-090-r1
> sys-libs/libstdc++-v3-3.3.6
> sys-libs/timezone-data-2006g
Just pipe the above list through the attached script.
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEn6Lk/ejvha5XGaMRAhGyAJ4rhUGQ3J6KL1DBXNpP0HlMETFugQCcCRSB
ibY4cSDupWfPJjSbhNX2bOE=
=bbr5
-----END PGP SIGNATURE-----
[-- Attachment #2: dep_getkey.py --]
[-- Type: text/x-python, Size: 122 bytes --]
#!/usr/bin/env python
from sys import stdin
from portage import dep_getkey
for pkg in stdin:
print dep_getkey("="+pkg)
prev parent reply other threads:[~2006-06-26 9:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-26 6:44 [gentoo-user] get unversioned list of installed packages without eix or esearch Bo Ørsted Andresen
2006-06-26 8:36 ` Richard Fish
2006-06-26 14:30 ` Alexander Skwar
2006-06-26 8:45 ` Jure Varlec
2006-06-26 9:53 ` Bo Ørsted Andresen
2006-06-26 9:03 ` Zac Medico [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=449FA2EB.5050506@gentoo.org \
--to=zmedico@gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox