From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FunA3-0004g6-OH for garchives@archives.gentoo.org; Mon, 26 Jun 2006 09:13:40 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k5Q9AhmT011700; Mon, 26 Jun 2006 09:10:43 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k5Q93U9a011257 for ; Mon, 26 Jun 2006 09:03:30 GMT Received: from [192.168.24.6] (ip68-5-234-231.oc.oc.cox.net [68.5.234.231]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id BA19564A68 for ; Mon, 26 Jun 2006 09:03:29 +0000 (UTC) Message-ID: <449FA2EB.5050506@gentoo.org> Date: Mon, 26 Jun 2006 02:03:39 -0700 From: Zac Medico User-Agent: Thunderbird 1.5.0.4 (X11/20060603) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] get unversioned list of installed packages without eix or esearch References: <200606260844.28702.bo.andresen@zlin.dk> In-Reply-To: <200606260844.28702.bo.andresen@zlin.dk> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/mixed; boundary="------------030603040601030206030904" X-Archives-Salt: 5b9d2f67-83b3-4412-b7f0-80abb4aebda3 X-Archives-Hash: 66d93ff49d70fd59db210c1fce878d7c This is a multi-part message in MIME format. --------------030603040601030206030904 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k5Q9Ahmk011700 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bo =C3=98rsted Andresen wrote: > But I have found it impossible to make a regular expression that does b= reak=20 > for at least one of those: >=20 > 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=3D =3Dbbr5 -----END PGP SIGNATURE----- --------------030603040601030206030904 Content-Type: text/x-python; name="dep_getkey.py" Content-Disposition: inline; filename="dep_getkey.py" Content-Transfer-Encoding: 7bit #!/usr/bin/env python from sys import stdin from portage import dep_getkey for pkg in stdin: print dep_getkey("="+pkg) --------------030603040601030206030904-- -- gentoo-user@gentoo.org mailing list