From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JN1NM-0001eI-Li for garchives@archives.gentoo.org; Thu, 07 Feb 2008 07:40:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45034E03CD; Thu, 7 Feb 2008 07:40:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1F122E03CD for ; Thu, 7 Feb 2008 07:40:51 +0000 (UTC) Received: from [192.168.22.10] (ip68-4-152-120.oc.oc.cox.net [68.4.152.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 7DB6465C19 for ; Thu, 7 Feb 2008 07:40:50 +0000 (UTC) Message-ID: <47AAB62B.5090709@gentoo.org> Date: Wed, 06 Feb 2008 23:41:31 -0800 From: Zac Medico User-Agent: Thunderbird 2.0.0.9 (X11/20071031) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] VDB access References: <20080205010546.38414ec3@snowcone> <47A8D35E.4030708@gentoo.org> <20080206171402.18210c34@snowcone> In-Reply-To: <20080206171402.18210c34@snowcone> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 472ad858-d581-4aff-9ec1-870e9842c75d X-Archives-Hash: 42111e6babae10f11b16789815c279e8 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ciaran McCreesh wrote: > On Tue, 05 Feb 2008 13:21:34 -0800 > Zac Medico wrote: >> If the package manager exposes a slightly lower level interface to >> the USE flags then build_with_use can use that instead, and the >> package manager won't have to implement the full build_with_use >> interface. For example, portageq currently supports a "metadata" >> command that can be used to query installed package metadata such as >> USE and IUSE. Perhaps we should use some type of interface similar >> to that. > > That's also a possibility. How about something like: > > if [[ -n "${E_INSTALLED_PKG_METADATA_CMD}" ]] ; then > ${E_INSTALLED_PKG_METADATA_CMD} >=cat/pkg-1.23 USE foo > else > # old vdb stuff > fi > > with heavy (and checked) restrictions upon legal metadata keys (stuff > that's in individual files, not environment.bz2)? > That seems fine except it would be handy if it supports something like the built_with_use -a and -o options since, given your interface, it would be best to implement those on the package manager side. Zac -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFHqrYq/ejvha5XGaMRArngAJ0SlTbooCI+5jjxesdF0MnkU0Ym6ACgsstw 5Mp+QGZPTVPGw2LyY7Cmwpk= =8xmy -----END PGP SIGNATURE----- -- gentoo-dev@lists.gentoo.org mailing list